AbstractJUnit4SpringContextTests.java (spring-framework-5.3.23) | : | AbstractJUnit4SpringContextTests.java (spring-framework-5.3.24) | ||
---|---|---|---|---|
/* | /* | |||
* Copyright 2002-2020 the original author or authors. | * Copyright 2002-2022 the original author or authors. | |||
* | * | |||
* Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | |||
* you may not use this file except in compliance with the License. | * you may not use this file except in compliance with the License. | |||
* You may obtain a copy of the License at | * You may obtain a copy of the License at | |||
* | * | |||
* https://www.apache.org/licenses/LICENSE-2.0 | * https://www.apache.org/licenses/LICENSE-2.0 | |||
* | * | |||
* Unless required by applicable law or agreed to in writing, software | * Unless required by applicable law or agreed to in writing, software | |||
* distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | |||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
skipping to change at line 52 | skipping to change at line 52 | |||
* <p>Concrete subclasses should typically declare a class-level | * <p>Concrete subclasses should typically declare a class-level | |||
* {@link ContextConfiguration @ContextConfiguration} annotation to | * {@link ContextConfiguration @ContextConfiguration} annotation to | |||
* configure the {@linkplain ApplicationContext application context} {@linkplain | * configure the {@linkplain ApplicationContext application context} {@linkplain | |||
* ContextConfiguration#locations() resource locations} or {@linkplain | * ContextConfiguration#locations() resource locations} or {@linkplain | |||
* ContextConfiguration#classes() component classes}. <em>If your test does not | * ContextConfiguration#classes() component classes}. <em>If your test does not | |||
* need to load an application context, you may choose to omit the | * need to load an application context, you may choose to omit the | |||
* {@link ContextConfiguration @ContextConfiguration} declaration and to configu re | * {@link ContextConfiguration @ContextConfiguration} declaration and to configu re | |||
* the appropriate {@link org.springframework.test.context.TestExecutionListener | * the appropriate {@link org.springframework.test.context.TestExecutionListener | |||
* TestExecutionListeners} manually.</em> | * TestExecutionListeners} manually.</em> | |||
* | * | |||
* <p>The following {@link org.springframework.test.context.TestExecutionListene | * <p>This class explicitly registers the following {@code TestExecutionListener | |||
r | } | |||
* TestExecutionListeners} are configured by default: | * implementations. If you want to switch to using the <em>default</em> set of | |||
* listeners, see the class-level Javadoc for | ||||
* {@link TestExecutionListeners @TestExecutionListeners} for details. | ||||
* | * | |||
* <ul> | * <ul> | |||
* <li>{@link org.springframework.test.context.web.ServletTestExecutionListener} | * <li>{@link org.springframework.test.context.web.ServletTestExecutionListener} | |||
* <li>{@link org.springframework.test.context.support.DirtiesContextBeforeModes TestExecutionListener} | * <li>{@link org.springframework.test.context.support.DirtiesContextBeforeModes TestExecutionListener} | |||
* <li>{@link org.springframework.test.context.event.ApplicationEventsTestExecut ionListener} | * <li>{@link org.springframework.test.context.event.ApplicationEventsTestExecut ionListener} | |||
* <li>{@link org.springframework.test.context.support.DependencyInjectionTestEx ecutionListener} | * <li>{@link org.springframework.test.context.support.DependencyInjectionTestEx ecutionListener} | |||
* <li>{@link org.springframework.test.context.support.DirtiesContextTestExecuti onListener} | * <li>{@link org.springframework.test.context.support.DirtiesContextTestExecuti onListener} | |||
* <li>{@link org.springframework.test.context.event.EventPublishingTestExecutio nListener} | * <li>{@link org.springframework.test.context.event.EventPublishingTestExecutio nListener} | |||
* </ul> | * </ul> | |||
* | * | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added |