introduce field: avoid dbl setup creation when no annotation present (IDEA-76926)

This commit is contained in:
anna
2011-11-21 09:39:19 +01:00
parent 642365d6f9
commit b3922178be
5 changed files with 73 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
import org.junit.*;
public class T {
private int i;
@Test
public void test() {
}
@Before
public void setUp(){
i = 9;
}
}

View File

@@ -0,0 +1,9 @@
import org.junit.*;
public class T {
@Test
public void test() {
int <caret>i = 9;
}
public void setUp(){}
}