File tree Expand file tree Collapse file tree
google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2 Expand file tree Collapse file tree 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 ;
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 ;
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 ;
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 ;
4240import static org .junit .jupiter .api .Assertions .assertNull ;
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 ;
You can’t perform that action at this time.
0 commit comments