Author: rwesten
Date: Mon Nov  4 08:31:40 2013
New Revision: 1538525

URL: http://svn.apache.org/r1538525
Log:
STANBOL-1198; the added unit test now correcly commits and closes the 
connection.

Modified:
    
stanbol/trunk/entityhub/yard/sesame/src/test/java/org/apache/stanbol/entityhub/yard/sesame/SesameYardTest.java

Modified: 
stanbol/trunk/entityhub/yard/sesame/src/test/java/org/apache/stanbol/entityhub/yard/sesame/SesameYardTest.java
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/sesame/src/test/java/org/apache/stanbol/entityhub/yard/sesame/SesameYardTest.java?rev=1538525&r1=1538524&r2=1538525&view=diff
==============================================================================
--- 
stanbol/trunk/entityhub/yard/sesame/src/test/java/org/apache/stanbol/entityhub/yard/sesame/SesameYardTest.java
 (original)
+++ 
stanbol/trunk/entityhub/yard/sesame/src/test/java/org/apache/stanbol/entityhub/yard/sesame/SesameYardTest.java
 Mon Nov  4 08:31:40 2013
@@ -102,6 +102,8 @@ public class SesameYardTest extends Yard
         con.add(bnode1, property2, value);
         con.add(bnode1, loop1, bnode2);
         con.add(bnode2, loop2, bnode1);
+        con.commit();
+        con.close();
         Yard yard = getYard();
         Representation rep = yard.getRepresentation(subject.stringValue());
         Assert.assertTrue(rep instanceof RdfRepresentation);


Reply via email to