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:
@@ -29,6 +29,7 @@ import org.junit.BeforeClass;
|
||||
import org.springframework.mock.web.test.MockHttpServletRequest;
|
||||
import org.springframework.mock.web.test.MockHttpServletResponse;
|
||||
import org.springframework.tests.Assume;
|
||||
import org.springframework.tests.TestGroup;
|
||||
import org.springframework.ui.jasperreports.PersonBean;
|
||||
import org.springframework.ui.jasperreports.ProductBean;
|
||||
import org.springframework.util.ClassUtils;
|
||||
@@ -59,6 +60,7 @@ public abstract class AbstractJasperReportsTests {
|
||||
@BeforeClass
|
||||
public static void assumptions() {
|
||||
Assume.canLoadNativeDirFonts();
|
||||
Assume.group(TestGroup.CUSTOM_COMPILATION);
|
||||
}
|
||||
|
||||
@Before
|
||||
|
||||
Reference in New Issue
Block a user