File tree 1 file changed +5
-5
lines changed
src/test/java/spoon/generating
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
package spoon .generating ;
2
2
3
- import org .junit .Ignore ;
4
- import org .junit .Test ;
3
+ import org .junit .jupiter . api . Disabled ;
4
+ import org .junit .jupiter . api . Test ;
5
5
import spoon .FluentLauncher ;
6
6
import spoon .Launcher ;
7
7
import spoon .SpoonException ;
@@ -29,21 +29,21 @@ public void wrongIdentifer2() {
29
29
assertThrows (SpoonException .class , () -> localVariableRef .setSimpleName (";tacos" ));
30
30
}
31
31
32
- @ Ignore
32
+ @ Disabled
33
33
@ Test
34
34
public void keyWord () {
35
35
CtLocalVariableReference <Object > localVariableRef = new Launcher ().getFactory ().createLocalVariableReference ();
36
36
assertThrows (SpoonException .class , () -> localVariableRef .setSimpleName ("class" ));
37
37
}
38
38
39
- @ Ignore
39
+ @ Disabled
40
40
@ Test
41
41
public void keyWord2 () {
42
42
CtLocalVariableReference <Object > localVariableRef = new Launcher ().getFactory ().createLocalVariableReference ();
43
43
assertThrows (SpoonException .class , () -> localVariableRef .setSimpleName ("null" ));
44
44
}
45
45
46
- @ Ignore
46
+ @ Disabled
47
47
@ Test
48
48
public void keyWord3 () {
49
49
CtLocalVariableReference <Object > localVariableRef = new Launcher ().getFactory ().createLocalVariableReference ();
You can’t perform that action at this time.
0 commit comments