Skip to content

Commit fdfc89c

Browse files
committed
test: replace deprecated @RunWith with @Suite
- Update tests to use the `@Suite` annotation, replacing the deprecated `@RunWith`.
1 parent 0f435b9 commit fdfc89c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
package org.grails.datastore.gorm
22

33
import grails.gorm.tests.NotInListSpec
4-
import org.junit.platform.runner.JUnitPlatform
54
import org.junit.platform.suite.api.SelectClasses
6-
import org.junit.runner.RunWith
5+
import org.junit.platform.suite.api.Suite
76

87
/**
98
* @author graemerocher
109
*/
11-
//TODO: Replace with JUnit5 declarative test suites once https://github.com/junit-team/junit5/issues/744 is resolved
12-
@RunWith(JUnitPlatform)
10+
@Suite
1311
@SelectClasses([NotInListSpec])
1412
class SimpleMapTestSuite {
1513
}

0 commit comments

Comments
 (0)