jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ki...@apache.org
Subject jena git commit: Update test to use all list values created for testing
Date Mon, 04 May 2015 10:38:35 GMT
Repository: jena
Updated Branches:
  refs/heads/master ada26f256 -> 26c97e6ea


Update test to use all list values created for testing


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

Branch: refs/heads/master
Commit: 26c97e6ea3a77dccb247f3f85bd80e535119c65a
Parents: ada26f2
Author: Bruno P. Kinoshita <brunodepaulak@yahoo.com.br>
Authored: Mon May 4 22:01:13 2015 +1200
Committer: Bruno P. Kinoshita <brunodepaulak@yahoo.com.br>
Committed: Mon May 4 22:01:13 2015 +1200

----------------------------------------------------------------------
 .../org/apache/jena/util/iterator/test/TestResourceUtils.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/26c97e6e/jena-core/src/test/java/org/apache/jena/util/iterator/test/TestResourceUtils.java
----------------------------------------------------------------------
diff --git a/jena-core/src/test/java/org/apache/jena/util/iterator/test/TestResourceUtils.java
b/jena-core/src/test/java/org/apache/jena/util/iterator/test/TestResourceUtils.java
index c6308b0..18cb0e6 100644
--- a/jena-core/src/test/java/org/apache/jena/util/iterator/test/TestResourceUtils.java
+++ b/jena-core/src/test/java/org/apache/jena/util/iterator/test/TestResourceUtils.java
@@ -197,12 +197,14 @@ public class TestResourceUtils
         in.addAll( abcde );
         List<Resource> out = null;
         assertTrue( in.equals( abcde ) );
+        assertFalse( in.equals(abde) );
         assertFalse( in.equals( cde ));
         assertNull( out );
 
         out = ResourceUtils.removeEquiv( in, RDFS.subClassOf, a );
 
         assertFalse( in.equals( abcde ) );
+        assertFalse( in.equals(abde) );
         assertTrue( in.equals( cde ));
         assertNotNull( out );
         assertEquals( out, ab );
@@ -210,6 +212,7 @@ public class TestResourceUtils
         out = ResourceUtils.removeEquiv( in, RDFS.subClassOf, e );
 
         assertFalse( in.equals( abcde ) );
+        assertFalse( in.equals(abde) );
         assertTrue( in.equals( Collections.singletonList( c ) ));
         assertNotNull( out );
         assertEquals( out, de );


Mime
View raw message