Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/moveInitializerToSetUp/afterjUnit4.java
Anna Kozlova 54eb66996d junit: check for junit classes available in scope before proceeding with costly checks (SCL-16058)
GitOrigin-RevId: 34f3dda8a83aada3c78c9888aa995d010af2a62a
2019-08-15 18:04:21 +03:00

16 lines
231 B
Java

import org.junit.Before;
// "Move initializer to setUp method" "true"
public class X {
<caret>int i;
@Before
public void setUp() throws Exception {
i = 7;
}
@org.junit.Test
public void test() {
}
}