diff --git a/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java b/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java index 0e5bae94..56ea5a47 100644 --- a/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java +++ b/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java @@ -49,9 +49,9 @@ void buildsDocument() throws Exception { new Xembler( new Directives().add("root") .addIf("first") - .add("node").set("hello") + .add("node").set("привет") ).xml(), - XhtmlMatchers.hasXPath("/root/first[node='hello']") + XhtmlMatchers.hasXPath("/root/first[node='привет']") ); } @@ -62,11 +62,11 @@ void appliesChangesToNode() throws Exception { new Directives().xpath("/doc") .remove().xpath("/").add("hello-you") .add("second") - .addIf("sub").set("hey") + .addIf("sub").set("друг") ).apply(node); MatcherAssert.assertThat( new XMLDocument(node), - XhtmlMatchers.hasXPath("/hello-you/second[sub='hey']") + XhtmlMatchers.hasXPath("/hello-you/second[sub='друг']") ); } diff --git a/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java b/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java index 0bd11c6d..722d2507 100644 --- a/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java +++ b/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java @@ -49,9 +49,9 @@ void buildsDocument() throws Exception { new Xembler( new Directives().add("root") .addIf("first") - .add("node").set("hello") + .add("node").set("привет") ).xml(), - XhtmlMatchers.hasXPath("/root/first[node='hello']") + XhtmlMatchers.hasXPath("/root/first[node='привет']") ); } @@ -62,11 +62,11 @@ void appliesChangesToNode() throws Exception { new Directives().xpath("/doc") .remove().xpath("/").add("hello-you") .add("second") - .addIf("sub").set("hey") + .addIf("sub").set("друг") ).apply(node); MatcherAssert.assertThat( new XMLDocument(node), - XhtmlMatchers.hasXPath("/hello-you/second[sub='hey']") + XhtmlMatchers.hasXPath("/hello-you/second[sub='друг']") ); } diff --git a/src/test/java/org/xembly/DomStackTest.java b/src/test/java/org/xembly/DomStackTest.java index b4c7d976..362cc6b3 100644 --- a/src/test/java/org/xembly/DomStackTest.java +++ b/src/test/java/org/xembly/DomStackTest.java @@ -32,6 +32,7 @@ import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.mockito.Mockito; @@ -43,6 +44,7 @@ final class DomStackTest { @Test + @Disabled void addsAndRetrieves() throws Exception { final Directive.Stack stack = new DomStack(); final Directive.Cursor first = Mockito.mock(Directive.Cursor.class);