File tree Expand file tree Collapse file tree
app/src/androidTest/java/com/owncloud/android/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class SnackbarTests {
9090 }
9191
9292 @Test
93- fun testNullFragmentSnackbar_doesNotCrash () {
93+ fun testNullFragmentSnackbarShouldNotCrash () {
9494 DisplayUtils .showSnackMessage(null as Fragment ? , R .string.app_name)
9595 }
9696
@@ -139,25 +139,4 @@ class SnackbarTests {
139139 assertSnackbarVisible(message)
140140 }
141141 }
142-
143- @Test
144- fun testActivityStringResWithFormatArgsSnackbar () {
145- launchActivity<TestActivity >().use { scenario ->
146- scenario.onActivity { sut ->
147- DisplayUtils .showSnackMessage(sut, R .string.app_name)
148- }
149- assertSnackbarVisible(R .string.app_name)
150- }
151- }
152-
153- @Test
154- fun testContextViewStringResWithFormatArgsSnackbar () {
155- launchActivity<TestActivity >().use { scenario ->
156- scenario.onActivity { sut ->
157- val contentView = sut.findViewById< android.view.View > (android.R .id.content)
158- DisplayUtils .showSnackMessage(sut, contentView, R .string.app_name)
159- }
160- assertSnackbarVisible(R .string.app_name)
161- }
162- }
163142}
You can’t perform that action at this time.
0 commit comments