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
de7812aa
Commit
de7812aa
authored
Feb 14, 2019
by
Michael Simons
Committed by
Stephane Nicoll
Feb 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop using imports from shaded dependencies
See gh-15950
parent
90f059cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
OAuth2ClientPropertiesRegistrationAdapterTests.java
...lient/OAuth2ClientPropertiesRegistrationAdapterTests.java
+3
-2
ReactiveOAuth2ResourceServerAutoConfigurationTests.java
...e/ReactiveOAuth2ResourceServerAutoConfigurationTests.java
+2
-2
OAuth2ResourceServerAutoConfigurationTests.java
...e/servlet/OAuth2ResourceServerAutoConfigurationTests.java
+2
-2
WebMvcPropertiesTests.java
...boot/autoconfigure/web/servlet/WebMvcPropertiesTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2ClientPropertiesRegistrationAdapterTests.java
View file @
de7812aa
...
@@ -20,11 +20,12 @@ import java.util.Collections;
...
@@ -20,11 +20,12 @@ import java.util.Collections;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
import
com.fasterxml.jackson.core.JsonProcessingException
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockWebServer
;
import
okhttp3.mockwebserver.MockWebServer
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.testcontainers.shaded.com.fasterxml.jackson.databind.ObjectMapper
;
import
org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.Provider
;
import
org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.Provider
;
import
org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.Registration
;
import
org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.Registration
;
...
@@ -337,7 +338,7 @@ public class OAuth2ClientPropertiesRegistrationAdapterTests {
...
@@ -337,7 +338,7 @@ public class OAuth2ClientPropertiesRegistrationAdapterTests {
org
.
springframework
.
security
.
oauth2
.
core
.
AuthenticationMethod
.
HEADER
);
org
.
springframework
.
security
.
oauth2
.
core
.
AuthenticationMethod
.
HEADER
);
}
}
private
void
setupMockResponse
(
String
issuer
)
throws
Exception
{
private
void
setupMockResponse
(
String
issuer
)
throws
JsonProcessing
Exception
{
MockResponse
mockResponse
=
new
MockResponse
()
MockResponse
mockResponse
=
new
MockResponse
()
.
setResponseCode
(
HttpStatus
.
OK
.
value
())
.
setResponseCode
(
HttpStatus
.
OK
.
value
())
.
setBody
(
new
ObjectMapper
().
writeValueAsString
(
getResponse
(
issuer
)))
.
setBody
(
new
ObjectMapper
().
writeValueAsString
(
getResponse
(
issuer
)))
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/resource/reactive/ReactiveOAuth2ResourceServerAutoConfigurationTests.java
View file @
de7812aa
...
@@ -21,12 +21,12 @@ import java.util.HashMap;
...
@@ -21,12 +21,12 @@ import java.util.HashMap;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Stream
;
import
java.util.stream.Stream
;
import
com.fasterxml.jackson.core.JsonProcessingException
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockWebServer
;
import
okhttp3.mockwebserver.MockWebServer
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.testcontainers.shaded.com.fasterxml.jackson.core.JsonProcessingException
;
import
org.testcontainers.shaded.com.fasterxml.jackson.databind.ObjectMapper
;
import
org.springframework.boot.autoconfigure.AutoConfigurations
;
import
org.springframework.boot.autoconfigure.AutoConfigurations
;
import
org.springframework.boot.test.context.FilteredClassLoader
;
import
org.springframework.boot.test.context.FilteredClassLoader
;
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/resource/servlet/OAuth2ResourceServerAutoConfigurationTests.java
View file @
de7812aa
...
@@ -22,12 +22,12 @@ import java.util.Map;
...
@@ -22,12 +22,12 @@ import java.util.Map;
import
javax.servlet.Filter
;
import
javax.servlet.Filter
;
import
com.fasterxml.jackson.core.JsonProcessingException
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockResponse
;
import
okhttp3.mockwebserver.MockWebServer
;
import
okhttp3.mockwebserver.MockWebServer
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.testcontainers.shaded.com.fasterxml.jackson.core.JsonProcessingException
;
import
org.testcontainers.shaded.com.fasterxml.jackson.databind.ObjectMapper
;
import
org.springframework.boot.autoconfigure.AutoConfigurations
;
import
org.springframework.boot.autoconfigure.AutoConfigurations
;
import
org.springframework.boot.test.context.FilteredClassLoader
;
import
org.springframework.boot.test.context.FilteredClassLoader
;
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcPropertiesTests.java
View file @
de7812aa
...
@@ -19,8 +19,8 @@ package org.springframework.boot.autoconfigure.web.servlet;
...
@@ -19,8 +19,8 @@ package org.springframework.boot.autoconfigure.web.servlet;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.Map
;
import
java.util.Map
;
import
org.assertj.core.util.Throwables
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.testcontainers.shaded.com.google.common.base.Throwables
;
import
org.springframework.boot.context.properties.bind.BindException
;
import
org.springframework.boot.context.properties.bind.BindException
;
import
org.springframework.boot.context.properties.bind.Bindable
;
import
org.springframework.boot.context.properties.bind.Bindable
;
...
...
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