clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject git commit: CLEREZZA-717: using SKOS04 as no access to inherited static fields in scala
Date Thu, 20 Feb 2014 15:49:39 GMT
Repository: clerezza
Updated Branches:
  refs/heads/master a5d59a08e -> aabf26c1a


CLEREZZA-717: using SKOS04 as no access to inherited static fields in scala

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/aabf26c1
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/aabf26c1
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/aabf26c1

Branch: refs/heads/master
Commit: aabf26c1ac9ac6f26d67d0694649cb4c8a852b84
Parents: a5d59a0
Author: retobg <reto@apache.org>
Authored: Thu Feb 20 16:48:52 2014 +0100
Committer: retobg <reto@apache.org>
Committed: Thu Feb 20 16:48:52 2014 +0100

----------------------------------------------------------------------
 .../rdf/scala/utils/RichGraphNodeTest.scala         | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/aabf26c1/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNodeTest.scala
----------------------------------------------------------------------
diff --git a/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNodeTest.scala
b/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNodeTest.scala
index 0131691..ec6cb1c 100644
--- a/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNodeTest.scala
+++ b/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNodeTest.scala
@@ -52,7 +52,7 @@ class RichGraphNodeTest {
     rdfList.add(johnUri)
     rdfList.add(new PlainLiteralImpl("foo"))
     rdfList.add(new PlainLiteralImpl("bar"))
-    mGraph.add(new TripleImpl(johnUri, SKOS.related, listUri))
+    mGraph.add(new TripleImpl(johnUri, SKOS04.related, listUri))
     val litEn = new PlainLiteralImpl("hello",
           new Language("en"))
     val litFr = new PlainLiteralImpl("satul",
@@ -131,19 +131,19 @@ class RichGraphNodeTest {
 
   @Test
   def testLists = {
-    Assert.assertEquals(new PlainLiteralImpl("foo"),(node/SKOS.related).asList().get(1))
-    Assert.assertEquals(new PlainLiteralImpl("foo"), (node/SKOS.related%0!!)(1)!)
+    Assert.assertEquals(new PlainLiteralImpl("foo"),(node/SKOS04.related).asList().get(1))
+    Assert.assertEquals(new PlainLiteralImpl("foo"), (node/SKOS04.related%0!!)(1)!)
     Assert.assertEquals(new PlainLiteralImpl("foo"),
-              (for (value <- node/SKOS.related%0!!) yield value!).toList(1))
+              (for (value <- node/SKOS04.related%0!!) yield value!).toList(1))
     Assert.assertEquals(new PlainLiteralImpl("bar"),
-              (for (value <- node/SKOS.related%0!!) yield value!).toList(2))
-    Assert.assertEquals(new PlainLiteralImpl("foo"), node/SKOS.related%0%!!1!)
+              (for (value <- node/SKOS04.related%0!!) yield value!).toList(2))
+    Assert.assertEquals(new PlainLiteralImpl("foo"), node/SKOS04.related%0%!!1!)
   }
 
   @Test
   def sortProperties = {
-    Assert.assertEquals(new PlainLiteralImpl("bar"), (node/SKOS.related%0!!).sortWith((a,b)
=> ((a*) < (b*)))(0)!)
-    Assert.assertEquals(johnUri, (node/SKOS.related%0!!).sortWith((a,b) => ((a*) >
(b*)))(0)!)
+    Assert.assertEquals(new PlainLiteralImpl("bar"), (node/SKOS04.related%0!!).sortWith((a,b)
=> ((a*) < (b*)))(0)!)
+    Assert.assertEquals(johnUri, (node/SKOS04.related%0!!).sortWith((a,b) => ((a*) >
(b*)))(0)!)
   }
 
   @Test


Mime
View raw message