Skip to content

Commit

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

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;

import java.io.File;

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

import spoon.Launcher;
import spoon.SpoonModelBuilder;
Expand All @@ -33,6 +29,11 @@
import spoon.support.compiler.FilteringFolder;
import spoon.support.compiler.VirtualFolder;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class ResourceTest {

@Test
Expand Down

0 comments on commit f4892e3

Please sign in to comment.