Author: tv
Date: Mon Aug 27 12:43:59 2018
New Revision: 1839308
URL: http://svn.apache.org/viewvc?rev=1839308&view=rev
Log:
Try to fix Jenkins test failure
Modified:
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java
Modified:
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java?rev=1839308&r1=1839307&r2=1839308&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java
(original)
+++
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java
Mon Aug 27 12:43:59 2018
@@ -53,20 +53,20 @@ public class PackageResourcesTest
this.getClass().getClassLoader());
List<JarFile> jarFiles = packageResources.getJarFiles();
boolean foundCommonsBeanutils = false;
- boolean foundCommonsCollections = false;
+ boolean foundCommonsLang = false;
for (JarFile jarFile : jarFiles)
{
String name = jarFile.getName();
- if (name.contains("commons-collections"))
+ if (name.contains("commons-lang"))
{
- foundCommonsCollections = true;
+ foundCommonsLang = true;
}
if (name.contains("commons-beanutils"))
{
foundCommonsBeanutils = true;
}
}
- assertTrue(foundCommonsCollections);
+ assertTrue(foundCommonsLang);
assertTrue(foundCommonsBeanutils);
List<File> directories = packageResources.getDirectories();
@@ -105,20 +105,20 @@ public class PackageResourcesTest
this.getClass().getClassLoader());
List<JarFile> jarFiles = packageResources.getJarFiles();
boolean foundCommonsBeanutils = false;
- boolean foundCommonsCollections = false;
+ boolean foundCommonsLang = false;
for (JarFile jarFile : jarFiles)
{
String name = jarFile.getName();
- if (name.contains("commons-collections"))
+ if (name.contains("commons-lang"))
{
- foundCommonsCollections = true;
+ foundCommonsLang = true;
}
if (name.contains("commons-beanutils"))
{
foundCommonsBeanutils = true;
}
}
- assertTrue(foundCommonsCollections);
+ assertTrue(foundCommonsLang);
assertTrue(foundCommonsBeanutils);
List<File> directories = packageResources.getDirectories();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]