mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit: testdata for the same test class name in different modules
This commit is contained in:
@@ -67,6 +67,10 @@ public class JUnitForkIntegrationTest extends AbstractTestFrameworkCompilingInte
|
||||
public void testForkPerModuleWithDependency() throws ExecutionException {
|
||||
doTestForkPerModule(createRunPackageConfiguration("junit4"));
|
||||
}
|
||||
|
||||
public void testForkPerModuleWithDependencyAndSameClasses() throws ExecutionException {
|
||||
doTestForkPerModule(createRunPackageConfiguration("sameClass"));
|
||||
}
|
||||
|
||||
public void testForkPatternPerModuleWithDependency() throws ExecutionException {
|
||||
JUnitConfiguration configuration = new JUnitConfiguration("pattern", getProject());
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package sameClass;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class MySameClass {
|
||||
|
||||
@Test
|
||||
public void singleMethodTest1 () {
|
||||
org.junit.Assert.fail("junit 4: single method failed");
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package sameClass;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class MySameClass {
|
||||
|
||||
@Test
|
||||
public void singleMethodTest2 () {
|
||||
org.junit.Assert.fail("junit 4: single method failed");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user