Author: rwesten
Date: Thu Feb  2 13:56:24 2012
New Revision: 1239621

URL: http://svn.apache.org/viewvc?rev=1239621&view=rev
Log:
STANBOL-438, STANBOL-431

* integration test now checks for ExecutionMetadata and ExecutionPlan 
* changed detection for the metaxa engine as it does no longer include a pseudo 
TextAnnotation.

Modified:
    
incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/DefaultChainTest.java

Modified: 
incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/DefaultChainTest.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/DefaultChainTest.java?rev=1239621&r1=1239620&r2=1239621&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/DefaultChainTest.java
 (original)
+++ 
incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/DefaultChainTest.java
 Thu Feb  2 13:56:24 2012
@@ -63,13 +63,16 @@ public class DefaultChainTest extends En
     @Test
     public void testSimpleEnhancement() throws Exception {
         executor.execute(
-            builder.buildPostRequest(getEndpoint())
+            builder.buildPostRequest(getEndpoint()+"?executionmetadata=true")
             .withHeader("Accept","text/rdf+nt")
             .withContent("The Stanbol enhancer can detect famous cities such 
as Paris and people such as Bob Marley.")
         )
         .assertStatus(200)
         .assertContentRegexp(
-                "http://purl.org/dc/terms/creator.*MetaxaEngine";,
+                //check execution metadata
+                
"http://stanbol.apache.org/ontology/enhancer/executionMetadata#executionPart";,
+                //check execution of metaxa & if executionPlan is incuded
+                
"http://stanbol.apache.org/ontology/enhancer/executionplan#engine.*metaxa";, 
                 "http://purl.org/dc/terms/creator.*LangIdEnhancementEngine";,
                 "http://purl.org/dc/terms/language.*en";,
                 "http://fise.iks-project.eu/ontology/entity-label.*Paris";,


Reply via email to