From faa606ce670d655cb1fde82ebfce0fcac1a2dc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0imkovi=C4=8D?= Date: Thu, 30 Jun 2016 10:04:59 +0200 Subject: [PATCH] added issue #6254 --- gh-6254/pom.xml | 55 +++++++++++++++++++ .../java/com/example/DemoApplication.java | 12 ++++ .../src/main/resources/application.properties | 0 .../java/com/example/DemoApplicationIT.java | 20 +++++++ 4 files changed, 87 insertions(+) create mode 100644 gh-6254/pom.xml create mode 100644 gh-6254/src/main/java/com/example/DemoApplication.java create mode 100644 gh-6254/src/main/resources/application.properties create mode 100644 gh-6254/src/test/java/com/example/DemoApplicationIT.java diff --git a/gh-6254/pom.xml b/gh-6254/pom.xml new file mode 100644 index 0000000..39085b1 --- /dev/null +++ b/gh-6254/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + com.example + demo + 0.0.1-SNAPSHOT + jar + + Spring Boot Maven Failsafe plugin + Failing of integration-test goal under Spring Boot 1.4.0.M3 + + + org.springframework.boot + spring-boot-starter-parent + 1.4.0.M3 + + + + + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-failsafe-plugin + + + **/*IT.java + + + + + + diff --git a/gh-6254/src/main/java/com/example/DemoApplication.java b/gh-6254/src/main/java/com/example/DemoApplication.java new file mode 100644 index 0000000..6fce789 --- /dev/null +++ b/gh-6254/src/main/java/com/example/DemoApplication.java @@ -0,0 +1,12 @@ +package com.example; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class DemoApplication { + + public static void main(String[] args) { + SpringApplication.run(DemoApplication.class, args); + } +} diff --git a/gh-6254/src/main/resources/application.properties b/gh-6254/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/gh-6254/src/test/java/com/example/DemoApplicationIT.java b/gh-6254/src/test/java/com/example/DemoApplicationIT.java new file mode 100644 index 0000000..c612242 --- /dev/null +++ b/gh-6254/src/test/java/com/example/DemoApplicationIT.java @@ -0,0 +1,20 @@ +package com.example; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +//v 1.4.0 +@RunWith(SpringRunner.class) +@SpringBootTest(classes = DemoApplication.class) +//v 1.3.5 +//@RunWith(SpringJUnit4ClassRunner.class) +//@SpringApplicationConfiguration(DemoApplication.class) +public class DemoApplicationIT { + + @Test + public void contextLoads() { + } + +}