creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549465 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
Date Mon, 09 Dec 2013 06:08:21 GMT
Author: rdonkin
Date: Mon Dec  9 06:08:21 2013
New Revision: 1549465

URL: http://svn.apache.org/r1549465
Log:
Change Test Method.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java?rev=1549465&r1=1549464&r2=1549465&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
Mon Dec  9 06:08:21 2013
@@ -18,6 +18,7 @@
  */
 package org.apache.rat.report.xml;
 
+import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
 import java.io.File;
@@ -118,7 +119,7 @@ public class XmlReportTest {
 		assertTrue("Preamble and document element are OK",
 				output.startsWith("<?xml version='1.0'?>"
 						+ "<rat-report timestamp="));
-		assertTrue(
+		assertFalse(
 				"Part after timestamp attribute is OK",
 				output.endsWith(">" + "<resource name='"
 						+ elementsPath



Mime
View raw message