some tests from execution-tests moved to community

This commit is contained in:
Dmitry Jemerov
2013-07-22 19:04:54 +02:00
parent 8e8b2f6ca7
commit e74b420f47
40 changed files with 2335 additions and 1 deletions
@@ -0,0 +1,9 @@
package apackage;
import junit.framework.TestCase;
public class SampleClass extends TestCase {
public void test1() {}
public static void main(String[] args){ }
}
@@ -0,0 +1,2 @@
package junit.framework;
public class TestCase {}
@@ -0,0 +1,2 @@
package junit.framework;
public class ThirdPartyClass extends TestCase {}
@@ -0,0 +1,6 @@
package test1;
import junit.framework.ThirdPartyClass;
public class DerivedTest extends ThirdPartyClass {
}
@@ -0,0 +1,10 @@
package test1;
import junit.framework.TestCase;
public class InnerTest {
public static class Inner extends TestCase {
public void test() {}
public static void main(String[] args) {}
}
}
@@ -0,0 +1,6 @@
package test1;
import junit.framework.TestCase;
public class TestA extends TestCase {
}
@@ -0,0 +1,9 @@
package test2;
public class NotATest {
static class InnerApplication {
public static void main(String[] args) {
}
}
}
@@ -0,0 +1,6 @@
package test1;
import junit.framework.TestCase;
public class TestA extends TestCase {
}
@@ -0,0 +1,6 @@
package test2;
import junit.framework.TestCase;
public class Test2 extends TestCase {
}
@@ -0,0 +1,5 @@
package test1;
import junit.framework.TestCase;
public class TestB extends TestCase {}
@@ -0,0 +1,3 @@
package test2;
public class NotATest2 {}
@@ -0,0 +1,3 @@
public class Application {
public static void main(String[] args){}
}
@@ -0,0 +1,6 @@
import junit.framework.TestCase;
public class TestApplication extends TestCase {
public void test() { }
public static void main(String[] args){ }
}
@@ -0,0 +1,7 @@
package test1;
import junit.framework.TestCase;
public class Test5 extends TestCase {
public void test() {}
}