doSample(),doString()メソッドがあるクラスのテストクラスを自動生成したが
testDoSample(),testDoStrin()メソッドがクラスの外部に生成されている。
そのため、エラーが発生する。
package sample.test;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
class hoge {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
}
@AfterClass
public static void tearDownAfterClass() throws Exception {
}
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
@Test
public final void testDoStringObject() {
fail("Not yet implemented"); // TODO
}
}
@Test
public final void testDoSample(){
fail("Not yet implemented"); // TODO
}
@Test
public final void testDoString(){
fail("Not yet implemented"); // TODO
}
0 件のコメント:
コメントを投稿