AwsCredentialsTest

Source file "com/google/auth/oauth2/AwsCredentialsTest.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,822 of 2,8220%16 of 160%59597977975151
retrieveSubjectTokenWithSessionTokenUrl()1390%20%22303011
retrieveSubjectToken()1240%20%22272711
retrieveSubjectToken_imdsv1EnvVariablesSet_metadataServerNotCalled()1230%20%22313111
retrieveSubjectToken_imdsv2EnvVariablesSet_metadataServerNotCalled()1230%20%22313111
retrieveSubjectToken_withProgrammaticRefreshSessionToken()1190%20%22282811
retrieveSubjectToken_withProgrammaticRefresh()1070%20%22262611
newBuilder_allFields()1060%n/a11323211
newBuilder_noUniverseDomain_defaults()1030%n/a11313111
builder_missingUniverseDomain_defaults()940%n/a11313111
createdScoped_clonedCredentialWithAddedScopes()900%n/a11252511
builder_allFields()900%n/a11303011
retrieveSubjectToken_noCredentials_expectThrows()890%n/a11171711
retrieveSubjectToken_noRole_expectThrows()770%n/a11161611
refreshAccessToken_withServiceAccountImpersonationOptions()720%n/a11262611
serialize()640%n/a11222211
writeAwsCredentialsStream(String, String, String)620%n/a11131311
builder_supplierAndCredSourceThrows()600%n/a11202011
refreshAccessTokenProgrammaticRefresh_withServiceAccountImpersonation()560%n/a11191911
retrieveSubjectToken_noRegion_expectThrows()550%n/a11141411
refreshAccessToken_withServiceAccountImpersonation()530%n/a11191911
getAwsSecurityCredentials_fromMetadataServer()530%n/a11161611
builder_defaultRegionalCredentialVerificationUrlOverride()530%n/a11191911
retrieveSubjectToken_noRegionUrlProvided()500%n/a11151511
builder_noSupplieOrCredSourceThrows()500%n/a11181811
getAwsSecurityCredentials_fromEnvironmentVariablesWithToken()490%n/a11171711
getAwsRegion_metadataServer()490%n/a11151511
refreshAccessTokenProgrammaticRefresh_withoutServiceAccountImpersonation()480%n/a11151511
retrieveSubjectToken_passesContext()470%n/a11161611
getAwsSecurityCredentials_fromMetadataServer_noUrlProvided()470%n/a11161611
getAwsRegion_awsRegionEnvironmentVariable()450%n/a11151511
retrieveSubjectToken_withProgrammaticRefreshThrowsError()440%n/a11131311
test_awsCredentialSource()430%20%226611
credentialSource_invalidAwsEnvironmentVersion()420%n/a11101011
ValidateRequest(MockLowLevelHttpRequest, String, Map)410%20%229911
static {...}410%n/a11141411
refreshAccessToken_withoutServiceAccountImpersonation()400%n/a11131311
getAwsRegion_awsDefaultRegionEnvironmentVariable()400%n/a11141411
getAwsSecurityCredentials_fromEnvironmentVariables_noMetadataServerCall()390%n/a11151511
buildAwsIpv6CredentialSourceMap()370%n/a11101011
getAwsSecurityCredentials_fromEnvironmentVariablesNoToken()350%n/a11141411
buildAwsCredentialSourceMap(ExternalAccountCredentialsTest.MockExternalAccountCredentialsTransportFactory)300%n/a116611
credentialSource_invalidAwsEnvironmentId()250%n/a117711
credentialSource_missingRegionalCredVerificationUrl()150%n/a116611
buildAwsImdsv2CredentialSource(ExternalAccountCredentialsTest.MockExternalAccountCredentialsTransportFactory)150%n/a114411
buildAwsCredentialSource(ExternalAccountCredentialsTest.MockExternalAccountCredentialsTransportFactory)60%n/a111111
lambda$credentialSource_missingRegionalCredVerificationUrl$4(HashMap)60%n/a111111
lambda$credentialSource_invalidAwsEnvironmentVersion$3(Map)60%n/a111111
lambda$credentialSource_invalidAwsEnvironmentId$2(Map)60%n/a111111
lambda$getAwsSecurityCredentials_fromMetadataServer_noUrlProvided$1(AwsCredentials)60%n/a111111
lambda$test_awsCredentialSource$0(Map)50%n/a111111
AwsCredentialsTest()30%n/a111111