AbstractTransactionalJUnit4SpringContextTests.java (spring-framework-5.3.23) | : | AbstractTransactionalJUnit4SpringContextTests.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 60 | skipping to change at line 60 | |||
* <p>This class exposes a {@link JdbcTemplate} and provides an easy way to | * <p>This class exposes a {@link JdbcTemplate} and provides an easy way to | |||
* {@linkplain #countRowsInTable count the number of rows in a table} | * {@linkplain #countRowsInTable count the number of rows in a table} | |||
* (potentially {@linkplain #countRowsInTableWhere with a WHERE clause}), | * (potentially {@linkplain #countRowsInTableWhere with a WHERE clause}), | |||
* {@linkplain #deleteFromTables delete from tables}, | * {@linkplain #deleteFromTables delete from tables}, | |||
* {@linkplain #dropTables drop tables}, and | * {@linkplain #dropTables drop tables}, and | |||
* {@linkplain #executeSqlScript execute SQL scripts} within a transaction. | * {@linkplain #executeSqlScript execute SQL scripts} within a transaction. | |||
* | * | |||
* <p>Concrete subclasses must fulfill the same requirements outlined in | * <p>Concrete subclasses must fulfill the same requirements outlined in | |||
* {@link AbstractJUnit4SpringContextTests}. | * {@link AbstractJUnit4SpringContextTests}. | |||
* | * | |||
* <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> | * <li>{@link org.springframework.test.context.event.ApplicationEventsTestExecut ionListener}</li> | |||
* <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.transaction.TransactionalTestExec utionListener} | * <li>{@link org.springframework.test.context.transaction.TransactionalTestExec utionListener} | |||
* <li>{@link org.springframework.test.context.jdbc.SqlScriptsTestExecutionListe ner} | * <li>{@link org.springframework.test.context.jdbc.SqlScriptsTestExecutionListe ner} | |||
* <li>{@link org.springframework.test.context.event.EventPublishingTestExecutio nListener} | * <li>{@link org.springframework.test.context.event.EventPublishingTestExecutio nListener} | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added |