Issue#13 Fix codeAnalysis errors
This commit is contained in:
parent
03e413fba6
commit
c952f4f34d
8 changed files with 7 additions and 10 deletions
|
|
@ -25,4 +25,4 @@ class CodeKataUserDataLocalStorageTest {
|
|||
@Test
|
||||
fun sessionSetToNullWillStayNull() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,4 +163,4 @@ class RobolectricAuthActivityInstrumentedTest : KoinTest {
|
|||
.assertNotNavigatedToHome()
|
||||
.assertNotLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package org.fnives.test.showcase.ui
|
||||
|
||||
//import org.fnives.test.showcase.testutils.shadow.ShadowSnackbar
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.test.espresso.Espresso.onView
|
||||
import androidx.test.espresso.action.ViewActions
|
||||
|
|
@ -70,5 +69,4 @@ class RobolectricLoginRobot(
|
|||
fun assertNotNavigatedToHome() = apply {
|
||||
notIntended(hasComponent(MainActivity::class.java.canonicalName))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,4 +48,4 @@ class CodeKataAuthActivityInstrumentedTest : KoinTest {
|
|||
@Test
|
||||
fun networkErrorShowsProperErrorMessage() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
package org.fnives.test.showcase.ui.codekata
|
||||
|
||||
class CodeKataLoginRobot {
|
||||
}
|
||||
class CodeKataLoginRobot
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class MainActivityInstrumentedTest : KoinTest {
|
|||
private val mockServerScenarioSetup
|
||||
get() = mockServerScenarioSetupTestRule.mockServerScenarioSetup
|
||||
private val mainDispatcherTestRule = MainDispatcherTestRule()
|
||||
private lateinit var robot : HomeRobot
|
||||
private lateinit var robot: HomeRobot
|
||||
|
||||
@Rule
|
||||
@JvmField
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import org.hamcrest.core.IsNot.not
|
|||
|
||||
class LoginRobot(
|
||||
private val snackbarVerificationHelper: SnackbarVerificationHelper = SnackbarVerificationHelper()
|
||||
){
|
||||
) {
|
||||
|
||||
fun setupIntentResults() {
|
||||
Intents.intending(hasComponent(MainActivity::class.java.canonicalName))
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class SplashActivityInstrumentedTest : KoinTest {
|
|||
private val mainDispatcherTestRule = MainDispatcherTestRule()
|
||||
private val mockServerScenarioSetupTestRule = MockServerScenarioSetupResetingTestRule()
|
||||
|
||||
private lateinit var robot : SplashRobot
|
||||
private lateinit var robot: SplashRobot
|
||||
|
||||
@Rule
|
||||
@JvmField
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue