mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 18:11:47 +01:00
updated the scanned test dependencies
Former-commit-id: 52362cbfdc1e97a1f3f726088033be93444abf74
This commit is contained in:
@@ -139,7 +139,7 @@ public class ArchiveAnalyzerTest {
|
|||||||
try {
|
try {
|
||||||
instance.initialize();
|
instance.initialize();
|
||||||
|
|
||||||
File file = new File(this.getClass().getClassLoader().getResource("opensso.war").getPath());
|
File file = new File(this.getClass().getClassLoader().getResource("daytrader-ear-2.1.7.ear").getPath());
|
||||||
Dependency dependency = new Dependency(file);
|
Dependency dependency = new Dependency(file);
|
||||||
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
||||||
Engine engine = new Engine();
|
Engine engine = new Engine();
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ public class JarAnalyzerTest {
|
|||||||
JarAnalyzer instance = new JarAnalyzer();
|
JarAnalyzer instance = new JarAnalyzer();
|
||||||
Set expResult = new HashSet();
|
Set expResult = new HashSet();
|
||||||
expResult.add("jar");
|
expResult.add("jar");
|
||||||
|
expResult.add("war");
|
||||||
Set result = instance.getSupportedExtensions();
|
Set result = instance.getSupportedExtensions();
|
||||||
assertEquals(expResult, result);
|
assertEquals(expResult, result);
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user