svn commit: r1839308 - /db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java

classic Classic list List threaded Threaded
1 message Options
tv
Reply | Threaded
Open this post in threaded view
|

svn commit: r1839308 - /db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/configuration/PackageResourcesTest.java

tv
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: [hidden email]
For additional commands, e-mail: [hidden email]