|
17 | 17 | // specific language governing permissions and limitations
|
18 | 18 | // under the License.
|
19 | 19 |
|
| 20 | +#if !canImport(ObjectiveC) |
20 | 21 | import XCTest
|
21 | 22 |
|
22 |
| -#if !os(macOS) |
23 |
| -public func allTests() -> [XCTestCaseEntry] { |
| 23 | +extension ActivityParserTests { |
| 24 | + // DO NOT MODIFY: This is autogenerated, use: |
| 25 | + // `swift test --generate-linuxmain` |
| 26 | + // to regenerate. |
| 27 | + static let __allTests__ActivityParserTests = [ |
| 28 | + ("testParseActivityLog", testParseActivityLog), |
| 29 | + ("testParseDBGConsoleLog", testParseDBGConsoleLog), |
| 30 | + ("testParseDVTTextDocumentLocation", testParseDVTTextDocumentLocation), |
| 31 | + ("testParseIDEActivityLogAnalyzerResultMessage", testParseIDEActivityLogAnalyzerResultMessage), |
| 32 | + ("testParseIDEActivityLogMessage", testParseIDEActivityLogMessage), |
| 33 | + ("testParseIDEActivityLogSection", testParseIDEActivityLogSection), |
| 34 | + ] |
| 35 | +} |
| 36 | + |
| 37 | +extension ChromeTracerOutputTests { |
| 38 | + // DO NOT MODIFY: This is autogenerated, use: |
| 39 | + // `swift test --generate-linuxmain` |
| 40 | + // to regenerate. |
| 41 | + static let __allTests__ChromeTracerOutputTests = [ |
| 42 | + ("testTargetToTraceEvent", testTargetToTraceEvent), |
| 43 | + ] |
| 44 | +} |
| 45 | + |
| 46 | +extension LexerTests { |
| 47 | + // DO NOT MODIFY: This is autogenerated, use: |
| 48 | + // `swift test --generate-linuxmain` |
| 49 | + // to regenerate. |
| 50 | + static let __allTests__LexerTests = [ |
| 51 | + ("testTokenizeClassName", testTokenizeClassName), |
| 52 | + ("testTokenizeClassNameRef", testTokenizeClassNameRef), |
| 53 | + ("testTokenizeDouble", testTokenizeDouble), |
| 54 | + ("testTokenizeError", testTokenizeError), |
| 55 | + ("testTokenizeInt", testTokenizeInt), |
| 56 | + ("testTokenizeList", testTokenizeList), |
| 57 | + ("testTokenizeListNil", testTokenizeListNil), |
| 58 | + ("testTokenizeString", testTokenizeString), |
| 59 | + ("testTokenizeStringWithTokenDelimiters", testTokenizeStringWithTokenDelimiters), |
| 60 | + ] |
| 61 | +} |
| 62 | + |
| 63 | +extension LogFinderTests { |
| 64 | + // DO NOT MODIFY: This is autogenerated, use: |
| 65 | + // `swift test --generate-linuxmain` |
| 66 | + // to regenerate. |
| 67 | + static let __allTests__LogFinderTests = [ |
| 68 | + ("testGetLogManifestPathForNonExistingFile", testGetLogManifestPathForNonExistingFile), |
| 69 | + ("testGetLogManifestPathWithWorkspace", testGetLogManifestPathWithWorkspace), |
| 70 | + ("testGetLogManifestPathWithXcodeProj", testGetLogManifestPathWithXcodeProj), |
| 71 | + ("testGetProjectFolderWithHash", testGetProjectFolderWithHash), |
| 72 | + ("testLogsDirectoryForXcodeProject", testLogsDirectoryForXcodeProject), |
| 73 | + ] |
| 74 | +} |
| 75 | + |
| 76 | +extension LogManifestTests { |
| 77 | + // DO NOT MODIFY: This is autogenerated, use: |
| 78 | + // `swift test --generate-linuxmain` |
| 79 | + // to regenerate. |
| 80 | + static let __allTests__LogManifestTests = [ |
| 81 | + ("testGetLatestLogEntry", testGetLatestLogEntry), |
| 82 | + ("testGetWithLogOptions", testGetWithLogOptions), |
| 83 | + ] |
| 84 | +} |
| 85 | + |
| 86 | +extension ParserTests { |
| 87 | + // DO NOT MODIFY: This is autogenerated, use: |
| 88 | + // `swift test --generate-linuxmain` |
| 89 | + // to regenerate. |
| 90 | + static let __allTests__ParserTests = [ |
| 91 | + ("testBuildIdentifierShouldUseMachineName", testBuildIdentifierShouldUseMachineName), |
| 92 | + ("testDateFormatterUsesJSONFormat", testDateFormatterUsesJSONFormat), |
| 93 | + ("testParseNote", testParseNote), |
| 94 | + ("testParseWarning", testParseWarning), |
| 95 | + ] |
| 96 | +} |
| 97 | + |
| 98 | +extension ReporterTests { |
| 99 | + // DO NOT MODIFY: This is autogenerated, use: |
| 100 | + // `swift test --generate-linuxmain` |
| 101 | + // to regenerate. |
| 102 | + static let __allTests__ReporterTests = [ |
| 103 | + ("testMakeLogReporter", testMakeLogReporter), |
| 104 | + ] |
| 105 | +} |
| 106 | + |
| 107 | +extension SwiftFunctionTimesParserTests { |
| 108 | + // DO NOT MODIFY: This is autogenerated, use: |
| 109 | + // `swift test --generate-linuxmain` |
| 110 | + // to regenerate. |
| 111 | + static let __allTests__SwiftFunctionTimesParserTests = [ |
| 112 | + ("testParseFunctionTimes", testParseFunctionTimes), |
| 113 | + ] |
| 114 | +} |
| 115 | + |
| 116 | +public func __allTests() -> [XCTestCaseEntry] { |
24 | 117 | return [
|
25 |
| - testCase(ActivityParserTests.allTests), |
26 |
| - testCase(BuildTimeTests.allTests), |
27 |
| - testCase(ChromeTracerReporterTests.allTests), |
28 |
| - testCase(LexerTests.allTests), |
29 |
| - testCase(LogFinderTests.allTests), |
30 |
| - testCase(LogManifestTests.allTests), |
31 |
| - testCase(ParserTests.allTests), |
32 |
| - testCase(SwiftFunctionTimesParserTests.allTests), |
| 118 | + testCase(ActivityParserTests.__allTests__ActivityParserTests), |
| 119 | + testCase(ChromeTracerOutputTests.__allTests__ChromeTracerOutputTests), |
| 120 | + testCase(LexerTests.__allTests__LexerTests), |
| 121 | + testCase(LogFinderTests.__allTests__LogFinderTests), |
| 122 | + testCase(LogManifestTests.__allTests__LogManifestTests), |
| 123 | + testCase(ParserTests.__allTests__ParserTests), |
| 124 | + testCase(ReporterTests.__allTests__ReporterTests), |
| 125 | + testCase(SwiftFunctionTimesParserTests.__allTests__SwiftFunctionTimesParserTests), |
33 | 126 | ]
|
34 | 127 | }
|
35 | 128 | #endif
|
0 commit comments