This can be done as follows in JUnit 3: public class XTest extends TestCase { public File file; public XTest(File file) { super(file.toString()); this.file = file; } public void testX() { fail(“Failed: ” + file); } } public class XTestSuite…
This can be done as follows in JUnit 3: public class XTest extends TestCase { public File file; public XTest(File file) { super(file.toString()); this.file = file; } public void testX() { fail(“Failed: ” + file); } } public class XTestSuite…
Here is a nice guide for regular expressions in Java: http://www.vogella.de/articles/JavaRegularExpressions/article.html