Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-01-07 18:19:34 +0000
committerEike Stepper2011-01-07 18:19:34 +0000
commit1b444a7f40246178d93268fef9c4d56c5c168003 (patch)
treeaa4b042a42a6dde02e9d2cc317f4cdf0a6bdae00 /plugins/org.eclipse.emf.cdo.dawn.tests
parent85526250336e72dac2ebd742219905dbbb8a2e0c (diff)
downloadcdo-1b444a7f40246178d93268fef9c4d56c5c168003.tar.gz
cdo-1b444a7f40246178d93268fef9c4d56c5c168003.tar.xz
cdo-1b444a7f40246178d93268fef9c4d56c5c168003.zip
Never use assertTrue() or assertFalse()
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.tests')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/GMFTest.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/ui/gmf/DawnCreationWizardTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/GMFTest.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/GMFTest.java
index 417de5ffff..834e8811c8 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/GMFTest.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/GMFTest.java
@@ -300,7 +300,7 @@ public class GMFTest extends AbstractCDOTest
Edge edge = (Edge)o;
RelativeBendpoints bendpoints = (RelativeBendpoints)edge.getBendpoints();
assertNotNull(bendpoints);
- assertTrue(bendpoints.getPoints().size() > 0);
+ assertEquals(true, bendpoints.getPoints().size() > 0);
}
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/ui/gmf/DawnCreationWizardTest.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/ui/gmf/DawnCreationWizardTest.java
index b6ebb9b615..69e484014f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/ui/gmf/DawnCreationWizardTest.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/ui/gmf/DawnCreationWizardTest.java
@@ -296,7 +296,7 @@ public class DawnCreationWizardTest extends AbstractCDOTest
assertEquals("cdo://repo1/folder/default.acore", dawnDomainModelFilePage.getURI().toString());
boolean performFinish = creationWizard.performFinish();
- assertTrue(performFinish);
+ assertEquals(true, performFinish);
{
CDOSession session = openSession();

Back to the top