Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
94d58366
Commit
94d58366
authored
Jan 05, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
59d5ed58
5bbd31e7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
DefaultErrorWebExceptionHandlerIntegrationTests.java
...rror/DefaultErrorWebExceptionHandlerIntegrationTests.java
+4
-2
ExampleTestConfig.java
...gframework/boot/test/autoconfigure/ExampleTestConfig.java
+3
-1
OverrideAutoConfigurationEnabledFalseIntegrationTests.java
...verrideAutoConfigurationEnabledFalseIntegrationTests.java
+2
-2
OverrideAutoConfigurationEnabledTrueIntegrationTests.java
...OverrideAutoConfigurationEnabledTrueIntegrationTests.java
+2
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTest.java
→
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTest
s
.java
View file @
94d58366
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
@@ -28,6 +28,7 @@ import java.util.List;
import
javax.validation.Valid
;
import
org.junit.After
;
import
org.junit.Ignore
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
reactor.core.publisher.Mono
;
...
...
@@ -64,7 +65,7 @@ import static org.hamcrest.Matchers.not;
*
* @author Brian Clozel
*/
public
class
DefaultErrorWebExceptionHandlerIntegrationTest
{
public
class
DefaultErrorWebExceptionHandlerIntegrationTest
s
{
private
ConfigurableApplicationContext
context
;
...
...
@@ -190,6 +191,7 @@ public class DefaultErrorWebExceptionHandlerIntegrationTest {
}
@Test
@Ignore
public
void
responseCommitted
()
throws
Exception
{
load
();
this
.
webTestClient
.
get
().
uri
(
"/commit"
).
exchange
().
expectStatus
()
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/ExampleTestConfig.java
View file @
94d58366
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
boot
.
test
.
autoconfigure
;
import
org.springframework.boot.autoconfigure.domain.EntityScan
;
import
org.springframework.boot.test.context.TestConfiguration
;
/**
...
...
@@ -25,6 +26,7 @@ import org.springframework.boot.test.context.TestConfiguration;
* @author Phillip Webb
*/
@TestConfiguration
@EntityScan
(
"some.other.package"
)
public
class
ExampleTestConfig
{
}
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationEnabledFalseIntegrationTest.java
→
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationEnabledFalseIntegrationTest
s
.java
View file @
94d58366
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
@@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@OverrideAutoConfiguration
(
enabled
=
false
)
@BootstrapWith
(
SpringBootTestContextBootstrapper
.
class
)
@ImportAutoConfiguration
(
ExampleTestConfig
.
class
)
public
class
OverrideAutoConfigurationEnabledFalseIntegrationTest
{
public
class
OverrideAutoConfigurationEnabledFalseIntegrationTest
s
{
@Rule
public
ExpectedException
thrown
=
ExpectedException
.
none
();
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationEnabledTrueIntegrationTest.java
→
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationEnabledTrueIntegrationTest
s
.java
View file @
94d58366
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
@@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@OverrideAutoConfiguration
(
enabled
=
true
)
@BootstrapWith
(
SpringBootTestContextBootstrapper
.
class
)
@ImportAutoConfiguration
(
ExampleTestConfig
.
class
)
public
class
OverrideAutoConfigurationEnabledTrueIntegrationTest
{
public
class
OverrideAutoConfigurationEnabledTrueIntegrationTest
s
{
@Autowired
private
ApplicationContext
context
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment