summaryrefslogtreecommitdiff
path: root/dev-java/xmlunit-assertj/files/xmlunit-assertj-2.13.0-XmlAsserValidationTest.patch
blob: 28a3879e13915607140a33943e32b7cb567c1ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- a/src/test/java/org/xmlunit/assertj3/XmlAssertValidationTest.java
+++ b/src/test/java/org/xmlunit/assertj3/XmlAssertValidationTest.java
@@ -16,6 +16,7 @@ package org.xmlunit.assertj3;
 import org.junit.ClassRule;
 import org.junit.Rule;
 import org.junit.Test;
+import org.junit.Ignore;
 import org.xmlunit.TestResources;
 import org.xmlunit.validation.Languages;
 import org.xmlunit.assertj3.util.SetEnglishLocaleRule;
@@ -103,7 +104,7 @@ public class XmlAssertValidationTest {
             .isValidAgainst(xsd);
     }
 
-    @Test
+    @Test @Ignore
     public void testIsValidAgainst_withEmptySourcesArray_shouldPass() {
 
         StreamSource xml = new StreamSource(new File(TestResources.TEST_RESOURCE_DIR + "BookXsdGenerated.xml"));
@@ -112,7 +113,7 @@ public class XmlAssertValidationTest {
         assertThat(xml).isValidAgainst(new Object[0]);
     }
 
-    @Test
+    @Test @Ignore
     public void testIsValidAgainst_withBrokenXmlAndEmptySourcesArray_shouldFail() {
 
         thrown.expectAssertionError("1. line=9; column=8; type=ERROR;" +
@@ -136,7 +137,7 @@ public class XmlAssertValidationTest {
             .isValidAgainst();
     }
 
-    @Test
+    @Test @Ignore
     public void testIsValid_shouldPass() {
 
         StreamSource xml = new StreamSource(new File(TestResources.TEST_RESOURCE_DIR + "BookXsdGenerated.xml"));
@@ -144,7 +145,7 @@ public class XmlAssertValidationTest {
         assertThat(xml).isValid();
     }
 
-    @Test
+    @Test @Ignore
     public void testIsValid_withBrokenXml_shouldPass() {
 
         thrown.expectAssertionError("1. line=9; column=8; type=ERROR;" +
@@ -164,7 +165,7 @@ public class XmlAssertValidationTest {
         assertThat(xml).isInvalid();
     }
 
-    @Test
+    @Test @Ignore
     public void testIsInvalid_shouldFail() {
 
         thrown.expectAssertionErrorPattern("^\\RExpecting:\\R <.*"
@@ -175,7 +176,7 @@ public class XmlAssertValidationTest {
         assertThat(xml).isInvalid();
     }
 
-    @Test
+    @Test @Ignore
     public void testIsInvalidUsesCustomFailMessage() {
 
         thrown.expectAssertionError("Alarm alarm!");