Skip to content

SDKS-3597 Update Ping SDK Minimum Supported Version to API Level 28 #149

SDKS-3597 Update Ping SDK Minimum Supported Version to API Level 28

SDKS-3597 Update Ping SDK Minimum Supported Version to API Level 28 #149

GitHub Actions / Unit tests results succeeded Nov 21, 2024 in 0s

137 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
davinci/build/test-results/testDebugUnitTest/TEST-CollectorRegistryTest.xml 2✅ 2s
davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.DaVinciErrorTest.xml 10✅ 3s
davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.DaVinciTest.xml 4✅ 953ms
davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.PasswordCollectorTest.xml 2✅ 563ms
davinci/build/test-results/testDebugUnitTest/TEST-FieldCollectorTest.xml 2✅ 699ms
davinci/build/test-results/testDebugUnitTest/TEST-FlowCollectorTest.xml 3✅ 940ms
davinci/build/test-results/testDebugUnitTest/TEST-SubmitCollectorTest.xml 1✅ 295ms
davinci/build/test-results/testDebugUnitTest/TEST-TextCollectorTest.xml 3✅ 1s
foundation/davinci-plugin/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.plugin.CallbackFactoryTest.xml 3✅ 194ms
foundation/logger/build/test-results/testDebugUnitTest/TEST-com.pingidentity.logger.LoggerTest.xml 5✅ 3s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.agent.BrowserTest.xml 2✅ 10ms
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.AgentTest.xml 2✅ 4s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcClientConfigTest.xml 6✅ 6s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcClientTest.xml 12✅ 6s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcErrorTest.xml 5✅ 2s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcUserTest.xml 6✅ 2s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OpenIdConfigurationTest.xml 4✅ 1s
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.PkceTest.xml 2✅ 704ms
foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.TokenTest.xml 6✅ 2s
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.CookieModuleTest.xml 4✅ 4s
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.CustomHeaderModuleTest.xml 1✅ 369ms
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.NodeTest.xml 4✅ 4s
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.RequestTest.xml 6✅ 2s
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.ResponseTest.xml 5✅ 2s
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.SessionTest.xml 2✅ 638ms
foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.WorkflowTest.xml 21✅ 6s
foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.DataStoragePreferencesTest.xml 4✅ 10s
foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.DataStorageTest.xml 6✅ 3s
foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.MemoryStorageTest.xml 4✅ 2s

✅ davinci/build/test-results/testDebugUnitTest/TEST-CollectorRegistryTest.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CollectorRegistryTest 2✅ 2s

✅ CollectorRegistryTest

✅ should register Collector
✅ should ignore unknown Collector

✅ davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.DaVinciErrorTest.xml

10 tests were completed in 3s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.davinci.DaVinciErrorTest 10✅ 3s

✅ com.pingidentity.davinci.DaVinciErrorTest

✅ DaVinci 4xx Error with Error Timeout in Response
✅ DaVinci transform failed for invalid json
✅ DaVinci Authorization Failure with OK Status and Error Object in Response
✅ DaVinci well-known endpoint failed
✅ DaVinci authorize endpoint failed with OK response but error during Transform
✅ DaVinci 4xx Error with Invalid Connector and  Redirect
✅ DaVinci authorize endpoint failed
✅ DaVinci 4xx Error with Invalid Connector and Session
✅ DaVinci invalid password
✅ DaVinci 4xx Error with Error Code 1999 in Response

✅ davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.DaVinciTest.xml

4 tests were completed in 953ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.davinci.DaVinciTest 4✅ 953ms

✅ com.pingidentity.davinci.DaVinciTest

✅ DaVinci Simple happy path test
✅ DaVinci default module sequence
✅ DaVinci addition oidc parameter
✅ DaVinci revoke access token

✅ davinci/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.PasswordCollectorTest.xml

2 tests were completed in 563ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.davinci.PasswordCollectorTest 2✅ 563ms

✅ com.pingidentity.davinci.PasswordCollectorTest

✅ close should not clear password when clearPassword is false
✅ close should clear password when clearPassword is true

✅ davinci/build/test-results/testDebugUnitTest/TEST-FieldCollectorTest.xml

2 tests were completed in 699ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FieldCollectorTest 2✅ 699ms

✅ FieldCollectorTest

✅ should return value when value is set
✅ should initialize key and label from JsonObject

