SDKS-3607 Handle 300..399 redirect response with empty body #155
139 passed, 0 failed and 0 skipped
✅ 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
11 tests were completed in 4s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.davinci.DaVinciErrorTest | 11✅ | 4s |
✅ 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 3xx Error with Location Header in Response
✅ 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 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.davinci.DaVinciTest | 4✅ | 1s |
✅ 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 724ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.davinci.PasswordCollectorTest | 2✅ | 724ms |
✅ 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 817ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
FieldCollectorTest | 2✅ | 817ms |
✅ FieldCollectorTest
✅ should return value when value is set
✅ should initialize key and label from JsonObject
✅ davinci/build/test-results/testDebugUnitTest/TEST-FlowCollectorTest.xml
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
FlowCollectorTest | 4✅ | 2s |
✅ FlowCollectorTest
✅ should return value when value is set
✅ testInitialization
✅ should initialize key and label from JsonObject
✅ testInheritance
✅ davinci/build/test-results/testDebugUnitTest/TEST-SubmitCollectorTest.xml
2 tests were completed in 749ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
SubmitCollectorTest | 2✅ | 749ms |
✅ SubmitCollectorTest
✅ testInitialization
✅ testInheritance
✅ davinci/build/test-results/testDebugUnitTest/TEST-TextCollectorTest.xml
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TextCollectorTest | 4✅ | 2s |
✅ TextCollectorTest
✅ should return value when value is set
✅ testInitialization
✅ should initialize key and label from JsonObject
✅ testInheritance
✅ foundation/davinci-plugin/build/test-results/testDebugUnitTest/TEST-com.pingidentity.davinci.plugin.CallbackFactoryTest.xml
3 tests were completed in 276ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.davinci.plugin.CallbackFactoryTest | 3✅ | 276ms |
✅ 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 4s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.logger.LoggerTest | 5✅ | 4s |
✅ com.pingidentity.logger.LoggerTest
✅ multipleLoggers
✅ loggerSameInstanceNone
✅ loggerSameInstanceWarn
✅ loggerSameInstanceStandard
✅ loggerSameInstanceConsole
✅ foundation/oidc/build/test-results/testDebugUnitTest/TEST-com.pingidentity.oidc.AgentTest.xml
2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.oidc.AgentTest | 2✅ | 5s |
✅ 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 10s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.oidc.OidcClientConfigTest | 6✅ | 10s |
✅ 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 3s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.oidc.OidcUserTest | 6✅ | 3s |
✅ 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 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.oidc.OpenIdConfigurationTest | 4✅ | 2s |
✅ 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 1s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.oidc.PkceTest | 2✅ | 1s |
✅ 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 370ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.divinci.CustomHeaderModuleTest | 1✅ | 370ms |
✅ 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 3s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.divinci.RequestTest | 6✅ | 3s |
✅ 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 3s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.divinci.ResponseTest | 5✅ | 3s |
✅ 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 734ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.divinci.SessionTest | 2✅ | 734ms |
✅ 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 8s with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.divinci.WorkflowTest | 21✅ | 8s |
✅ 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 9s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.storage.DataStoragePreferencesTest | 4✅ | 9s |
✅ 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 3s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.pingidentity.storage.MemoryStorageTest | 4✅ | 3s |
✅ com.pingidentity.storage.MemoryStorageTest
✅ testDifferentDataObjectsWithSameDataStore
✅ testDataStore
✅ testDeleteData
✅ testMultipleData