File tree Expand file tree Collapse file tree 5 files changed +4
-9
lines changed
google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2 Expand file tree Collapse file tree 5 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 3232package com .google .auth .oauth2 ;
3333
3434import static com .google .auth .Credentials .GOOGLE_DEFAULT_UNIVERSE ;
35- import static org .junit .jupiter .api .Assertions .fail ;
3635import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
3736import static org .junit .jupiter .api .Assertions .assertEquals ;
3837import static org .junit .jupiter .api .Assertions .assertNotNull ;
5756import java .util .HashMap ;
5857import java .util .List ;
5958import java .util .Map ;
60-
6159import org .junit .jupiter .api .Assertions ;
6260import org .junit .jupiter .api .Test ;
6361
Original file line number Diff line number Diff line change 3434import static com .google .auth .oauth2 .ComputeEngineCredentials .METADATA_RESPONSE_EMPTY_CONTENT_ERROR_MESSAGE ;
3535import static com .google .auth .oauth2 .ImpersonatedCredentialsTest .SA_CLIENT_EMAIL ;
3636import static com .google .auth .oauth2 .RegionalAccessBoundary .X_ALLOWED_LOCATIONS_HEADER_KEY ;
37- import static org .junit .jupiter .api .Assertions .fail ;
3837import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
3938import static org .junit .jupiter .api .Assertions .assertEquals ;
4039import static org .junit .jupiter .api .Assertions .assertFalse ;
4544import static org .junit .jupiter .api .Assertions .assertSame ;
4645import static org .junit .jupiter .api .Assertions .assertThrows ;
4746import static org .junit .jupiter .api .Assertions .assertTrue ;
47+ import static org .junit .jupiter .api .Assertions .fail ;
4848
4949import com .google .api .client .http .HttpStatusCodes ;
5050import com .google .api .client .http .HttpTransport ;
Original file line number Diff line number Diff line change 3232package com .google .auth .oauth2 ;
3333
3434import static com .google .auth .Credentials .GOOGLE_DEFAULT_UNIVERSE ;
35- import static org .junit .jupiter .api .Assertions .fail ;
3635import static org .junit .jupiter .api .Assertions .assertEquals ;
3736import static org .junit .jupiter .api .Assertions .assertFalse ;
3837import static org .junit .jupiter .api .Assertions .assertNotEquals ;
4443import com .google .api .client .http .HttpTransport ;
4544import com .google .api .client .json .GenericJson ;
4645import com .google .api .client .testing .http .MockLowLevelHttpRequest ;
47- import com .google .api .client .util .Clock ;
4846import com .google .auth .TestUtils ;
4947import com .google .auth .http .AuthHttpConstants ;
5048import com .google .auth .http .HttpTransportFactory ;
6361import java .util .HashMap ;
6462import java .util .List ;
6563import java .util .Map ;
66-
6764import org .junit .jupiter .api .Assertions ;
6865import org .junit .jupiter .api .BeforeEach ;
6966import org .junit .jupiter .api .Test ;
Original file line number Diff line number Diff line change 3535import static com .google .auth .oauth2 .MockExternalAccountCredentialsTransport .SERVICE_ACCOUNT_IMPERSONATION_URL ;
3636import static com .google .auth .oauth2 .OAuth2Utils .JSON_FACTORY ;
3737import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
38- import static org .junit .jupiter .api .Assertions .assertNull ;
39- import static org .junit .jupiter .api .Assertions .fail ;
4038import static org .junit .jupiter .api .Assertions .assertEquals ;
4139import static org .junit .jupiter .api .Assertions .assertNotNull ;
40+ import static org .junit .jupiter .api .Assertions .assertNull ;
4241import static org .junit .jupiter .api .Assertions .assertSame ;
4342import static org .junit .jupiter .api .Assertions .assertThrows ;
4443import static org .junit .jupiter .api .Assertions .assertTrue ;
44+ import static org .junit .jupiter .api .Assertions .fail ;
4545
4646import com .google .api .client .http .HttpTransport ;
4747import com .google .api .client .json .GenericJson ;
Original file line number Diff line number Diff line change 3232package com .google .auth .oauth2 ;
3333
3434import static com .google .auth .oauth2 .RegionalAccessBoundary .X_ALLOWED_LOCATIONS_HEADER_KEY ;
35- import static org .junit .jupiter .api .Assertions .fail ;
3635import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
3736import static org .junit .jupiter .api .Assertions .assertEquals ;
3837import static org .junit .jupiter .api .Assertions .assertFalse ;
4241import static org .junit .jupiter .api .Assertions .assertSame ;
4342import static org .junit .jupiter .api .Assertions .assertThrows ;
4443import static org .junit .jupiter .api .Assertions .assertTrue ;
44+ import static org .junit .jupiter .api .Assertions .fail ;
4545import static org .mockito .Mockito .mock ;
4646import static org .mockito .Mockito .when ;
4747
You can’t perform that action at this time.
0 commit comments