maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1518349 - /maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
Date Wed, 28 Aug 2013 20:08:33 GMT
Author: krosenvold
Date: Wed Aug 28 20:08:32 2013
New Revision: 1518349

URL: http://svn.apache.org/r1518349
Log:
Fixed unit test that was being overly detailed (failed on openjdk7)

Modified:
    maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java

Modified: maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java?rev=1518349&r1=1518348&r2=1518349&view=diff
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
(original)
+++ maven/plugins/trunk/maven-doap-plugin/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
Wed Aug 28 20:08:32 2013
@@ -124,11 +124,11 @@ public class DoapMojoTest
 
         // Developers and Organizations
         assertTrue( readed.contains( "<maintainer>" ) );
-        assertTrue( readed.contains( "<foaf:Person rdf:nodeID=\"b1\">" ) );
+        assertTrue( readed.contains( "<foaf:Person rdf:nodeID=\"b" ) );
         assertTrue( readed.contains( "<foaf:name>Jane Doe</foaf:name>" ) );
         assertTrue( readed.contains( "<foaf:Organization>" ) );
         assertTrue( readed.contains( "<foaf:homepage rdf:resource=\"http://www.example.org\"/>"
) );
-        assertTrue( readed.contains( "<foaf:member rdf:nodeID=\"b1\"/>" ) );
+        assertTrue( readed.contains( "<foaf:member rdf:nodeID=\"b" ) );
     }
 
     /**



Mime
View raw message