Skip to content

Commit

Permalink
remove deprecated @RunWith
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHossfeld committed Dec 19, 2023
1 parent bb632d3 commit c9ead00
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.junit.platform.suite.api.Suite;
import org.junit.runner.RunWith;

@RunWith(JUnitPlatform.class)
@Suite()
@SelectClasses({ ProviderTest.class })
public class AllTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,41 +51,42 @@
import com.github.nalukit.nalu.processor.test.model.property.PropertiesTest;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;
import org.junit.runner.RunWith;

@RunWith(JUnitPlatform.class)
@Suite()
@SelectClasses({ ApplicationTest.class,
BlockControllerTest.class,
ClassNameModelTest.class,
CompositeCreatorTest.class,
CompositeTest.class,
CompositesTest.class,
ConsistenceTest.class,
ControllerCreatorTest.class,
ControllerModelTest.class,
ControllerTest.class,
ErrorPopUpControllerTest.class,
EventHandlerTest.class,
EventHandlerBlockControllerTest.class,
EventHandlerCompositeTest.class,
EventHandlerControllerTest.class,
EventHandlerErrorPopUpControllerTest.class,
EventHandlerHandlerTest.class,
EventHandlerPopUpControllerTest.class,
EventHandlerShellTest.class,
FiltersTest.class,
HandlerTest.class,
LoggerTest.class,
MetaModelTest.class,
ModuleTest.class,
ParameterConstraintRuleTest.class,
ParameterConstraintTest.class,
PopUpControllerCreatorTest.class,
PopUpFiltersTest.class,
PropertiesTest.class,
ShellCreatorTest.class,
ShellTest.class,
TrackerTest.class,
VersionTest.class })
BlockControllerTest.class,
ClassNameModelTest.class,
CompositeCreatorTest.class,
CompositeTest.class,
CompositesTest.class,
ConsistenceTest.class,
ControllerCreatorTest.class,
ControllerModelTest.class,
ControllerTest.class,
ErrorPopUpControllerTest.class,
EventHandlerTest.class,
EventHandlerBlockControllerTest.class,
EventHandlerCompositeTest.class,
EventHandlerControllerTest.class,
EventHandlerErrorPopUpControllerTest.class,
EventHandlerHandlerTest.class,
EventHandlerPopUpControllerTest.class,
EventHandlerShellTest.class,
FiltersTest.class,
HandlerTest.class,
LoggerTest.class,
MetaModelTest.class,
ModuleTest.class,
ParameterConstraintRuleTest.class,
ParameterConstraintTest.class,
PopUpControllerCreatorTest.class,
PopUpFiltersTest.class,
PropertiesTest.class,
ShellCreatorTest.class,
ShellTest.class,
TrackerTest.class,
VersionTest.class })
public class AllTests {
}
3 changes: 2 additions & 1 deletion nalu/src/test/java/com/github/nalukit/nalu/AllTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
import com.github.nalukit.nalu.client.util.NaluUtilsTest;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;
import org.junit.runner.RunWith;

@RunWith(JUnitPlatform.class)
@Suite()
@SelectClasses({ NaluTest.class,
NaluUtilsTest.class,
RouteConfigTest.class,
Expand Down

0 comments on commit c9ead00

Please sign in to comment.