✅ davinci/build/test-results/testDebugUnitTest/TEST-FlowCollectorTest.xml

3 tests were completed in 940ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FlowCollectorTest 3✅ 940ms

✅ FlowCollectorTest

✅ should return value when value is set
✅ testInitialization
✅ should initialize key and label from JsonObject

✅ davinci/build/test-results/testDebugUnitTest/TEST-SubmitCollectorTest.xml

1 tests were completed in 295ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SubmitCollectorTest 1✅ 295ms

✅ SubmitCollectorTest

✅ testInitialization

✅ davinci/build/test-results/testDebugUnitTest/TEST-TextCollectorTest.xml

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TextCollectorTest 3✅ 1s

✅ TextCollectorTest

✅ should return value when value is set
✅ testInitialization
✅ should initialize key and label from JsonObject

✅ foundation/davinci-plugin/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.plugin.CallbackFactoryTest.xml

3 tests were completed in 194ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.davinci.plugin.CallbackFactoryTest 3✅ 194ms

✅ com.pingidentity.davinci.plugin.CallbackFactoryTest

✅ Should return list of collectors when valid types are provided
✅ Should return empty list when no valid types are provided
✅ Should return empty list when jsonArray is empty

✅ foundation/logger/build/test-results/testDebugUnitTest/TEST-com.pingidentity.logger.LoggerTest.xml

5 tests were completed in 3s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.logger.LoggerTest 5✅ 3s

✅ com.pingidentity.logger.LoggerTest

✅ multipleLoggers
✅ loggerSameInstanceNone
✅ loggerSameInstanceWarn
✅ loggerSameInstanceStandard
✅ loggerSameInstanceConsole

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.agent.BrowserTest.xml

2 tests were completed in 10ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.agent.BrowserTest 2✅ 10ms

✅ com.pingidentity.oidc.agent.BrowserTest

✅ browser end session with endSessionEndpoint
✅ browser end session with pingEndIdpSessionEndpoint

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.AgentTest.xml

2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.AgentTest 2✅ 4s

✅ com.pingidentity.oidc.AgentTest

✅ endSession should always return false
✅ authorize should always throw AuthorizeException

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcClientConfigTest.xml

6 tests were completed in 6s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.OidcClientConfigTest 6✅ 6s

✅ com.pingidentity.oidc.OidcClientConfigTest

✅ init should throw exception when discovery fails
✅ plusAssign should copy all properties from other config
✅ init should set openId when not initialized
✅ httpclient should be initialized
✅ clone should create a new instance with same properties
✅ scope should add provided scope to scopes set

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcClientTest.xml

12 tests were completed in 6s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.OidcClientTest 12✅ 6s

✅ com.pingidentity.oidc.OidcClientTest

✅ accessToken should refresh token if expired
✅ failed to retrieve userinfo
✅ failed to refresh token after token expired
✅ endSession with redirect response
✅ accessToken should return cached token if not expired
✅ failed to inject access token to userinfo
✅ failed to lookup discovery endpoint
✅ endSession should end session and revoke token
✅ revoke should delete token from storage
✅ endSession redirect response with error
✅ failed to retrieve access token
✅ userinfo should return user info

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcErrorTest.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.OidcErrorTest 5✅ 2s

✅ com.pingidentity.oidc.OidcErrorTest

✅ catch should return NetworkError for IOException
✅ catch should return AuthorizeError for AuthorizeException
✅ catch should return Unknown for other exceptions
✅ catch should return success result for successful block execution
✅ catch should return ApiError for ApiException

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OidcUserTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.OidcUserTest 6✅ 2s

✅ com.pingidentity.oidc.OidcUserTest

✅ token should return success result
✅ userinfo should fetch userinfo if cache is false
✅ revoke should call oidcClient revoke
✅ token should return error result
✅ logout should call oidcClient endSession
✅ userinfo should return cached userinfo if cache is true

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.OpenIdConfigurationTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.OpenIdConfigurationTest 4✅ 1s

✅ com.pingidentity.oidc.OpenIdConfigurationTest

✅ OpenIdConfiguration should handle missing fields during deserialization
✅ OpenIdConfiguration should deserialize from JSON correctly
✅ OpenIdConfiguration should serialize to JSON correctly
✅ OpenIdConfiguration default constructor should set all fields to empty strings

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.PkceTest.xml

