Skip to content

Commit 3aedb87

Browse files
committed
Generate LinuxMain.swift
1 parent 9d63a08 commit 3aedb87

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#if !canImport(ObjectiveC)
2+
import XCTest
3+
4+
extension JSValueTests {
5+
// DO NOT MODIFY: This is autogenerated, use:
6+
// `swift test --generate-linuxmain`
7+
// to regenerate.
8+
static let __allTests__JSValueTests = [
9+
("testIsBool", testIsBool),
10+
("testIsNull", testIsNull),
11+
("testIsNumber", testIsNumber),
12+
("testIsString", testIsString),
13+
("testIsUndefined", testIsUndefined),
14+
("testProperty", testProperty),
15+
("testToInt", testToInt),
16+
("testToString", testToString),
17+
]
18+
}
19+
20+
extension JavaScriptCoreSwiftTests {
21+
// DO NOT MODIFY: This is autogenerated, use:
22+
// `swift test --generate-linuxmain`
23+
// to regenerate.
24+
static let __allTests__JavaScriptCoreSwiftTests = [
25+
("testArguments", testArguments),
26+
("testCapture", testCapture),
27+
("testClosure", testClosure),
28+
("testEvaluate", testEvaluate),
29+
("testException", testException),
30+
("testFunction", testFunction),
31+
("testPersistentContext", testPersistentContext),
32+
("testSandbox", testSandbox),
33+
]
34+
}
35+
36+
public func __allTests() -> [XCTestCaseEntry] {
37+
return [
38+
testCase(JSValueTests.__allTests__JSValueTests),
39+
testCase(JavaScriptCoreSwiftTests.__allTests__JavaScriptCoreSwiftTests),
40+
]
41+
}
42+
#endif

Tests/LinuxMain.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import XCTest
22

3-
import JavaScriptCoreTests
4-
import V8Tests
3+
import JavaScriptTests
54

65
var tests = [XCTestCaseEntry]()
7-
tests += JavaScriptCoreTests.__allTests()
8-
tests += V8Tests.__allTests()
6+
tests += JavaScriptTests.__allTests()
97

108
XCTMain(tests)

0 commit comments

Comments
 (0)