commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ans...@apache.org
Subject [12/18] incubator-commonsrdf git commit: Remove graph triple ordering from test
Date Mon, 30 Mar 2015 01:10:06 GMT
Remove graph triple ordering from test

Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/08bb8c6b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/08bb8c6b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/08bb8c6b

Branch: refs/heads/master
Commit: 08bb8c6b3cfb02af054ba71921cd5bfae40a8932
Parents: a8ff114
Author: Peter Ansell <p_ansell@yahoo.com>
Authored: Sat Mar 28 21:23:09 2015 +1100
Committer: Peter Ansell <p_ansell@yahoo.com>
Committed: Sat Mar 28 21:23:09 2015 +1100

----------------------------------------------------------------------
 .../test/java/org/apache/commons/rdf/api/AbstractGraphTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/08bb8c6b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
----------------------------------------------------------------------
diff --git a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
index 4c1d035..aaa5636 100644
--- a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
+++ b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
@@ -120,9 +120,9 @@ public abstract class AbstractGraphTest {
 		System.out.println(graph);
 		assertTrue(graph
 				.toString()
-				.startsWith(
+				.contains(
 						"<http://example.com/alice> <http://xmlns.com/foaf/0.1/name> \"Alice\"
."));
-		assertTrue(graph.toString().endsWith(
+		assertTrue(graph.toString().contains(
 				" <http://xmlns.com/foaf/0.1/name> \"A company\" ."));
 
 	}


Mime
View raw message