This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
/
testng.xml
67 lines (57 loc) · 3.29 KB
/
testng.xml
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
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="W3C Linked Data Platform Test Suite">
<listeners>
<listener class-name='org.w3.ldp.testsuite.reporter.LdpTestListener'/>
<listener class-name='org.w3.ldp.testsuite.reporter.LdpHtmlReporter'/>
<listener class-name='org.w3.ldp.testsuite.reporter.LdpEarlReporter'/>
</listeners>
<parameter name="basicContainer" value="http://localhost:8080/ldp/resources/bc/"/>
<!-- <parameter name="directContainer" value="http://localhost:8080/ldp/resources/dc-simple/" /> -->
<!-- <parameter name="indirectContainer" value="http://localhost:8080/ldp/resources/" /> -->
<!-- A resource whose internal RDF state has a type triple of one of container types
but whose interaction model was created with header on POST request of:
Link: <http://www.w3c.org/ldp/ns#Resource>;rel="type"
See: http://www.w3.org/TR/ldp/#ldpc-post-createrdf
-->
<parameter name="containerAsResource" value="http://localhost:8080/ldp/resources/bc-asres/" />
<!-- Properties for Earl Report, recommended that these be set -->
<parameter name="assertor" value="mailto:joe@example.org" />
<parameter name="software" value="Reference Implementation" />
<parameter name="shortname" value="LDP Ref Impl" />
<parameter name="language" value = "Java" />
<parameter name="homepage" value ="http://example.org/LDP_impl" />
<parameter name="mbox" value="jdoe@example.org" />
<parameter name="developer" value="Jane Doe" />
<parameter name="description" value="Testing against: BasicContainer, RDFSource, NonRDFSource, Prefer, Container as Resource interaction model." />
<parameter name="auth" value="userid:password" />
<!-- (Optional) RDF member resource parameter. If left out, the tests will
try to create a resource in one of the containers. -->
<parameter name="memberResource" value="http://localhost:8080/ldp/resources/diffmr1"/>
<!-- (Optional) Read only property to test server errors -->
<!-- <parameter name="readOnlyProp" value="http://purl.org/dc/terms/identifier" /> -->
<test name="All Tests">
<groups>
<define name="allRequirementLevels">
<include name="MUST"/>
<include name="SHOULD"/>
<include name="MAY"/>
</define>
<run>
<include name="allRequirementLevels"/>
<!-- Will just skip the tests but create entries for the reporters -->
<include name="MANUAL"/>
<!-- Include this group if your server uses ldp:member as a membership
predicate for Direct Containers. (See 5.4.1.2 in the LDP spec.) -->
<include name="ldpMember"/>
</run>
</groups>
<classes>
<!-- <class name="org.w3.ldp.testsuite.test.DirectContainerTest" /> -->
<!-- <class name="org.w3.ldp.testsuite.test.IndirectContainerTest" /> -->
<class name="org.w3.ldp.testsuite.test.BasicContainerTest"/>
<class name="org.w3.ldp.testsuite.test.MemberResourceTest"/>
<class name="org.w3.ldp.testsuite.test.NonRDFSourceTest" />
</classes>
</test>
</suite>