summaryrefslogtreecommitdiff
path: root/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2011-03-22 17:38:22 +0100
committerVladimir Glazunov <vg@openoffice.org>2011-03-22 17:38:22 +0100
commit1afa44cf20db1eb301992d2a74e1273ba71d8ccc (patch)
treea1e7df56800bfcc8ce55bf62971d87f1b07ed272 /unoxml/qa/complex/unoxml/RDFRepositoryTest.java
parentdae2b218c44e8e4613e37b9a42aec251cae5fdec (diff)
parentd549a6090499cf8dbf187205cbd99cc8b95a1955 (diff)
CWS-TOOLING: integrate CWS sw34bf04
Notes
split repo tag: filters_ooo/DEV300_m104
Diffstat (limited to 'unoxml/qa/complex/unoxml/RDFRepositoryTest.java')
-rw-r--r--unoxml/qa/complex/unoxml/RDFRepositoryTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
index d047ef77440e..3cf203325a70 100644
--- a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
+++ b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
@@ -172,14 +172,14 @@ public class RDFRepositoryTest
try {
xRep.createGraph(foo);
- assertFalse("creating duplicate graph was allowed", false);
+ fail("creating duplicate graph was allowed");
} catch (ElementExistException e) {
// ignore
}
try {
xRep.createGraph(null);
- assertFalse("invalid graph name was allowed", false);
+ fail("invalid graph name was allowed");
} catch (IllegalArgumentException e) {
// ignore
}
@@ -296,7 +296,7 @@ public class RDFRepositoryTest
xFooIn = new StreamSimulator(tempDir + "foo.rdf", true, param);
try {
xRep.importGraph(FileFormat.RDF_XML, xFooIn, bar, base);
- assertFalse("importing existing graph did not fail", false);
+ fail("importing existing graph did not fail");
} catch (ElementExistException e) {
// ignore
}
@@ -328,28 +328,28 @@ public class RDFRepositoryTest
try {
xBazGraph.clear();
- assertFalse("deleted graph not invalid (clear)", false);
+ fail("deleted graph not invalid (clear)");
} catch (NoSuchElementException e) {
// ignore
}
try {
xBazGraph.addStatement(foo, foo, foo);
- assertFalse("deleted graph not invalid (add)", false);
+ fail("deleted graph not invalid (add)");
} catch (NoSuchElementException e) {
// ignore
}
try {
xBazGraph.removeStatements(null, null, null);
- assertFalse("deleted graph not invalid (remove)", false);
+ fail("deleted graph not invalid (remove)");
} catch (NoSuchElementException e) {
// ignore
}
try {
xBazGraph.getStatements(null, null, null);
- assertFalse("deleted graph not invalid (get)", false);
+ fail("deleted graph not invalid (get)");
} catch (NoSuchElementException e) {
// ignore
}
@@ -473,14 +473,14 @@ public class RDFRepositoryTest
try {
xRep.setStatementRDFa(foo, new XURI[] {}, xM, "", null);
- assertFalse("RDFa: set: no predicate", false);
+ fail("RDFa: set: no predicate");
} catch (IllegalArgumentException e) {
// ignore
}
try {
xRep.setStatementRDFa(foo, new XURI[] {bar}, null, "", null);
- assertFalse("RDFa: set: null", false);
+ fail("RDFa: set: null");
} catch (IllegalArgumentException e) {
// ignore
}