updated the scanned test dependencies

Former-commit-id: 52362cbfdc1e97a1f3f726088033be93444abf74
This commit is contained in:
Jeremy Long
2013-08-16 12:48:54 -04:00
parent 5eebea7b7b
commit d14bcf4541
3 changed files with 2 additions and 1 deletions

View File

@@ -139,7 +139,7 @@ public class ArchiveAnalyzerTest {
try {
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);
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
Engine engine = new Engine();

View File

@@ -118,6 +118,7 @@ public class JarAnalyzerTest {
JarAnalyzer instance = new JarAnalyzer();
Set expResult = new HashSet();
expResult.add("jar");
expResult.add("war");
Set result = instance.getSupportedExtensions();
assertEquals(expResult, result);
}