We can now validate partially validate encrypted files
@@ -157,7 +157,7 @@ public class InvalidPackageTest extends OdfValidatorTestBase {
t.printStackTrace(new PrintWriter(errors));
Assert.fail(t.toString() + "\n" + errors.toString());
}
- Assert.assertTrue(
+ Assert.assertFalse(
output.contains(
"The document is encrypted. Validation of encrypted documents is not supported."));
java.util.logging.Logger.getLogger(getClass().getName())