2 tests were completed in 704ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.PkceTest 2✅ 704ms

✅ com.pingidentity.oidc.PkceTest

✅ generate should create different Pkce for each call
✅ generate should create valid Pkce

✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.TokenTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.oidc.TokenTest 6✅ 2s

✅ com.pingidentity.oidc.TokenTest

✅ isExpired should return true when current time is after expireAt
✅ isExpired with threshold should return false when current time is before expireAt minus threshold
✅ isExpired should return false when current time is before expireAt
✅ Token should handle missing optional fields during deserialization
✅ Token should deserialize from JSON correctly
✅ isExpired with threshold should return true when current time is after expireAt minus threshold

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.CookieModuleTest.xml

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.CookieModuleTest 4✅ 4s

✅ com.pingidentity.divinci.CookieModuleTest

✅ test expired cookie from response
✅ test cookie from response
✅ test cookie storage from response
✅ test cookie inject to request and signoff

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.CustomHeaderModuleTest.xml

1 tests were completed in 369ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.CustomHeaderModuleTest 1✅ 369ms

✅ com.pingidentity.divinci.CustomHeaderModuleTest

✅ Test custom header added to request

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.NodeTest.xml

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.NodeTest 4✅ 4s

✅ com.pingidentity.divinci.NodeTest

✅ Connector next should return next Node in workflow
✅ catch should return Error node for thrown exception
✅ Connector close should close all closeable actions
✅ catch should return Node for successful block execution

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.RequestTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.RequestTest 6✅ 2s

✅ com.pingidentity.divinci.RequestTest

✅ parameter appends the correct parameter
✅ form sets the correct form data
✅ header appends the correct header
✅ cookies sets the correct cookies
✅ url sets the correct url
✅ body sets the correct body

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.ResponseTest.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.ResponseTest 5✅ 2s

✅ com.pingidentity.divinci.ResponseTest

✅ body should return response body as string
✅ header should return null if header is not present
✅ status should return response status code
✅ header should return specific header value
✅ cookies should return cookies from response

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.SessionTest.xml

2 tests were completed in 638ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.SessionTest 2✅ 638ms

✅ com.pingidentity.divinci.SessionTest

✅ Session value should return correct session value
✅ EmptySession value should return empty string

✅ foundation/orchestrate/build/test-results/testDebugUnitTest/TEST-com.pingidentity.divinci.WorkflowTest.xml

21 tests were completed in 6s with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.divinci.WorkflowTest 21✅ 6s

✅ com.pingidentity.divinci.WorkflowTest

✅ test transform state function throw exception
✅ test next state function throw exception
✅ Test module execution
✅ Test add module with Ignore
✅ Test not override existing module with Ignore
✅ Test module with same priority
✅ Test module registration in each stage
✅ Test module custom priority
✅ test response state function throw exception
✅ Test same module instance should override existing module
✅ signOff should return success result when no exceptions occur
✅ Test access to workflow context
✅ Test not override existing module
✅ Test module default priority
✅ Test execution failure
✅ Test node state function throw exception
✅ signOff should return failure result when exception occurs
✅ test start state function throw exception
✅ test init state function throw exception
✅ test success state function throw exception
✅ Test same module instance should override existing module with priority

✅ foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.DataStoragePreferencesTest.xml

4 tests were completed in 10s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.storage.DataStoragePreferencesTest 4✅ 10s

✅ com.pingidentity.storage.DataStoragePreferencesTest

✅ testDifferentDataObjectsWithSameDataStore
✅ testDataStore
✅ testDeleteData
✅ testMultipleData

✅ foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.DataStorageTest.xml

6 tests were completed in 3s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.storage.DataStorageTest 6✅ 3s

✅ com.pingidentity.storage.DataStorageTest

✅ testOverwriteData
✅ testDataStore
✅ testDataStoreCacheDelete
✅ testDeleteData
✅ testDataStoreCacheUpdate
✅ testMultipleData

✅ foundation/storage/build/test-results/testDebugUnitTest/TEST-com.pingidentity.storage.MemoryStorageTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.pingidentity.storage.MemoryStorageTest 4✅ 2s

✅ com.pingidentity.storage.MemoryStorageTest

✅ testDifferentDataObjectsWithSameDataStore
✅ testDataStore
✅ testDeleteData
✅ testMultipleData