Skip to content

Commit

Permalink
test: migrate ClassesTest to JUnit 5 (#4465)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt committed Jan 13, 2022
1 parent 1d36a64 commit c261e4b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/test/java/spoon/test/secondaryclasses/ClassesTest.java
Expand Up @@ -16,21 +16,13 @@
*/
package spoon.test.secondaryclasses;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static spoon.testing.utils.ModelUtils.build;
import static spoon.testing.utils.ModelUtils.buildClass;

import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeSet;

import org.junit.Test;
import org.junit.jupiter.api.Test;

import spoon.reflect.code.CtBlock;
import spoon.reflect.code.CtNewClass;
Expand All @@ -51,6 +43,15 @@
import spoon.test.secondaryclasses.testclasses.Pozole;
import spoon.test.secondaryclasses.testclasses.PrivateInnerClasses;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static spoon.testing.utils.ModelUtils.build;
import static spoon.testing.utils.ModelUtils.buildClass;

public class ClassesTest {

@Test
Expand Down

0 comments on commit c261e4b

Please sign in to comment.