jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1483926 - in /jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer: TestJenaWriters.java TestRiotWriterDataset.java TestRiotWriterGraph.java TestWriterRegistration.java
Date Fri, 17 May 2013 17:44:15 GMT
Author: andy
Date: Fri May 17 17:44:15 2013
New Revision: 1483926

URL: http://svn.apache.org/r1483926
Log:
Wire in newest Writers into tests

Modified:
    jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestJenaWriters.java
    jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterDataset.java
    jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterGraph.java
    jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestWriterRegistration.java

Modified: jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestJenaWriters.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestJenaWriters.java?rev=1483926&r1=1483925&r2=1483926&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestJenaWriters.java (original)
+++ jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestJenaWriters.java Fri
May 17 17:44:15 2013
@@ -24,6 +24,7 @@ import java.util.List ;
 
 import org.apache.jena.atlas.lib.Bytes ;
 import org.apache.jena.riot.RDFDataMgr ;
+import org.apache.jena.riot.RIOT ;
 import org.apache.jena.riot.system.IO_JenaWriters ;
 import org.junit.Test ;
 import org.junit.runner.RunWith ;
@@ -37,6 +38,7 @@ public class TestJenaWriters extends Abs
 {
     @Parameters(name = "{index}: {0}")
     public static Iterable<Object[]> data() {
+        RIOT.init();
         List<Object[]> x = new ArrayList<Object[]>() ;
         for ( String wname : IO_JenaWriters.getJenaWriterNames() )
             x.add(new Object[]{wname}) ;

Modified: jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterDataset.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterDataset.java?rev=1483926&r1=1483925&r2=1483926&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterDataset.java
(original)
+++ jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterDataset.java
Fri May 17 17:44:15 2013
@@ -44,6 +44,8 @@ public class TestRiotWriterDataset exten
             , { RDFFormat.TRIG_BLOCKS }
             , { RDFFormat.TRIG_FLAT }
             , { RDFFormat.NQUADS}
+            , { RDFFormat.NQUADS_UTF8}
+            , { RDFFormat.NQUADS_ASCII}
         }) ; 
     }
 

Modified: jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterGraph.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterGraph.java?rev=1483926&r1=1483925&r2=1483926&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterGraph.java
(original)
+++ jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestRiotWriterGraph.java
Fri May 17 17:44:15 2013
@@ -40,6 +40,8 @@ public class TestRiotWriterGraph extends
         return Arrays.asList(new Object[][] {
             { RDFFormat.RDFNULL }
             
+            , { RDFFormat.NTRIPLES_UTF8 }
+            , { RDFFormat.NTRIPLES_ASCII }
             , { RDFFormat.NTRIPLES }
             , { RDFFormat.TURTLE }
             , { RDFFormat.TURTLE_PRETTY }
@@ -55,6 +57,8 @@ public class TestRiotWriterGraph extends
             , { RDFFormat.TRIG_PRETTY }
             , { RDFFormat.TRIG_BLOCKS }
             , { RDFFormat.TRIG_FLAT }
+            , { RDFFormat.NQUADS_UTF8}
+            , { RDFFormat.NQUADS_ASCII}
             , { RDFFormat.NQUADS}
         }) ; 
     }

Modified: jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestWriterRegistration.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestWriterRegistration.java?rev=1483926&r1=1483925&r2=1483926&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestWriterRegistration.java
(original)
+++ jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/writer/TestWriterRegistration.java
Fri May 17 17:44:15 2013
@@ -44,8 +44,14 @@ public class TestWriterRegistration exte
     @Test public void registration_22() { testregistration(RDFFormat.TTL) ; }
     @Test public void registration_23() { testregistration(RDFFormat.TURTLE_BLOCKS) ; }
     @Test public void registration_24() { testregistration(RDFFormat.TURTLE_FLAT) ; }
+    
     @Test public void registration_25() { testregistration(RDFFormat.NTRIPLES) ; }
     @Test public void registration_26() { testregistration(RDFFormat.NQUADS) ; }
+    @Test public void registration_25a() { testregistration(RDFFormat.NTRIPLES_UTF8) ; }
+    @Test public void registration_26a() { testregistration(RDFFormat.NQUADS_UTF8) ; }
+    @Test public void registration_25b() { testregistration(RDFFormat.NTRIPLES_ASCII) ; }
+    @Test public void registration_26b() { testregistration(RDFFormat.NQUADS_ASCII) ; }
+
     @Test public void registration_27() { testregistration(RDFFormat.TRIG_PRETTY) ; }
     @Test public void registration_28() { testregistration(RDFFormat.TRIG) ; }
     @Test public void registration_29() { testregistration(RDFFormat.TRIG_BLOCKS) ; }



Mime
View raw message