Code example for TestCase

Methods: runsetName

0
		assertEquals("tests are being not being ran by JUnit", 3, result.runCount());
		assertEquals("skipped tests not properly recorded", 2, ConditionalTestCase.getDisabledTestCount());
	} 
 
	private void executeTest(String testMethod) {
		test.setName(testMethod);
		test.run(result);
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java