Skip to content

Commit 2da22da

Browse files
Remove LoginActivityAuthErrorTest — fragile Activity-based tests
Testing onAuthFlowError via ActivityScenario.launch couples to the entire SDK initialization chain and uses Thread.sleep for timing. The ViewModel-level tests in LoginViewModelMockTest adequately cover the error propagation path without the fragility.
1 parent 0c9a8b8 commit 2da22da

2 files changed

Lines changed: 0 additions & 231 deletions

File tree

libs/test/SalesforceSDKTest/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020

2121

2222

23-
<!-- Test-only activity for LoginActivityAuthErrorTest -->
24-
<activity android:name="com.salesforce.androidsdk.auth.TestLoginActivity"
25-
android:exported="false"
26-
android:theme="@style/SalesforceSDK" />
27-
2823
<!-- Launcher screen -->
2924
<activity android:name="com.salesforce.androidsdk.MainActivity"
3025
android:label="@string/app_name"

libs/test/SalesforceSDKTest/src/com/salesforce/androidsdk/auth/LoginActivityAuthErrorTest.kt

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)