Title: [1314] trunk/qdox/src/test/java/com/thoughtworks/qdox/JavaProjectBuilderTest.java: After an upgrade of Codehaus' Bamboo 2 tests fail.
Revision
1314
Author
rfscholte
Date
2011-09-10 07:03:01 -0500 (Sat, 10 Sep 2011)

Log Message

After an upgrade of Codehaus' Bamboo 2 tests fail. It seems to have to do with the file order.
Java API tells us the following:
There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order. 

Modified Paths

Diff

Modified: trunk/qdox/src/test/java/com/thoughtworks/qdox/JavaProjectBuilderTest.java (1313 => 1314)

--- trunk/qdox/src/test/java/com/thoughtworks/qdox/JavaProjectBuilderTest.java	2011-09-09 20:43:37 UTC (rev 1313)
+++ trunk/qdox/src/test/java/com/thoughtworks/qdox/JavaProjectBuilderTest.java	2011-09-10 12:03:01 UTC (rev 1314)
@@ -44,10 +44,10 @@
     protected void setUp() throws Exception {
         super.setUp();
         builder = new JavaProjectBuilder();
+        createFile("target/test-source/com/blah/Another.java", "com.blah", "Another");
+        createFile("target/test-source/com/blah/Ignore.notjava", "com.blah", "Ignore");
         createFile("target/test-source/com/blah/Thing.java", "com.blah", "Thing");
-        createFile("target/test-source/com/blah/Another.java", "com.blah", "Another");
         createFile("target/test-source/com/blah/subpackage/Cheese.java", "com.blah.subpackage", "Cheese");
-        createFile("target/test-source/com/blah/Ignore.notjava", "com.blah", "Ignore");
     }
 
     protected void tearDown() throws Exception {


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to