Last active
December 12, 2015 00:18
-
-
Save szalansky/4682960 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void testCaseToString() { | |
// This test wins the award for twisted snake tail eating while | |
// writing self tests. And you thought those weird anonymous | |
// inner classes were bad... | |
assertEquals("testCaseToString(junit.tests.framework.TestCaseTest)", toString()); | |
} | |
// | |
/** | |
* Counts the number of test cases executed by run(TestResult result). | |
*/ | |
public int countTestCases() { | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment