-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update JUnit version and dependencies
Migrated tests from JUnit 4 to JUnit 5 and updated test dependencies in build.gradle. Removed deprecated imports and updated test assertions to use JUnit Jupiter API and AssertJ. Also, updated Gradle wrapper to version 8.10.2 for improved compatibility.
- Loading branch information
Showing
11 changed files
with
97 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
src/test/java/com/bloxbean/intelliada/idea/core/util/CLIProviderUtilTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
src/test/java/com/bloxbean/intelliada/idea/core/util/NodeTypeTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
package com.bloxbean.intelliada.idea.core.util; | ||
|
||
import org.junit.Test; | ||
|
||
import static org.junit.Assert.*; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class NodeTypeTest { | ||
|
||
@Test | ||
public void valueOf() { | ||
NodeType nodeType = NodeType.lookupByName(NodeType.CARDANO_WALLET.name()); | ||
assertNotNull(nodeType); | ||
|
||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/test/java/com/bloxbean/intelliada/idea/nodeint/NetworkInfoTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...java/com/bloxbean/intelliada/idea/nodeint/service/impl/yaciprovider/DummyLogListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.bloxbean.intelliada.idea.nodeint.service.impl.yaciprovider; | ||
|
||
import com.bloxbean.intelliada.idea.nodeint.service.api.LogListener; | ||
|
||
public class DummyLogListener implements LogListener { | ||
|
||
public DummyLogListener() { | ||
|
||
} | ||
|
||
@Override | ||
public void info(String msg) { | ||
|
||
} | ||
|
||
@Override | ||
public void error(String msg) { | ||
|
||
} | ||
|
||
@Override | ||
public void warn(String msg) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/test/java/com/bloxbean/intelliada/idea/util/JsonUtilTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters