Tests if all JUnit 4 candidate test methods declare @Test annotation. @throws Exception if the test fails
()
| 915 | * @throws Exception if the test fails |
| 916 | */ |
| 917 | @Test |
| 918 | public void tests() throws Exception { |
| 919 | title_ = "Tests"; |
| 920 | testTests(new File("src/test/java")); |
| 921 | } |
| 922 | |
| 923 | private void testTests(final File dir) throws Exception { |
| 924 | final File[] files = dir.listFiles(); |