This commit is contained in:
Stéphane Nicoll
2024-01-08 11:16:11 +01:00
parent 8552e149b5
commit 2d3b02a89d
36 changed files with 618 additions and 633 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 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.
@@ -25,13 +25,13 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.mockito.BDDMockito.mock;
/**
* Unit tests for {@link ResourceDatabasePopulator}.
* Tests for {@link ResourceDatabasePopulator}.
*
* @author Sam Brannen
* @since 4.1
* @see AbstractDatabasePopulatorTests
*/
class ResourceDatabasePopulatorUnitTests {
class ResourceDatabasePopulatorTests {
private static final Resource script1 = mock();
private static final Resource script2 = mock();

View File

@@ -30,7 +30,7 @@ import static org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScr
*
* @author Sam Brannen
* @since 4.0.3
* @see ScriptUtilsUnitTests
* @see ScriptUtilsTests
*/
class ScriptUtilsIntegrationTests extends AbstractDatabaseInitializationTests {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 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.
@@ -36,7 +36,7 @@ import static org.springframework.jdbc.datasource.init.ScriptUtils.DEFAULT_COMME
import static org.springframework.jdbc.datasource.init.ScriptUtils.DEFAULT_STATEMENT_SEPARATOR;
/**
* Unit tests for {@link ScriptUtils}.
* Tests for {@link ScriptUtils}.
*
* @author Thomas Risberg
* @author Sam Brannen
@@ -46,7 +46,7 @@ import static org.springframework.jdbc.datasource.init.ScriptUtils.DEFAULT_STATE
* @since 4.0.3
* @see ScriptUtilsIntegrationTests
*/
class ScriptUtilsUnitTests {
class ScriptUtilsTests {
@Test
void splitSqlScriptDelimitedWithSemicolon() {