Skip to content

Commit

Permalink
TestCase fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterHolz committed Oct 23, 2023
1 parent dd02346 commit 39d52b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
// Module Exports
exports com.pi4j.catalog;
exports com.pi4j.catalog.components;
exports com.pi4j.catalog.components.base;
exports com.pi4j.catalog.components.helpers;

// Pi4J MODULES
Expand All @@ -46,5 +47,4 @@

// allow access to classes in the following namespaces for Pi4J annotation processing
opens com.pi4j.catalog to info.picocli, com.pi4j;
exports com.pi4j.catalog.components.base;
}
3 changes: 2 additions & 1 deletion src/test/java/com/pi4j/catalog/components/JoystickTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ public void testButtonPush() {
assertFalse(joystick.isPushed());
}

@Test void testJoystickWithButton(){
@Test
public void testJoystickWithButton(){
//given
joystick = new Joystick(pi4j, PIN.D5, PIN.D6, PIN.D17, PIN.D16, PIN.D11);

Expand Down

0 comments on commit 39d52b1

Please sign in to comment.