Skip to content

Commit d2f0b2b

Browse files
committed
Correct package statements of Testing section's Kotlin snippets
Closes gh-42094
1 parent 9f8fae0 commit d2f0b2b

File tree

94 files changed

+191
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+191
-357
lines changed

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/springbootapplications/autoconfiguredspringdataneo4j/propagation/SomeRepository.kt

Lines changed: 0 additions & 19 deletions
This file was deleted.

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/testcontainers/dynamicproperties/MyIntegrationTests.kt

Lines changed: 0 additions & 48 deletions
This file was deleted.

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/testcontainers/serviceconnections/MyIntegrationTests.kt

Lines changed: 0 additions & 43 deletions
This file was deleted.

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/testcontainers/serviceconnections/MyRedisConfiguration.kt

Lines changed: 0 additions & 33 deletions
This file was deleted.

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/testcontainers/vanilla/MyIntegrationTests.kt

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.additionalautoconfigurationandslicing
17+
package org.springframework.boot.docs.testing.springbootapplications.additionalautoconfigurationandslicing
1818

1919
import org.springframework.boot.autoconfigure.ImportAutoConfiguration
2020
import org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredjdbc
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredjdbc
1818

1919
import org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
2020
import org.springframework.transaction.annotation.Propagation
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredjooq
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredjooq
1818

1919
import org.jooq.DSLContext
2020
import org.springframework.beans.factory.annotation.Autowired
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredrestclient
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredrestclient
1818

1919
import org.assertj.core.api.Assertions.assertThat
2020
import org.junit.jupiter.api.Test
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredrestclient
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredrestclient
1818

1919
import org.assertj.core.api.Assertions.assertThat
2020
import org.junit.jupiter.api.Test
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredrestclient
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredrestclient
1818

1919
class RemoteVehicleDetailsService {
2020

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdatacassandra
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdatacassandra
1818

1919
import org.springframework.beans.factory.annotation.Autowired
2020
import org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,6 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdataredis
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdatacassandra
1818

1919
interface SomeRepository
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdatacouchbase
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdatacouchbase
1818

1919
import org.springframework.beans.factory.annotation.Autowired
2020
import org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,6 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdatacassandra
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdatacouchbase
1818

1919
interface SomeRepository
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdataelasticsearch
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdataelasticsearch
1818

1919
import org.springframework.beans.factory.annotation.Autowired
2020
import org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,6 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdatacouchbase
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdataelasticsearch
1818

1919
interface SomeRepository
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docs.features.testing.springbootapplications.autoconfiguredspringdatajpa
17+
package org.springframework.boot.docs.testing.springbootapplications.autoconfiguredspringdatajpa
1818

1919
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
2020
import org.springframework.transaction.annotation.Propagation

0 commit comments

Comments
 (0)