Skip to content

Commit

Permalink
test: migrate ControlTest to JUnit 5 (#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt authored Jan 14, 2022
1 parent ec47ae6 commit 303b192
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/test/java/spoon/test/control/ControlTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
*/
package spoon.test.control;

import org.junit.Test;

import java.util.List;

import org.junit.jupiter.api.Test;
import spoon.reflect.code.CtBlock;
import spoon.reflect.code.CtDo;
import spoon.reflect.code.CtFor;
Expand All @@ -26,11 +29,9 @@
import spoon.reflect.visitor.filter.NamedElementFilter;
import spoon.reflect.visitor.filter.TypeFilter;

import java.util.List;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static spoon.testing.utils.ModelUtils.build;

public class ControlTest {
Expand Down

0 comments on commit 303b192

Please sign in to comment.