You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/11/08 18:05:35 UTC

svn commit: r1540119 - /jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java

Author: andy
Date: Fri Nov  8 17:05:35 2013
New Revision: 1540119

URL: http://svn.apache.org/r1540119
Log:
Tests for JENA-584

Modified:
    jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java

Modified: jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java?rev=1540119&r1=1540118&r2=1540119&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java (original)
+++ jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/out/TestNodeFmt.java Fri Nov  8 17:05:35 2013
@@ -93,7 +93,12 @@ public class TestNodeFmt extends BaseTes
     @Test public void nodefmt_ttl_17()  { test(nodeFormatterTTL, "<http://example.org/foo>", "<foo>") ; }
     @Test public void nodefmt_ttl_18()  { test(nodeFormatterTTL, "<http://example.org/base#bar>", "<#bar>") ; }
 
-    @Test public void nodefmt_ttl_20()  { test(nodeFormatterTTL, "'Ω'", "\"Ω\"") ; }
+    // Trailing DOT
+    @Test public void nodefmt_ttl_19()  { test(nodeFormatterTTL, "<http://example/ex/abc.>", "<http://example/ex/abc.>") ; } 
+    @Test public void nodefmt_ttl_20()  { test(nodeFormatterTTL, "<http://example/ex/abc.x>", "ex:abc.x") ; }
+    @Test public void nodefmt_ttl_21()  { test(nodeFormatterTTL, "<http://example/ex/abc456.123>", "ex:abc456.123") ; }
+    
+    @Test public void nodefmt_ttl_29()  { test(nodeFormatterTTL, "'Ω'", "\"Ω\"") ; }
     
     @Test public void prefixedname_01() { testPrefix("", "") ; }