Polishing
This commit is contained in:
parent
0daaa1c38a
commit
36a2a62294
|
@ -22,6 +22,8 @@ import java.util.Set;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* Abstract base class for AOT tests.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 6.0
|
||||
*/
|
||||
|
|
|
@ -46,13 +46,13 @@ import static org.junit.platform.engine.discovery.DiscoverySelectors.selectClass
|
|||
import static org.junit.platform.launcher.EngineFilter.includeEngines;
|
||||
|
||||
/**
|
||||
* Smoke tests for AOT support in the TestContext framework.
|
||||
* End-to-end integration tests for AOT support in the TestContext framework.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 6.0
|
||||
*/
|
||||
@CompileWithTargetClassAccess
|
||||
class AotSmokeTests extends AbstractAotTests {
|
||||
class AotIntegrationTests extends AbstractAotTests {
|
||||
|
||||
private static final String CLASSPATH_ROOT = "AotSmokeTests.classpath_root";
|
||||
|
||||
|
@ -66,7 +66,7 @@ class AotSmokeTests extends AbstractAotTests {
|
|||
// nested JUnit Platform launched by the CompileWithTargetClassAccessExtension.
|
||||
static {
|
||||
try {
|
||||
Path classpathRoot = Paths.get(AotSmokeTests.class.getProtectionDomain().getCodeSource().getLocation().toURI());
|
||||
Path classpathRoot = Paths.get(AotIntegrationTests.class.getProtectionDomain().getCodeSource().getLocation().toURI());
|
||||
System.setProperty(CLASSPATH_ROOT, classpathRoot.toFile().getCanonicalPath());
|
||||
}
|
||||
catch (Exception ex) {
|
|
@ -65,7 +65,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||
import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppContextSetup;
|
||||
|
||||
/**
|
||||
* Tests for {@link TestContextAotGenerator}.
|
||||
* Tests for {@link TestContextAotGenerator}, {@link AotTestMappings},
|
||||
* {@link AotContextLoader}, and run-time hints.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 6.0
|
||||
|
@ -74,7 +75,7 @@ import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppC
|
|||
class TestContextAotGeneratorTests extends AbstractAotTests {
|
||||
|
||||
/**
|
||||
* @see AotSmokeTests#scanClassPathThenGenerateSourceFilesAndCompileThem()
|
||||
* @see AotIntegrationTests#endToEndTests()
|
||||
*/
|
||||
@Test
|
||||
void processAheadOfTimeAndGenerateAotTestMappings() {
|
||||
|
|
Loading…
Reference in New Issue