TestResult failed3 = new TestResult(null, "failed", "", "", "testcase", "test5", 5f);
TestResult error1 = new TestResult(null, "error", "", "", "testcase1", "test6", 6f);
TestResult error2 = new TestResult(null, "error", "", "", "testcase", "test7", 7f);
public void testDidPass() throws Exception {
ResultModel model = new EclipseJstdTestCaseResult(null, "testcase");
assertTrue(model.passed());
model.addTestResult(passing1);
assertTrue(model.passed());
model.addTestResult(passing2);
assertTrue(model.passed());
model.addTestResult(failed1);
assertFalse(model.passed());
model.addTestResult(failed2);
assertFalse(model.passed());
}