Skip to content

Commit c9ead00

Browse files
committed
remove deprecated @RunWith
1 parent bb632d3 commit c9ead00

File tree

3 files changed

+37
-35
lines changed
  • nalu-plugin-gwt-processor/src/test/java/com/github/nalukit/nalu/processor
  • nalu-processor/src/test/java/com/github/nalukit/nalu/processor
  • nalu/src/test/java/com/github/nalukit/nalu

3 files changed

+37
-35
lines changed

nalu-plugin-gwt-processor/src/test/java/com/github/nalukit/nalu/processor/AllTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.junit.platform.suite.api.Suite;
2323
import org.junit.runner.RunWith;
2424

25-
@RunWith(JUnitPlatform.class)
25+
@Suite()
2626
@SelectClasses({ ProviderTest.class })
2727
public class AllTests {
2828

nalu-processor/src/test/java/com/github/nalukit/nalu/processor/AllTests.java

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -51,41 +51,42 @@
5151
import com.github.nalukit.nalu.processor.test.model.property.PropertiesTest;
5252
import org.junit.platform.runner.JUnitPlatform;
5353
import org.junit.platform.suite.api.SelectClasses;
54+
import org.junit.platform.suite.api.Suite;
5455
import org.junit.runner.RunWith;
5556

56-
@RunWith(JUnitPlatform.class)
57+
@Suite()
5758
@SelectClasses({ ApplicationTest.class,
58-
BlockControllerTest.class,
59-
ClassNameModelTest.class,
60-
CompositeCreatorTest.class,
61-
CompositeTest.class,
62-
CompositesTest.class,
63-
ConsistenceTest.class,
64-
ControllerCreatorTest.class,
65-
ControllerModelTest.class,
66-
ControllerTest.class,
67-
ErrorPopUpControllerTest.class,
68-
EventHandlerTest.class,
69-
EventHandlerBlockControllerTest.class,
70-
EventHandlerCompositeTest.class,
71-
EventHandlerControllerTest.class,
72-
EventHandlerErrorPopUpControllerTest.class,
73-
EventHandlerHandlerTest.class,
74-
EventHandlerPopUpControllerTest.class,
75-
EventHandlerShellTest.class,
76-
FiltersTest.class,
77-
HandlerTest.class,
78-
LoggerTest.class,
79-
MetaModelTest.class,
80-
ModuleTest.class,
81-
ParameterConstraintRuleTest.class,
82-
ParameterConstraintTest.class,
83-
PopUpControllerCreatorTest.class,
84-
PopUpFiltersTest.class,
85-
PropertiesTest.class,
86-
ShellCreatorTest.class,
87-
ShellTest.class,
88-
TrackerTest.class,
89-
VersionTest.class })
59+
BlockControllerTest.class,
60+
ClassNameModelTest.class,
61+
CompositeCreatorTest.class,
62+
CompositeTest.class,
63+
CompositesTest.class,
64+
ConsistenceTest.class,
65+
ControllerCreatorTest.class,
66+
ControllerModelTest.class,
67+
ControllerTest.class,
68+
ErrorPopUpControllerTest.class,
69+
EventHandlerTest.class,
70+
EventHandlerBlockControllerTest.class,
71+
EventHandlerCompositeTest.class,
72+
EventHandlerControllerTest.class,
73+
EventHandlerErrorPopUpControllerTest.class,
74+
EventHandlerHandlerTest.class,
75+
EventHandlerPopUpControllerTest.class,
76+
EventHandlerShellTest.class,
77+
FiltersTest.class,
78+
HandlerTest.class,
79+
LoggerTest.class,
80+
MetaModelTest.class,
81+
ModuleTest.class,
82+
ParameterConstraintRuleTest.class,
83+
ParameterConstraintTest.class,
84+
PopUpControllerCreatorTest.class,
85+
PopUpFiltersTest.class,
86+
PropertiesTest.class,
87+
ShellCreatorTest.class,
88+
ShellTest.class,
89+
TrackerTest.class,
90+
VersionTest.class })
9091
public class AllTests {
9192
}

nalu/src/test/java/com/github/nalukit/nalu/AllTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
import com.github.nalukit.nalu.client.util.NaluUtilsTest;
3030
import org.junit.platform.runner.JUnitPlatform;
3131
import org.junit.platform.suite.api.SelectClasses;
32+
import org.junit.platform.suite.api.Suite;
3233
import org.junit.runner.RunWith;
3334

34-
@RunWith(JUnitPlatform.class)
35+
@Suite()
3536
@SelectClasses({ NaluTest.class,
3637
NaluUtilsTest.class,
3738
RouteConfigTest.class,

0 commit comments

Comments
 (0)