Skip to content

Commit b6abf45

Browse files
committed
Introduce @suite classes for individual modules
1 parent 2d94b43 commit b6abf45

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright 2002-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework;
18+
19+
import org.junit.platform.suite.api.IncludeClassNamePatterns;
20+
import org.junit.platform.suite.api.SelectPackages;
21+
import org.junit.platform.suite.api.Suite;
22+
23+
/**
24+
* JUnit Platform based test suite for tests in the spring-core module.
25+
*
26+
* <p><strong>This suite is only intended to be used manually within an IDE.</strong>
27+
*
28+
* @author Sam Brannen
29+
*/
30+
@Suite
31+
@SelectPackages({"org.springframework.core", "org.springframework.util"})
32+
@IncludeClassNamePatterns(".*Tests?$")
33+
class SpringCoreTestSuite {
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright 2002-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework.expression.spel;
18+
19+
import org.junit.platform.suite.api.IncludeClassNamePatterns;
20+
import org.junit.platform.suite.api.SelectPackages;
21+
import org.junit.platform.suite.api.Suite;
22+
23+
/**
24+
* JUnit Platform based test suite for tests in the spring-expression module.
25+
*
26+
* <p><strong>This suite is only intended to be used manually within an IDE.</strong>
27+
*
28+
* @author Sam Brannen
29+
*/
30+
@Suite
31+
@SelectPackages("org.springframework.expression.spel")
32+
@IncludeClassNamePatterns(".*Tests?$")
33+
class SpringExpressionTestSuite {
34+
}

0 commit comments

Comments
 (0)