You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2013/12/09 07:08:21 UTC
svn commit: r1549465 -
/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportTest.java
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