Skip to content

Commit b06a15a

Browse files
Renamed Test Namespace (#68)
Removing implications of this only being a unit testing framework as it will include integration and unit testing components.
1 parent 2c768f1 commit b06a15a

File tree

54 files changed

+73
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+73
-73
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import module namespace example = "example" at "/example-lib.xqy";
2-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
2+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
33

44
test:assert-equal("You said: hello", example:echo("hello"))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
test:assert-equal("hello", "hello")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import module namespace example = "example" at "/example-lib.xqy";
2-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
2+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
33

44
test:assert-equal("You said: hello", example:echo("hello"))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
test:assert-equal("hello", "hello")

marklogic-unit-test-client/src/main/java/com/marklogic/test/unit/JaxpServiceResponseUnmarshaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public List<TestModule> parseTestList(String xml) {
3232
for (int i = 0; i < kids.getLength(); i++) {
3333
Node suiteNode = kids.item(i);
3434
if ("suite".equals(suiteNode.getLocalName())
35-
&& "http://marklogic.com/test/unit".equals(suiteNode.getNamespaceURI())) {
35+
&& "http://marklogic.com/test".equals(suiteNode.getNamespaceURI())) {
3636
String suite = suiteNode.getAttributes().getNamedItem("path").getTextContent();
3737
NodeList testsNodes = suiteNode.getChildNodes();
3838
for (int j = 0; j < testsNodes.getLength(); j++) {

marklogic-unit-test-client/src/test/ml-modules/root/test/suites/Assertions/assert-all-exist.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import module namespace test="http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test="http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
test:assert-all-exist(0, ()),
44
test:assert-all-exist(1, "1"),

marklogic-unit-test-client/src/test/ml-modules/root/test/suites/Assertions/assert-at-least-one-equal.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import module namespace test="http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test="http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
test:assert-at-least-one-equal(0, 0),
44
test:assert-at-least-one-equal(0, (0, 1, 2)),

marklogic-unit-test-client/src/test/ml-modules/root/test/suites/Assertions/assert-equal-json.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import module namespace test="http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test="http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
declare option xdmp:mapping "false";
44

marklogic-unit-test-client/src/test/ml-modules/root/test/suites/Assertions/assert-equal-xml.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
(: TODO - fill this out with meaningful tests :)
44

marklogic-unit-test-client/src/test/ml-modules/root/test/suites/Assertions/assert-equal.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import module namespace test = "http://marklogic.com/test/unit" at "/test/test-helper.xqy";
1+
import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy";
22

33
declare function local:case1()
44
{

0 commit comments

Comments
 (0)