2526272829303132
import org.apache.maven.surefire570.MyModule1Class; public class MyModule1ClassTest extends TestCase { public void testGetFooKO() { MyModule1Class mc = new MyModule1Class(); Assert.assertEquals(18, mc.getFoo()); }
3031323334353637
MyModule1Class mc = new MyModule1Class(); Assert.assertEquals(18, mc.getFoo()); } public void testGetFooOK() { MyModule1Class mc = new MyModule1Class(); Assert.assertEquals(42, mc.getFoo()); }
56789101112
1011121314151617
import org.apache.maven.surefire570.module2.MyModule2Class; public class MyModule2ClassTest extends TestCase { public void testGetFooKO() { MyModule2Class mc = new MyModule2Class(); Assert.assertEquals(18, mc.getFoo()); }
MyModule2Class mc = new MyModule2Class(); Assert.assertEquals(18, mc.getFoo()); } public void testGetFooOK() { MyModule2Class mc = new MyModule2Class(); Assert.assertEquals(42, mc.getFoo()); }
import surefire257.MyModule1Class; public class MyModule1ClassTest extends TestCase { public void testGetFooOK() { MyModule1Class mc = new MyModule1Class(); Assert.assertEquals(42, mc.getFoo()); }