Browse Source

Remove Hibernate 5.2 smoke test to prepare for EE 9 upgrade

Closes gh-28826
pull/28862/head
Andy Wilkinson 4 years ago
parent
commit
90e8a7da3a
  1. 22
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle
  2. 29
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/main/java/org/springframework/boot/tests/hibernate52/Hibernate52Application.java
  3. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/main/resources/application.properties
  4. 30
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/test/java/org/springframework/boot/tests/hibernate52/Hibernate52ApplicationTests.java

22
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle

@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Hibernate 5.2 smoke test"
configurations.all {
resolutionStrategy {
force "org.hibernate:hibernate-core:5.2.17.Final"
}
}
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-jpa")) {
exclude group: "org.hibernate.javax.persistence", module: "hibernate-jpa-2.1-api"
}
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
}

29
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/main/java/org/springframework/boot/tests/hibernate52/Hibernate52Application.java

@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
/*
* Copyright 2012-2019 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.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.tests.hibernate52;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Hibernate52Application {
public static void main(String[] args) {
SpringApplication.run(Hibernate52Application.class, args);
}
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/main/resources/application.properties

@ -1 +0,0 @@ @@ -1 +0,0 @@
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

30
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/src/test/java/org/springframework/boot/tests/hibernate52/Hibernate52ApplicationTests.java

@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
/*
* Copyright 2012-2019 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.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.tests.hibernate52;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class Hibernate52ApplicationTests {
@Test
void contextLoads() {
}
}
Loading…
Cancel
Save