Author: bblfish
Date: Wed Jun 22 22:07:46 2011
New Revision: 1138659

URL: http://svn.apache.org/viewvc?rev=1138659&view=rev
Log:
CLEREZZA-510 better test method used

Modified:
    
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EasyGraphTest.scala

Modified: 
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EasyGraphTest.scala
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EasyGraphTest.scala?rev=1138659&r1=1138658&r2=1138659&view=diff
==============================================================================
--- 
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EasyGraphTest.scala
 (original)
+++ 
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EasyGraphTest.scala
 Wed Jun 22 22:07:46 2011
@@ -123,9 +123,9 @@ class EasyGraphTest {
                         )
                 )
                Assert.assertEquals("the two graphs should be of same 
size",tinyGraph.size(),ez.size())
-               Assert.assertTrue("Both graphs should contain exactly the same 
triples",tinyGraph.equals(ez.getGraph))
+               Assert.assertEquals("Both graphs should contain exactly the 
same triples",tinyGraph,ez.getGraph)
                ez.bnode("danny") ⟝  FOAF.name ⟶  "George"
-               Assert.assertFalse("Added one more triple, so graphs should no 
longer be equal", tinyGraph.equals(ez.getGraph))
+               Assert.assertNotSame("Added one more triple, so graphs should 
no longer be equal", tinyGraph,ez.getGraph)
        }
 
        @Test
@@ -158,9 +158,9 @@ class EasyGraphTest {
                         )
                 )
                Assert.assertEquals("the two graphs should be of same 
size",tinyGraph.size(),ez.size())
-               Assert.assertTrue("Both graphs should contain exactly the same 
triples",tinyGraph.equals(ez.getGraph))
+               Assert.assertEquals("Both graphs should contain exactly the 
same triples",tinyGraph,ez.getGraph)
                ez.bnode("danny") -- FOAF.name --> "George"
-               Assert.assertFalse("Added one more triple, so graphs should no 
longer be equal",tinyGraph.equals(ez.getGraph))
+               Assert.assertNotSame("Added one more triple, so graphs should 
no longer be equal",tinyGraph,ez.getGraph)
 
        }
 


Reply via email to