Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Design Rule Check: no multiple drivers #130

Merged
merged 6 commits into from
Jul 25, 2014
Merged

Simple Design Rule Check: no multiple drivers #130

merged 6 commits into from
Jul 25, 2014

Conversation

mtrberzi
Copy link
Member

Addresses but does not completely deal with #119.

@mtrberzi
Copy link
Member Author

Not sure why the build has failed here -- something about Travis not being able to find a library. I'll check on this locally; if the Guava library version is no longer available, I'll commit a version bump.

@mtrberzi
Copy link
Member Author

While I try to figure out this bug, can someone please checkout this branch, run the test cases, and tell me which, if any, fail? I am getting inconsistent results on test runs between two of my machines.

@mtrberzi mtrberzi added this to the Final Demo milestone Jul 23, 2014
@mtrberzi
Copy link
Member Author

I have fixed the test bug -- let's see if Travis will work this time.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.81%) when pulling 1f3e651 on mtrberzi:issue119-simple-drc into babea4b on manifold-lang:master.

@mtrberzi mtrberzi removed the blocked label Jul 24, 2014
import org.manifold.compiler.PortValue;


public class DRC_NoMultipleDrivers extends DesignRuleCheck {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Classes should not have underscores in their name. I'm surprised that this passed checkstyle.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead, you might create a new namespace under back.digital or adopt a naming convention like

  • DesignRuleCheck -> Check
  • DRC_NoMultipleDrivers -> NoMultipleDriversCheck

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that was a warning from checkstyle. Okay, I'll refactor that to Check and FooCheck.

@lucaswoj
Copy link
Contributor

Looks great! Just some minor semantic issues that should be easy to address! 🐟

(the Schematic is always the place to go for those)
@coveralls
Copy link

Coverage Status

Coverage increased (+0.98%) when pulling 850a50a on mtrberzi:issue119-simple-drc into babea4b on manifold-lang:master.

mtrberzi added a commit that referenced this pull request Jul 25, 2014
Design Rule Check: no multiple drivers
@mtrberzi mtrberzi merged commit f75195e into manifold-lang:master Jul 25, 2014
@mtrberzi mtrberzi deleted the issue119-simple-drc branch July 25, 2014 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants