incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svanteschub...@apache.org
Subject svn commit: r1727634 [10/10] - in /incubator/odf/trunk: generator/schema2template/ generator/schema2template/src/main/java/schema2template/example/odf/ generator/schema2template/src/main/resources/examples/odf/odf-schemas/ odfdom/ odfdom/src/main/java/...
Date Fri, 29 Jan 2016 20:16:06 GMT
Modified: incubator/odf/trunk/validator/src/test/java/org/odftoolkit/odfvalidator/InvalidPackageTest.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/validator/src/test/java/org/odftoolkit/odfvalidator/InvalidPackageTest.java?rev=1727634&r1=1727633&r2=1727634&view=diff
==============================================================================
--- incubator/odf/trunk/validator/src/test/java/org/odftoolkit/odfvalidator/InvalidPackageTest.java
(original)
+++ incubator/odf/trunk/validator/src/test/java/org/odftoolkit/odfvalidator/InvalidPackageTest.java
Fri Jan 29 20:16:06 2016
@@ -106,8 +106,8 @@ public class InvalidPackageTest extends
 			t.printStackTrace();
 			Assert.fail(t.toString());
 		}
-		Assert.assertTrue(output.contains("Error: The ODF package 'testInvalidPkg3.odt' shall contain
the 'META-INF/manifest.xml' file"));
-		Assert.assertTrue(output.contains("testInvalidPkg3.odt:  Info: 2 errors, no warnings"));
+		Assert.assertTrue("Output of validatePackage3(): " + output, output.contains("Error: The
ODF package 'testInvalidPkg3.odt' shall contain the 'META-INF/manifest.xml' file"));
+		Assert.assertTrue("Output of validatePackage3(): " + output, output.contains("testInvalidPkg3.odt:
 Info: 3 errors, no warnings"));
 	}
 
 	@Test



Mime
View raw message