Skip to content

Commit 6cf2c9a

Browse files
georgeajitgeorgeajit
authored andcommitted
#599 - Data file for tests
1 parent 4ab26d0 commit 6cf2c9a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

config-optic/loaddata.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ var dataFiles = [
127127
uri:'/optic/plan/test/planTriples.json',
128128
collections:['/optic/plan/test'],
129129
content:fs.createReadStream('./config-optic/qa-data/planTriples.json')
130+
},{
131+
uri:'/optic/sparql/test/dedupdoc1.xml',
132+
collections:['/optic/plan/test'],
133+
content:fs.createReadStream('./config-optic/qa-data/dedupdoc1.xml')
130134
}];
131135

132136
var graphFiles1 = [

config-optic/qa-data/dedupdoc1.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<doc>
2+
<hello>world</hello>
3+
<tripleSets xmlns:sem="http://marklogic.com/semantics">
4+
<sem:triple>
5+
<sem:subject>http://marklogicsparql.com/id#5555</sem:subject>
6+
<sem:predicate>http://marklogicsparql.com/addressbook#firstName</sem:predicate>
7+
<sem:object datatype="http://www.w3.org/2001/XMLSchema#string">Jim</sem:object>
8+
</sem:triple>
9+
<sem:triple>
10+
<sem:subject>http://marklogicsparql.com/id#5555</sem:subject>
11+
<sem:predicate>http://marklogicsparql.com/addressbook#firstName</sem:predicate>
12+
<sem:object datatype="http://www.w3.org/2001/XMLSchema#string">Jim</sem:object>
13+
</sem:triple>
14+
</tripleSets>
15+
</doc>

0 commit comments

Comments
 (0)