Tell tests about ForkDebug channel

pull/83/head
Adam Novak 4 years ago
parent 5d6f47ae7e
commit 0c2a3451fd

@ -8,13 +8,15 @@ import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue import org.junit.Assert.assertTrue
import org.junit.Test import org.junit.Test
import org.mozilla.fenix.ReleaseChannel.Debug import org.mozilla.fenix.ReleaseChannel.Debug
import org.mozilla.fenix.ReleaseChannel.ForkDebug
class ReleaseChannelTest { class ReleaseChannelTest {
@Test @Test
fun `isReleased and isDebug channels are mutually exclusive`() { fun `isReleased and isDebug channels are mutually exclusive`() {
val debugChannels = setOf( val debugChannels = setOf(
Debug Debug,
ForkDebug
) )
val nonDebugChannels = ReleaseChannel.values().toSet() - debugChannels val nonDebugChannels = ReleaseChannel.values().toSet() - debugChannels

Loading…
Cancel
Save