Commit a3bbcbae authored by ekuleshov's avatar ekuleshov
Browse files

added rt.jar as a default test case

parent a6fd5531
......@@ -67,8 +67,16 @@ public abstract class AbstractTest extends TestCase {
protected TestSuite getSuite() throws Exception {
TestSuite suite = new TestSuite(getClass().getName());
String files = System.getProperty("asm.test") + ",";
String files = System.getProperty("asm.test");
String clazz = System.getProperty("asm.test.class");
if(files==null) {
files = System.getProperty("java.home") + File.separator + "lib" + File.separator + "rt.jar";
if(clazz==null) {
clazz = "java.lang.";
}
}
files += ",";
while (files.indexOf(',') != -1) {
String file = files.substring(0, files.indexOf(','));
files = files.substring(files.indexOf(',') + 1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment