diff --git a/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/ProgressParserTest.kt b/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/ProgressParserTest.kt deleted file mode 100644 index 9caf8842d..000000000 --- a/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/ProgressParserTest.kt +++ /dev/null @@ -1,105 +0,0 @@ -//package com.malinskiy.marathon.ios.logparser -// -//import com.malinskiy.marathon.apple.ios.logparser.formatter.PackageNameFormatter -//import com.malinskiy.marathon.apple.ios.executor.listener.TestRunListener -//import com.malinskiy.marathon.apple.ios.logparser.parser.TestRunProgressParser -//import com.malinskiy.marathon.time.Timer -//import org.mockito.kotlin.any -//import org.mockito.kotlin.atLeastOnce -//import org.mockito.kotlin.mock -//import org.mockito.kotlin.reset -//import org.mockito.kotlin.verify -//import org.mockito.kotlin.whenever -//import org.junit.jupiter.api.BeforeEach -//import org.junit.jupiter.api.Test -//import java.io.File -//import com.malinskiy.marathon.test.Test as MarathonTest -// -//class ProgressParserTest { -// private val mockFormatter = mock() -// private val mockListener = mock() -// private val mockTimer = mock() -// private val mockedTimeMillis = 1537187696000L -// private val progressParser = TestRunProgressParser(mockTimer, mockFormatter, listOf(mockListener)) -// -// @BeforeEach -// fun `setup mocks`() { -// reset(mockTimer, mockFormatter, mockListener) -// whenever(mockTimer.currentTimeMillis()).thenReturn(mockedTimeMillis) -// whenever(mockFormatter.format(any())).thenAnswer { it.arguments.first() } -// } -// -// @Test -// fun `parsing testing output should apply package name formatter`() { -// val testOutputFile = -// File(javaClass.classLoader.getResource("fixtures/test_output/success_0.log").file) -// testOutputFile.readLines().forEach { -// progressParser.onLine(it) -// } -// -// verify( -// mockFormatter, -// atLeastOnce() -// ).format("sample_appUITests") -// } -// -// @Test -// fun `parsing single success output should report single start and success`() { -// val testOutputFile = -// File(javaClass.classLoader.getResource("fixtures/test_output/success_0.log").file) -// testOutputFile.readLines().forEach { -// progressParser.onLine(it) -// } -// -// verify(mockListener).testStarted( -// MarathonTest( -// "sample_appUITests", -// "MoreTests", -// "testPresentModal", -// emptyList() -// ) -// ) -// verify(mockListener).testPassed( -// MarathonTest("sample_appUITests", "MoreTests", "testPresentModal", emptyList()), -// mockedTimeMillis - 5315, -// mockedTimeMillis -// ) -// } -// -// @Test -// fun `parsing multiple success output should report multiple starts and successes`() { -// val testOutputFile = -// File(javaClass.classLoader.getResource("fixtures/test_output/success_multiple_0.log").file) -// testOutputFile.readLines().forEach { -// progressParser.onLine(it) -// } -// -// verify(mockListener).testStarted( -// MarathonTest( -// "sample_appUITests", -// "FlakyTests", -// "testTextFlaky1", -// emptyList() -// ) -// ) -// verify(mockListener).testStarted( -// MarathonTest( -// "sample_appUITests", -// "FlakyTests", -// "testTextFlaky2", -// emptyList() -// ) -// ) -// -// verify(mockListener).testPassed( -// MarathonTest("sample_appUITests", "FlakyTests", "testTextFlaky1", emptyList()), -// mockedTimeMillis - 4415, -// mockedTimeMillis -// ) -// verify(mockListener).testPassed( -// MarathonTest("sample_appUITests", "FlakyTests", "testTextFlaky2", emptyList()), -// mockedTimeMillis - 4118, -// mockedTimeMillis -// ) -// } -//} diff --git a/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/parser/TestRunProgressParserTest.kt b/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/parser/TestRunProgressParserTest.kt index ef6790d0a..2b4efe4ca 100644 --- a/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/parser/TestRunProgressParserTest.kt +++ b/vendor/vendor-apple/base/src/test/kotlin/com/malinskiy/marathon/apple/logparser/parser/TestRunProgressParserTest.kt @@ -25,7 +25,7 @@ class TestRunProgressParserTest { val parser = TestRunProgressParser(mockTimer, "") val events = mutableListOf() - javaClass.getResourceAsStream("/fixtures/test_output/success_0.log").bufferedReader().use { + javaClass.getResourceAsStream("/fixtures/test_output/success_0.log.input").bufferedReader().use { it.lines().forEach { line -> parser.process(line)?.let { events.addAll(it) @@ -42,7 +42,7 @@ class TestRunProgressParserTest { val parser = TestRunProgressParser(mockTimer, "testTarget") val events = mutableListOf() - javaClass.getResourceAsStream("/fixtures/test_output/patrol_0.log").bufferedReader().use { + javaClass.getResourceAsStream("/fixtures/test_output/patrol_0.log.input").bufferedReader().use { it.lines().forEach { line -> parser.process(line)?.let { events.addAll(it) @@ -59,7 +59,7 @@ class TestRunProgressParserTest { val parser = TestRunProgressParser(mockTimer, "") val events = mutableListOf() - javaClass.getResourceAsStream("/fixtures/test_output/success_multiple_0.log").bufferedReader().use { + javaClass.getResourceAsStream("/fixtures/test_output/success_multiple_0.log.input").bufferedReader().use { it.lines().forEach { line -> parser.process(line)?.let { events.addAll(it) @@ -76,7 +76,7 @@ class TestRunProgressParserTest { val parser = TestRunProgressParser(mockTimer, "testTarget") val events = mutableListOf() - javaClass.getResourceAsStream("/fixtures/test_output/success_multiple_0.log").bufferedReader().use { + javaClass.getResourceAsStream("/fixtures/test_output/success_multiple_0.log.input").bufferedReader().use { it.lines().forEach { line -> parser.process(line)?.let { events.addAll(it) @@ -93,7 +93,7 @@ class TestRunProgressParserTest { val parser = TestRunProgressParser(mockTimer, "testTarget") val events = mutableListOf() - javaClass.getResourceAsStream("/fixtures/test_output/patrol_1.log").bufferedReader().use { + javaClass.getResourceAsStream("/fixtures/test_output/patrol_1.log.input").bufferedReader().use { it.lines().forEach { line -> parser.process(line)?.let { events.addAll(it) diff --git a/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/mixed_0.log.input b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/mixed_0.log.input new file mode 100644 index 000000000..20db0b7e3 --- /dev/null +++ b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/mixed_0.log.input @@ -0,0 +1,55 @@ +Test Suite 'Selected tests' started at 2018-09-15 20:02:22.316 +Test Suite 'sample-appUITests.xctest' started at 2018-09-15 20:02:22.317 +Test Suite 'FlakyTests' started at 2018-09-15 20:02:22.317 +Test Case '-[sample_appUITests.FlakyTests testTextFlaky3]' started. + t = 0.00s Start Test at 2018-09-15 20:02:22.318 + t = 0.05s Set Up + t = 0.05s Open com.agoda.sample-app + t = 0.08s Launch com.agoda.sample-app + t = 5.43s Wait for com.agoda.sample-app to idle + t = 6.68s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky3]' passed (6.879 seconds). +Test Case '-[sample_appUITests.FlakyTests testTextFlaky4]' started. + t = 0.00s Start Test at 2018-09-15 20:02:29.198 + t = 0.01s Set Up + t = 0.11s Open com.agoda.sample-app + t = 0.12s Launch com.agoda.sample-app + t = 0.12s Terminate com.agoda.sample-app:9038 + t = 2.85s Wait for com.agoda.sample-app to idle + t = 3.87s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky4]' passed (4.072 seconds). +Test Case '-[sample_appUITests.FlakyTests testTextFlaky5]' started. + t = 0.00s Start Test at 2018-09-15 20:02:33.270 + t = 0.01s Set Up + t = 0.12s Open com.agoda.sample-app + t = 0.13s Launch com.agoda.sample-app + t = 0.13s Terminate com.agoda.sample-app:9058 + t = 2.86s Wait for com.agoda.sample-app to idle + t = 4.10s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky5]' passed (4.301 seconds). +Test Case '-[sample_appUITests.FlakyTests testTextFlaky6]' started. + t = 0.00s Start Test at 2018-09-15 20:02:37.571 + t = 0.01s Set Up + t = 0.11s Open com.agoda.sample-app + t = 0.13s Launch com.agoda.sample-app + t = 0.13s Terminate com.agoda.sample-app:9079 + t = 3.06s Wait for com.agoda.sample-app to idle + t = 4.13s Assertion Failure: FlakyTests.swift:63: XCTAssertTrue failed - + t = 4.14s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky6]' failed (4.341 seconds). +Test Case '-[sample_appUITests.FlakyTests testTextFlaky7]' started. + t = 0.00s Start Test at 2018-09-15 20:02:41.912 + t = 0.01s Set Up + t = 0.11s Open com.agoda.sample-app + t = 0.12s Launch com.agoda.sample-app + t = 0.12s Terminate com.agoda.sample-app:9093 + t = 2.86s Wait for com.agoda.sample-app to idle + t = 4.03s Assertion Failure: FlakyTests.swift:68: XCTAssertTrue failed - + t = 4.04s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky7]' failed (4.243 seconds). +Test Suite 'FlakyTests' failed at 2018-09-15 20:02:46.156. + Executed 5 tests, with 2 failures (0 unexpected) in 23.836 (23.839) seconds +Test Suite 'sample-appUITests.xctest' failed at 2018-09-15 20:02:46.156. + Executed 5 tests, with 2 failures (0 unexpected) in 23.836 (23.839) seconds +Test Suite 'Selected tests' failed at 2018-09-15 20:02:46.157. + Executed 5 tests, with 2 failures (0 unexpected) in 23.836 (23.840) seconds diff --git a/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_0.log.input b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_0.log.input new file mode 100644 index 000000000..7e1dfd1e2 --- /dev/null +++ b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_0.log.input @@ -0,0 +1,143 @@ +Command line invocation: + /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild test-without-building -xctestrun /tmp/marathon/9DB21872-32E0-4ACF-9D76-67831CDC3938/marathon.xctestrun -enableCodeCoverage NO -destination-timeout 30 -destination "platform=iOS simulator,id=9DB21872-32E0-4ACF-9D76-67831CDC3938" + +User defaults from command line: + IDEPackageSupportUseBuiltinSCM = YES + +Testing started +objc[89195]: Class XCTestCaseSuite is implemented in both /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTestCore.framework/XCTestCore (0x104e73e48) and /private/tmp/marathon/9DB21872-32E0-4ACF-9D76-67831CDC3938/libxctest-parser.dylib (0x1048b4888). One of the two will be used. Which one is undefined. +2023-10-13 13:51:11.282 RunnerUITests-Runner[89195:11174198] Running tests... +2023-10-13 13:51:11.345 RunnerUITests-Runner[89195:11174198] PatrolServer: INFO: PATROL_PORT is null, falling back to default (8081) +2023-10-13 13:51:11.345 RunnerUITests-Runner[89195:11174198] PatrolServer: INFO: PatrolServer constructor called +2023-10-13 13:51:11.345 RunnerUITests-Runner[89195:11174198] PatrolServer: INFO: PATROL_ENABLED flag is defined +2023-10-13 13:51:11.346 RunnerUITests-Runner[89195:11174198] PatrolServer: INFO: Starting server... +2023-10-13 13:51:11.347 RunnerUITests-Runner[89195:11174198] PatrolServer: INFO: Server started on http://0.0.0.0:8081 +2023-10-13 13:51:11.347 RunnerUITests-Runner[89195:11174198] PatrolAppServiceClient: created, port: 8082 + t = nans Checking existence of `"Allow" Button` + t = nans Open pl.leancode.patrol.Example + t = nans Launch pl.leancode.patrol.Example + t = nans Setting up automation session + t = nans Wait for pl.leancode.patrol.Example to idle +2023-10-13 13:51:12.342 RunnerUITests-Runner[89195:11174297] PatrolServer: INFO: App reported that it is ready +2023-10-13 13:51:13.131 RunnerUITests-Runner[89195:11174198] PatrolAppServiceClient.listDartTests() +2023-10-13 13:51:14.132 RunnerUITests-Runner[89195:11174198] Got 26 Dart tests: ( + "android_app_test taps around", + "example_test counter state is the same after going to Home and switching apps", + "internal.group_test at the beginning", + "internal.group_test top level group in file alpha first", + "internal.group_test top level group in file alpha second", + "internal.group_test top level group in file in the middle", + "internal.group_test top level group in file bravo first", + "internal.group_test top level group in file bravo second", + "internal.long_name_test aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "internal.long_name_test alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa", + "internal.long_name_test kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk", + "open_app_test open maps", + "open_app_test open browser", + "open_quick_settings_test opens quick settings", + "permissions.notifications_test taps on notification", + "permissions.permissions_location_test accepts location permission", + "permissions.permissions_many_test grants various permissions", + "service_airplane_mode_test disables and enables airplane mode twice", + "service_bluetooth_test disables and enables bluetooth twice", + "service_cellular_test disables and enables cellular twice", + "service_dark_mode_test disables and enables dark mode twice", + "service_wifi_test disables and enables wifi twice", + "swipe_test scrolls the Settings app", + "webview_hackernews_test interacts with the orange website in a webview", + "webview_leancode_test interacts with the LeanCode website in a webview", + "webview_stackoverflow_test interacts with the StackOverflow website in a webview" +) +2023-10-13 13:51:14.133 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = androidAppTest___tapsAround, signature: +2023-10-13 13:51:14.133 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps, signature: +2023-10-13 13:51:14.133 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___atTheBeginning, signature: +2023-10-13 13:51:14.133 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___topLevelGroupInFileAlphaFirst, signature: +2023-10-13 13:51:14.133 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___topLevelGroupInFileAlphaSecond, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___topLevelGroupInFileInTheMiddle, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___topLevelGroupInFileBravoFirst, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_groupTest___topLevelGroupInFileBravoSecond, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_longNameTest___aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_longNameTest___alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = internal_longNameTest___kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = openAppTest___openMaps, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = openAppTest___openBrowser, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = openQuickSettingsTest___opensQuickSettings, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = permissions_notificationsTest___tapsOnNotification, signature: +2023-10-13 13:51:14.134 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = permissions_permissionsLocationTest___acceptsLocationPermission, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = permissions_permissionsManyTest___grantsVariousPermissions, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = serviceAirplaneModeTest___disablesAndEnablesAirplaneModeTwice, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = serviceBluetoothTest___disablesAndEnablesBluetoothTwice, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = serviceCellularTest___disablesAndEnablesCellularTwice, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = serviceDarkModeTest___disablesAndEnablesDarkModeTwice, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = serviceWifiTest___disablesAndEnablesWifiTwice, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = swipeTest___scrollsTheSettingsApp, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = webviewHackernewsTest___interactsWithTheOrangeWebsiteInAWebview, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = webviewLeancodeTest___interactsWithTheLeanCodeWebsiteInAWebview, signature: +2023-10-13 13:51:14.135 RunnerUITests-Runner[89195:11174198] RunnerUITests.testInvocations(): selectorName = webviewStackoverflowTest___interactsWithTheStackOverflowWebsiteInAWebview, signature: +Test Suite 'All tests' started at 2023-10-13 13:51:14.148 +Test Suite 'marathon.xctest' started at 2023-10-13 13:51:14.148 +Test Suite 'RunnerUITests' started at 2023-10-13 13:51:14.148 + t = nans Suite Tear Down +Test Case '-[RunnerUITests androidAppTest___tapsAround]' started. +Test Case '-[RunnerUITests androidAppTest___tapsAround]' passed (0.204 seconds). +Test Case '-[RunnerUITests exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps]' started. +Test Case '-[RunnerUITests exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___atTheBeginning]' started. +Test Case '-[RunnerUITests internal_groupTest___atTheBeginning]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileAlphaFirst]' started. +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileAlphaFirst]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileAlphaSecond]' started. +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileAlphaSecond]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileInTheMiddle]' started. +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileInTheMiddle]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileBravoFirst]' started. +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileBravoFirst]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileBravoSecond]' started. +Test Case '-[RunnerUITests internal_groupTest___topLevelGroupInFileBravoSecond]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_longNameTest___aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]' started. +Test Case '-[RunnerUITests internal_longNameTest___aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]' passed (0.000 seconds). +Test Case '-[RunnerUITests internal_longNameTest___alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa]' started. +Test Case '-[RunnerUITests internal_longNameTest___alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa]' passed (0.001 seconds). +Test Case '-[RunnerUITests internal_longNameTest___kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk]' started. +Test Case '-[RunnerUITests internal_longNameTest___kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk]' passed (0.000 seconds). +Test Case '-[RunnerUITests openAppTest___openMaps]' started. +Test Case '-[RunnerUITests openAppTest___openMaps]' passed (0.000 seconds). +Test Case '-[RunnerUITests openAppTest___openBrowser]' started. +Test Case '-[RunnerUITests openAppTest___openBrowser]' passed (0.000 seconds). +Test Case '-[RunnerUITests openQuickSettingsTest___opensQuickSettings]' started. +Test Case '-[RunnerUITests openQuickSettingsTest___opensQuickSettings]' passed (0.000 seconds). +Test Case '-[RunnerUITests permissions_notificationsTest___tapsOnNotification]' started. +Test Case '-[RunnerUITests permissions_notificationsTest___tapsOnNotification]' passed (0.000 seconds). +Test Case '-[RunnerUITests permissions_permissionsLocationTest___acceptsLocationPermission]' started. +Test Case '-[RunnerUITests permissions_permissionsLocationTest___acceptsLocationPermission]' passed (0.000 seconds). +Test Case '-[RunnerUITests permissions_permissionsManyTest___grantsVariousPermissions]' started. +Test Case '-[RunnerUITests permissions_permissionsManyTest___grantsVariousPermissions]' passed (0.000 seconds). +Test Case '-[RunnerUITests serviceAirplaneModeTest___disablesAndEnablesAirplaneModeTwice]' started. +Test Case '-[RunnerUITests serviceAirplaneModeTest___disablesAndEnablesAirplaneModeTwice]' passed (0.000 seconds). +Test Case '-[RunnerUITests serviceBluetoothTest___disablesAndEnablesBluetoothTwice]' started. +Test Case '-[RunnerUITests serviceBluetoothTest___disablesAndEnablesBluetoothTwice]' passed (0.000 seconds). +Test Case '-[RunnerUITests serviceCellularTest___disablesAndEnablesCellularTwice]' started. +Test Case '-[RunnerUITests serviceCellularTest___disablesAndEnablesCellularTwice]' passed (0.000 seconds). +Test Case '-[RunnerUITests serviceDarkModeTest___disablesAndEnablesDarkModeTwice]' started. +Test Case '-[RunnerUITests serviceDarkModeTest___disablesAndEnablesDarkModeTwice]' passed (0.000 seconds). +Test Case '-[RunnerUITests serviceWifiTest___disablesAndEnablesWifiTwice]' started. +Test Case '-[RunnerUITests serviceWifiTest___disablesAndEnablesWifiTwice]' passed (0.000 seconds). +Test Case '-[RunnerUITests swipeTest___scrollsTheSettingsApp]' started. +Test Case '-[RunnerUITests swipeTest___scrollsTheSettingsApp]' passed (0.000 seconds). +Test Case '-[RunnerUITests webviewHackernewsTest___interactsWithTheOrangeWebsiteInAWebview]' started. +Test Case '-[RunnerUITests webviewHackernewsTest___interactsWithTheOrangeWebsiteInAWebview]' passed (0.000 seconds). +Test Case '-[RunnerUITests webviewLeancodeTest___interactsWithTheLeanCodeWebsiteInAWebview]' started. +Test Case '-[RunnerUITests webviewLeancodeTest___interactsWithTheLeanCodeWebsiteInAWebview]' passed (0.000 seconds). +Test Case '-[RunnerUITests webviewStackoverflowTest___interactsWithTheStackOverflowWebsiteInAWebview]' started. +Test Case '-[RunnerUITests webviewStackoverflowTest___interactsWithTheStackOverflowWebsiteInAWebview]' passed (0.000 seconds). +Test Suite 'RunnerUITests' passed at 2023-10-13 13:51:14.358. + Executed 26 tests, with 0 failures (0 unexpected) in 0.207 (0.210) seconds +Test Suite 'marathon.xctest' passed at 2023-10-13 13:51:14.358. + Executed 26 tests, with 0 failures (0 unexpected) in 0.207 (0.210) seconds +Test Suite 'All tests' passed at 2023-10-13 13:51:14.358. + Executed 26 tests, with 0 failures (0 unexpected) in 0.207 (0.211) seconds + +Test session results, code coverage, and logs: + /var/folders/7v/6_pt9v493mx8yl5837ymblw80000gn/T/E9A463C5-EA19-4D07-9BE2-B21A150940C3/DerivedData/temporary/Logs/Test/Test-Transient Testing-2023.10.13_13-51-03-+1000.xcresult + +** TEST EXECUTE SUCCEEDED ** diff --git a/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_1.log.input b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_1.log.input new file mode 100644 index 000000000..d67ec016f --- /dev/null +++ b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/patrol_1.log.input @@ -0,0 +1,17 @@ +Test Suite 'All tests' started at 2024-02-07 13:58:21.952 +Test Suite 'marathon.xctest' started at 2024-02-07 13:58:21.953 +Test Suite 'RunnerUITests' started at 2024-02-07 13:58:21.953 + t = nans Suite Tear Down +Test Case '-[RunnerUITests ab.example_test+tty]' started. +Test Case '-[RunnerUITests ab.example_test+tty]' passed (0.206 seconds). +Test Suite 'RunnerUITests' passed at 2024-02-07 13:58:22.159. + Executed 1 test, with 0 failures (0 unexpected) in 0.206 (0.206) seconds +Test Suite 'marathon.xctest' passed at 2024-02-07 13:58:22.160. + Executed 1 test, with 0 failures (0 unexpected) in 0.206 (0.207) seconds +Test Suite 'All tests' passed at 2024-02-07 13:58:22.160. + Executed 1 test, with 0 failures (0 unexpected) in 0.206 (0.207) seconds + +Test session results, code coverage, and logs: + /Users/xxx/Library/Developer/Xcode/DerivedData/temporary-asdgsga/Logs/Test/Test-Transient Testing-2024.02.07_13-57-27-+0000.xcresult + +** TEST EXECUTE SUCCEEDED ** diff --git a/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_0.log.input b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_0.log.input new file mode 100644 index 000000000..13398453e --- /dev/null +++ b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_0.log.input @@ -0,0 +1,35 @@ +User defaults from command line: + IDEDerivedDataPathOverride = /Users/pkunzip/Development/marathon/vendor-ios/src/test/resources/src/sample-xcworkspace/a + IDETestRunOnlyIdentifiers = ( + "sample-appUITests/MoreTests/testPresentModal" +) + IDETestRunSpecificationPath = /Users/pkunzip/Development/marathon/vendor-ios/src/test/resources/src/sample-xcworkspace/a/Build/Products/UITesting_iphonesimulator11.2-x86_64.xctestrun + +2018-09-15 01:08:49.715033+0700 sample-appUITests-Runner[26010:493593] +[CATransaction synchronize] called within transaction +2018-09-15 01:08:49.725248+0700 sample-appUITests-Runner[26010:493593] Running tests... +Test Suite 'Selected tests' started at 2018-09-15 01:08:51.146 +Test Suite 'sample-appUITests.xctest' started at 2018-09-15 01:08:51.147 +Test Suite 'MoreTests' started at 2018-09-15 01:08:51.147 +Test Case '-[sample_appUITests.MoreTests testPresentModal]' started. + t = 0.00s Start Test at 2018-09-15 01:08:51.148 + t = 0.03s Set Up + t = 0.03s Open com.agoda.sample-app + t = 0.06s Launch com.agoda.sample-app + t = 2.61s Wait for com.agoda.sample-app to idle + t = 3.85s Waiting 30.0s for Button to exist + t = 4.85s Checking `Expect predicate `exists == 1` for object Button` + t = 4.86s Tap Button + t = 4.86s Wait for com.agoda.sample-app to idle + t = 4.87s Find the Button + t = 4.98s Wait for com.agoda.sample-app to idle + t = 4.99s Synthesize event + t = 5.07s Wait for com.agoda.sample-app to idle + t = 5.11s Tear Down +Test Case '-[sample_appUITests.MoreTests testPresentModal]' passed (5.315 seconds). +Test Suite 'MoreTests' passed at 2018-09-15 01:08:56.463. + Executed 1 test, with 0 failures (0 unexpected) in 5.315 (5.316) seconds +Test Suite 'sample-appUITests.xctest' passed at 2018-09-15 01:08:56.464. + Executed 1 test, with 0 failures (0 unexpected) in 5.315 (5.317) seconds +Test Suite 'Selected tests' passed at 2018-09-15 01:08:56.464. + Executed 1 test, with 0 failures (0 unexpected) in 5.315 (5.318) seconds +** TEST EXECUTE SUCCEEDED ** diff --git a/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_multiple_0.log.input b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_multiple_0.log.input new file mode 100644 index 000000000..924ecb172 --- /dev/null +++ b/vendor/vendor-apple/base/src/test/resources/fixtures/test_output/success_multiple_0.log.input @@ -0,0 +1,27 @@ +Test Suite 'Selected tests' started at 2018-09-15 17:54:10.750 +Test Suite 'sample-appUITests.xctest' started at 2018-09-15 17:54:10.750 +Test Suite 'FlakyTests' started at 2018-09-15 17:54:10.751 +Test Case '-[sample_appUITests.FlakyTests testTextFlaky1]' started. + t = 0.00s Start Test at 2018-09-15 17:54:10.751 + t = 0.04s Set Up + t = 0.04s Open com.agoda.sample-app + t = 0.06s Launch com.agoda.sample-app + t = 2.98s Wait for com.agoda.sample-app to idle + t = 4.21s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky1]' passed (4.415 seconds). +Test Case '-[sample_appUITests.FlakyTests testTextFlaky2]' started. + t = 0.00s Start Test at 2018-09-15 17:54:15.166 + t = 0.01s Set Up + t = 0.11s Open com.agoda.sample-app + t = 0.12s Launch com.agoda.sample-app + t = 0.12s Terminate com.agoda.sample-app:2190 + t = 2.80s Wait for com.agoda.sample-app to idle + t = 3.92s Tear Down +Test Case '-[sample_appUITests.FlakyTests testTextFlaky2]' passed (4.118 seconds). +Test Suite 'FlakyTests' passed at 2018-09-15 17:54:19.285. + Executed 2 tests, with 0 failures (0 unexpected) in 8.533 (8.534) seconds +Test Suite 'sample-appUITests.xctest' passed at 2018-09-15 17:54:19.285. + Executed 2 tests, with 0 failures (0 unexpected) in 8.533 (8.535) seconds +Test Suite 'Selected tests' passed at 2018-09-15 17:54:19.286. + Executed 2 tests, with 0 failures (0 unexpected) in 8.533 (8.536) seconds +** TEST EXECUTE SUCCEEDED **