Revert "Disable failing intent handling unit tests"

This reverts commit c956f8b2afc988444771d86072adc94598c602c3.
This commit is contained in:
Jonathan Almeida 2020-04-17 15:23:32 -04:00 committed by Jonathan Almeida
parent ce15763cc4
commit e995a98819

View File

@ -11,7 +11,6 @@ import kotlinx.coroutines.test.runBlockingTest
import mozilla.components.support.test.robolectric.testContext
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.`when`
@ -30,7 +29,6 @@ import org.robolectric.Shadows.shadowOf
class IntentReceiverActivityTest {
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent with flag launched from history`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -50,7 +48,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent with action OPEN_PRIVATE_TAB`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -71,7 +68,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent with action OPEN_TAB`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -92,7 +88,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent starts Activity`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -110,7 +105,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent with launchLinksInPrivateTab set to true`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = true
@ -127,7 +121,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process intent with launchLinksInPrivateTab set to false`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -145,7 +138,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process custom tab intent`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = false
@ -165,7 +157,6 @@ class IntentReceiverActivityTest {
}
@Test
@Ignore("Disabling failing test - see: https://github.com/mozilla-mobile/fenix/issues/7749")
fun `process private custom tab intent`() = runBlockingTest {
testContext.settings().openLinksInAPrivateTab = true