You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tutorial6-1TestDrivenDevelopment/src/main/java/com/smarttoolfactory/tutorial6_1testdrivendevelopment/model/login/LoginRepo.kt
Copy file name to clipboardExpand all lines: Tutorial6-1TestDrivenDevelopment/src/main/java/com/smarttoolfactory/tutorial6_1testdrivendevelopment/model/login/LoginUseCase.kt
Copy file name to clipboardExpand all lines: Tutorial6-1TestDrivenDevelopment/src/main/java/com/smarttoolfactory/tutorial6_1testdrivendevelopment/model/login_auth/AccountManager.kt
Copy file name to clipboardExpand all lines: Tutorial6-1TestDrivenDevelopment/src/main/java/com/smarttoolfactory/tutorial6_1testdrivendevelopment/model/login_auth/AuthenticationState.kt
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,16 @@ enum class AuthenticationState {
8
8
/**
9
9
* The user has authenticated successfully
10
10
*/
11
-
AUTHENTICATED,
11
+
SUCCESSFUL_AUTHENTICATION,
12
12
13
13
/**
14
14
* User left user name or password field empty
15
15
*/
16
-
EMPTY_FIELDS,
16
+
EMPTY_FIELD_ERROR,
17
17
/**
18
18
* Password or username type mismatch. Less than required length and/or missing alpha-numeric regex
19
19
*/
20
-
INVALID_FIELDS,
20
+
INVALID_FIELD_ERROR,
21
21
/**
22
22
* Authentication failed
23
23
*/
@@ -26,7 +26,9 @@ enum class AuthenticationState {
Copy file name to clipboardExpand all lines: Tutorial6-1TestDrivenDevelopment/src/test/java/com/smarttoolfactory/tutorial6_1testdrivendevelopment/AssertExtensions.kt
0 commit comments