Skip to content

Commit 99bbf1b

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 99bbf1b

2 files changed

Lines changed: 0 additions & 232 deletions

File tree

libs/test/SalesforceSDKTest/AndroidManifest.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
</service>
2020

2121

22-
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-
2822
<!-- Launcher screen -->
2923
<activity android:name="com.salesforce.androidsdk.MainActivity"
3024
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)