Author: rwesten
Date: Tue Dec 17 14:48:50 2013
New Revision: 1551559
URL: http://svn.apache.org/r1551559
Log:
STANBOL-1234 and STANBOL-1237: needed to adapt the assert of the HTTP Query
Header test as the new SesameModel writer creats different rdf/xml as the
Clerezza one. The new assert should work with both.
Modified:
stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/commons/httpqueryheaders/it/HttpQueryHeaderGetTest.java
Modified:
stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/commons/httpqueryheaders/it/HttpQueryHeaderGetTest.java
URL:
http://svn.apache.org/viewvc/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/commons/httpqueryheaders/it/HttpQueryHeaderGetTest.java?rev=1551559&r1=1551558&r2=1551559&view=diff
==============================================================================
---
stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/commons/httpqueryheaders/it/HttpQueryHeaderGetTest.java
(original)
+++
stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/commons/httpqueryheaders/it/HttpQueryHeaderGetTest.java
Tue Dec 17 14:48:50 2013
@@ -61,7 +61,7 @@ public class HttpQueryHeaderGetTest exte
re.assertContentType("application/rdf+xml");
re.assertContentContains(
"<rdf:Description
rdf:about=\"http://dbpedia.org/resource/Paris\">",
- "<rdfs:label xml:lang=\"en\">Paris</rdfs:label>");
+ "<rdf:type rdf:resource=\"http://dbpedia.org/ontology/Place\"/>");
//now test the default Accept
re = executor.execute(
builder.buildGetRequest(DBPEDIA_SITE_PATH+"/entity",