mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
minor tweak to test cases to prevent warnings during the test case execution
Former-commit-id: 26e14d162629b3de225193718396fa87bb932d95
This commit is contained in:
@@ -86,6 +86,7 @@ public class DependencyTest {
|
||||
public void testSetActualFilePath() {
|
||||
String actualFilePath = "file.tar";
|
||||
Dependency instance = new Dependency();
|
||||
instance.setSha1sum("non-null value");
|
||||
instance.setActualFilePath(actualFilePath);
|
||||
assertEquals(actualFilePath, instance.getActualFilePath());
|
||||
}
|
||||
@@ -97,6 +98,7 @@ public class DependencyTest {
|
||||
public void testGetActualFilePath() {
|
||||
Dependency instance = new Dependency();
|
||||
String expResult = "file.tar";
|
||||
instance.setSha1sum("non-null value");
|
||||
instance.setActualFilePath(expResult);
|
||||
String result = instance.getActualFilePath();
|
||||
assertEquals(expResult, result);
|
||||
|
||||
Reference in New Issue
Block a user