1 #if !canImport(ObjectiveC)
2 import XCTest
3
4 extension FlatBuffersDoubleTests {
5 // DO NOT MODIFY: This is autogenerated, use:
6 // `swift test --generate-linuxmain`
7 // to regenerate.
8 static let __allTests__FlatBuffersDoubleTests = [
9 ("testCreateCountry", testCreateCountry),
10 ("testCreateFinish", testCreateFinish),
11 ("testCreateFinishWithPrefix", testCreateFinishWithPrefix),
12 ]
13 }
14
15 extension FlatBuffersMonsterWriterTests {
16 // DO NOT MODIFY: This is autogenerated, use:
17 // `swift test --generate-linuxmain`
18 // to regenerate.
19 static let __allTests__FlatBuffersMonsterWriterTests = [
20 ("testCreateMonster", testCreateMonster),
21 ("testCreateMonsterPrefixed", testCreateMonsterPrefixed),
22 ("testCreateMonsterResizedBuffer", testCreateMonsterResizedBuffer),
23 ("testData", testData),
24 ("testReadFromOtherLangagues", testReadFromOtherLangagues),
25 ]
26 }
27
28 extension FlatBuffersStructsTests {
29 // DO NOT MODIFY: This is autogenerated, use:
30 // `swift test --generate-linuxmain`
31 // to regenerate.
32 static let __allTests__FlatBuffersStructsTests = [
33 ("testCreatingEnums", testCreatingEnums),
34 ("testCreatingStruct", testCreatingStruct),
35 ("testCreatingVectorStruct", testCreatingVectorStruct),
36 ("testCreatingVectorStructWithForcedDefaults", testCreatingVectorStructWithForcedDefaults),
37 ("testReadingStruct", testReadingStruct),
38 ("testReadingStructWithEnums", testReadingStructWithEnums),
39 ]
40 }
41
42 extension FlatBuffersTests {
43 // DO NOT MODIFY: This is autogenerated, use:
44 // `swift test --generate-linuxmain`
45 // to regenerate.
46 static let __allTests__FlatBuffersTests = [
47 ("testCreate", testCreate),
48 ("testCreateFinish", testCreateFinish),
49 ("testCreateFinishWithPrefix", testCreateFinishWithPrefix),
50 ("testCreateString", testCreateString),
51 ("testEndian", testEndian),
52 ("testOffset", testOffset),
53 ("testReadCountry", testReadCountry),
54 ("testStartTable", testStartTable),
55 ]
56 }
57
58 extension FlatBuffersUnionTests {
59 // DO NOT MODIFY: This is autogenerated, use:
60 // `swift test --generate-linuxmain`
61 // to regenerate.
62 static let __allTests__FlatBuffersUnionTests = [
63 ("testCreateMonstor", testCreateMonstor),
64 ("testEndTableFinish", testEndTableFinish),
65 ("testEnumVector", testEnumVector),
66 ("testUnionVector", testUnionVector),
67 ]
68 }
69
70 extension FlatBuffersVectors {
71 // DO NOT MODIFY: This is autogenerated, use:
72 // `swift test --generate-linuxmain`
73 // to regenerate.
74 static let __allTests__FlatBuffersVectors = [
75 ("testCreateEmptyIntArray", testCreateEmptyIntArray),
76 ("testCreateIntArray", testCreateIntArray),
77 ("testCreateSharedStringVector", testCreateSharedStringVector),
78 ("testCreateVectorOfStrings", testCreateVectorOfStrings),
79 ("testCreatingTwoCountries", testCreatingTwoCountries),
80 ("testReadDoubleArray", testReadDoubleArray),
81 ("testReadInt32Array", testReadInt32Array),
82 ]
83 }
84
__allTestsnull85 public func __allTests() -> [XCTestCaseEntry] {
86 return [
87 testCase(FlatBuffersDoubleTests.__allTests__FlatBuffersDoubleTests),
88 testCase(FlatBuffersMonsterWriterTests.__allTests__FlatBuffersMonsterWriterTests),
89 testCase(FlatBuffersStructsTests.__allTests__FlatBuffersStructsTests),
90 testCase(FlatBuffersTests.__allTests__FlatBuffersTests),
91 testCase(FlatBuffersUnionTests.__allTests__FlatBuffersUnionTests),
92 testCase(FlatBuffersVectors.__allTests__FlatBuffersVectors),
93 ]
94 }
95 #endif
96