Add TestGroup.CUSTOM_COMPILATION
Previously building with JDK > 1.8 b88 caused test failures due to errors with custom compilers like Jibx and Jasper reports. This commit adds a new TestGroup named CUSTOM_COMPILATION that allows the CI server to continue to run these tests but allow committers to ignore these tests.
This commit is contained in:
@@ -59,8 +59,14 @@ public enum TestGroup {
|
||||
/**
|
||||
* Tests that should only be run on the continuous integration server.
|
||||
*/
|
||||
CI;
|
||||
CI,
|
||||
|
||||
/**
|
||||
* Tests that require custom compilation beyond that of the standard JDK. This helps to
|
||||
* allow running tests that will otherwise fail when using JDK > 1.8 b88. See
|
||||
* <a href="https://jira.springsource.org/browse/SPR-10558">SPR-10558</a>
|
||||
*/
|
||||
CUSTOM_COMPILATION;
|
||||
|
||||
/**
|
||||
* Parse the specified comma separates string of groups.
|
||||
|
||||
@@ -64,7 +64,7 @@ public class TestGroupTests {
|
||||
thrown.expect(IllegalArgumentException.class);
|
||||
thrown.expectMessage("Unable to find test group 'missing' when parsing " +
|
||||
"testGroups value: 'performance, missing'. Available groups include: " +
|
||||
"[LONG_RUNNING,PERFORMANCE,JMXMP,CI]");
|
||||
"[LONG_RUNNING,PERFORMANCE,JMXMP,CI,CUSTOM_COMPILATION]");
|
||||
TestGroup.parse("performance, missing");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user