Skip to content

Commit bcaeb2a

Browse files
Rohitesh-Kumar-Jainwoutersmeenk
authored andcommitted
test: Migrate CorrectIdentifierTest to JUnit5 (INRIA#3956)
1 parent dafaae9 commit bcaeb2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/spoon/generating/CorrectIdentifierTest.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package spoon.generating;
22

3-
import org.junit.Ignore;
4-
import org.junit.Test;
3+
import org.junit.jupiter.api.Disabled;
4+
import org.junit.jupiter.api.Test;
55
import spoon.FluentLauncher;
66
import spoon.Launcher;
77
import spoon.SpoonException;
@@ -29,21 +29,21 @@ public void wrongIdentifer2() {
2929
assertThrows(SpoonException.class, () -> localVariableRef.setSimpleName(";tacos"));
3030
}
3131

32-
@Ignore
32+
@Disabled
3333
@Test
3434
public void keyWord() {
3535
CtLocalVariableReference<Object> localVariableRef = new Launcher().getFactory().createLocalVariableReference();
3636
assertThrows(SpoonException.class, () -> localVariableRef.setSimpleName("class"));
3737
}
3838

39-
@Ignore
39+
@Disabled
4040
@Test
4141
public void keyWord2() {
4242
CtLocalVariableReference<Object> localVariableRef = new Launcher().getFactory().createLocalVariableReference();
4343
assertThrows(SpoonException.class, () -> localVariableRef.setSimpleName("null"));
4444
}
4545

46-
@Ignore
46+
@Disabled
4747
@Test
4848
public void keyWord3() {
4949
CtLocalVariableReference<Object> localVariableRef = new Launcher().getFactory().createLocalVariableReference();

0 commit comments

Comments
 (0)