Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 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 | ("testCreateFinish", testCreateFinish), |
| 10 | ("testCreateFinishWithPrefix", testCreateFinishWithPrefix), |
| 11 | ] |
| 12 | } |
| 13 | |
| 14 | extension FlatBuffersMonsterWriterTests { |
| 15 | // DO NOT MODIFY: This is autogenerated, use: |
| 16 | // `swift test --generate-linuxmain` |
| 17 | // to regenerate. |
| 18 | static let __allTests__FlatBuffersMonsterWriterTests = [ |
| 19 | ("testCreateMonster", testCreateMonster), |
| 20 | ("testCreateMonsterPrefixed", testCreateMonsterPrefixed), |
| 21 | ("testCreateMonsterResizedBuffer", testCreateMonsterResizedBuffer), |
| 22 | ("testCreateMonsterUsingCreateMonsterMethodWithNilPos", testCreateMonsterUsingCreateMonsterMethodWithNilPos), |
| 23 | ("testCreateMonsterUsingCreateMonsterMethodWithPosX", testCreateMonsterUsingCreateMonsterMethodWithPosX), |
| 24 | ("testData", testData), |
| 25 | ("testReadFromOtherLanguages", testReadFromOtherLanguages), |
| 26 | ("testReadMonsterFromUnsafePointerWithoutCopying", testReadMonsterFromUnsafePointerWithoutCopying), |
| 27 | ] |
| 28 | } |
| 29 | |
| 30 | extension FlatBuffersStructsTests { |
| 31 | // DO NOT MODIFY: This is autogenerated, use: |
| 32 | // `swift test --generate-linuxmain` |
| 33 | // to regenerate. |
| 34 | static let __allTests__FlatBuffersStructsTests = [ |
| 35 | ("testWritingAndMutatingBools", testWritingAndMutatingBools), |
| 36 | ] |
| 37 | } |
| 38 | |
| 39 | extension FlatBuffersTests { |
| 40 | // DO NOT MODIFY: This is autogenerated, use: |
| 41 | // `swift test --generate-linuxmain` |
| 42 | // to regenerate. |
| 43 | static let __allTests__FlatBuffersTests = [ |
| 44 | ("testCreateFinish", testCreateFinish), |
| 45 | ("testCreateFinishWithPrefix", testCreateFinishWithPrefix), |
| 46 | ("testCreateString", testCreateString), |
| 47 | ("testEndian", testEndian), |
| 48 | ("testOffset", testOffset), |
| 49 | ("testReadCountry", testReadCountry), |
| 50 | ("testStartTable", testStartTable), |
| 51 | ("testWriteNullableStrings", testWriteNullableStrings), |
| 52 | ("testWriteOptionalValues", testWriteOptionalValues), |
| 53 | ] |
| 54 | } |
| 55 | |
| 56 | extension FlatBuffersUnionTests { |
| 57 | // DO NOT MODIFY: This is autogenerated, use: |
| 58 | // `swift test --generate-linuxmain` |
| 59 | // to regenerate. |
| 60 | static let __allTests__FlatBuffersUnionTests = [ |
| 61 | ("testCreateMonstor", testCreateMonstor), |
| 62 | ("testEndTableFinish", testEndTableFinish), |
| 63 | ("testEnumVector", testEnumVector), |
| 64 | ("testUnionVector", testUnionVector), |
| 65 | ] |
| 66 | } |
| 67 | |
| 68 | extension FlatBuffersVectors { |
| 69 | // DO NOT MODIFY: This is autogenerated, use: |
| 70 | // `swift test --generate-linuxmain` |
| 71 | // to regenerate. |
| 72 | static let __allTests__FlatBuffersVectors = [ |
| 73 | ("testCreateEmptyIntArray", testCreateEmptyIntArray), |
| 74 | ("testCreateIntArray", testCreateIntArray), |
| 75 | ("testCreateSharedStringVector", testCreateSharedStringVector), |
| 76 | ("testCreateVectorOfStrings", testCreateVectorOfStrings), |
| 77 | ("testCreatingTwoCountries", testCreatingTwoCountries), |
| 78 | ("testReadDoubleArray", testReadDoubleArray), |
| 79 | ("testReadInt32Array", testReadInt32Array), |
| 80 | ] |
| 81 | } |
| 82 | |
| 83 | public func __allTests() -> [XCTestCaseEntry] { |
| 84 | return [ |
| 85 | testCase(FlatBuffersDoubleTests.__allTests__FlatBuffersDoubleTests), |
| 86 | testCase(FlatBuffersMonsterWriterTests.__allTests__FlatBuffersMonsterWriterTests), |
| 87 | testCase(FlatBuffersStructsTests.__allTests__FlatBuffersStructsTests), |
| 88 | testCase(FlatBuffersTests.__allTests__FlatBuffersTests), |
| 89 | testCase(FlatBuffersUnionTests.__allTests__FlatBuffersUnionTests), |
| 90 | testCase(FlatBuffersVectors.__allTests__FlatBuffersVectors), |
| 91 | ] |
| 92 | } |
| 93 | #endif |