Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Disable iOS test for Windows #1274

Merged
merged 1 commit into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test_runner/src/test/kotlin/ftl/gc/GcIosTestMatrixTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.dd.plist.NSDictionary
import com.google.api.services.testing.model.IosDeviceList
import ftl.shard.Chunk
import ftl.args.IosArgs
import ftl.config.FtlConstants.isWindows
import ftl.ios.FIXTURES_PATH
import ftl.shard.TestMethod
import ftl.test.util.FlankTestRunner
Expand All @@ -13,6 +14,7 @@ import io.mockk.mockk
import io.mockk.unmockkAll
import org.junit.After
import org.junit.Assert.assertEquals
import org.junit.Assume.assumeFalse
import org.junit.Test
import org.junit.runner.RunWith
import java.io.StringReader
Expand Down Expand Up @@ -62,6 +64,8 @@ class GcIosTestMatrixTest {

@Test
fun `build validArgs`() {
assumeFalse(isWindows) // TODO enable it on #1180

val iosArgs = mockk<IosArgs>(relaxed = true)
every { iosArgs.testShardChunks } returns listOf(Chunk(listOf(TestMethod(name = "", time = 0.0))))
every { iosArgs.testTimeout } returns "3m"
Expand Down
6 changes: 6 additions & 0 deletions test_runner/src/test/kotlin/ftl/ios/XctestrunTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ class XctestrunTest {

@Test
fun `rewrite methods in multiple test targets`() {
assumeFalse(isWindows) // TODO enable it on #1180

val expectedMethods1 = listOf("FlankExampleTests/test1", "FlankExampleTests/test2")
val expectedMethods2 = listOf("FlankExampleSecondTests/test3")

Expand All @@ -261,6 +263,8 @@ class XctestrunTest {

@Test
fun `rewrite incorrect methods in multiple test targets`() {
assumeFalse(isWindows) // TODO enable it on #1180

val methods1 = listOf("incorrect1", "incorrect2")
val methods2 = listOf("incorrect3")

Expand All @@ -278,6 +282,8 @@ class XctestrunTest {

@Test
fun `rewrite mix of correct and incorrect methods in multiple test targets`() {
assumeFalse(isWindows) // TODO enable it on #1180

val methods1 = listOf("FlankExampleTests/test1", "FlankExampleTests/test2", "incorrect1")
val methods2 = listOf("FlankExampleSecondTests/test3", "incorrect2")

Expand Down