|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
|
* Copyright 2002-2025 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -22,15 +22,12 @@ import org.springframework.test.context.TestExecutionListeners;
@@ -22,15 +22,12 @@ import org.springframework.test.context.TestExecutionListeners;
|
|
|
|
|
import org.springframework.test.context.aot.DisabledInAotMode; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p> |
|
|
|
|
* Simple unit test to verify that {@link SpringRunner} does not |
|
|
|
|
* hinder correct functionality of standard JUnit 4.4+ testing features. |
|
|
|
|
* </p> |
|
|
|
|
* <p> |
|
|
|
|
* Note that {@link TestExecutionListeners @TestExecutionListeners} is |
|
|
|
|
* Simple unit test to verify that the {@link SpringRunner} does not |
|
|
|
|
* hinder correct functionality of standard JUnit 4 testing features. |
|
|
|
|
* |
|
|
|
|
* <p>Note that {@link TestExecutionListeners @TestExecutionListeners} is |
|
|
|
|
* explicitly configured with an empty list, thus disabling all default |
|
|
|
|
* listeners. |
|
|
|
|
* </p> |
|
|
|
|
* |
|
|
|
|
* @author Sam Brannen |
|
|
|
|
* @since 2.5 |
|
|
|
|
@ -39,6 +36,7 @@ import org.springframework.test.context.aot.DisabledInAotMode;
@@ -39,6 +36,7 @@ import org.springframework.test.context.aot.DisabledInAotMode;
|
|
|
|
|
@RunWith(SpringRunner.class) |
|
|
|
|
@TestExecutionListeners({}) |
|
|
|
|
@DisabledInAotMode("Does not load an ApplicationContext and thus not supported for AOT processing") |
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
public class StandardJUnit4FeaturesSpringRunnerTests extends StandardJUnit4FeaturesTests { |
|
|
|
|
|
|
|
|
|
/* All tests are in the parent class... */ |
|
|
|
|
|