You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.6 KiB
96 lines
3.6 KiB
#if !canImport(ObjectiveC)
|
|
import XCTest
|
|
|
|
extension FlatBuffersDoubleTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersDoubleTests = [
|
|
("testCreateCountry", testCreateCountry),
|
|
("testCreateFinish", testCreateFinish),
|
|
("testCreateFinishWithPrefix", testCreateFinishWithPrefix),
|
|
]
|
|
}
|
|
|
|
extension FlatBuffersMonsterWriterTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersMonsterWriterTests = [
|
|
("testCreateMonster", testCreateMonster),
|
|
("testCreateMonsterPrefixed", testCreateMonsterPrefixed),
|
|
("testCreateMonsterResizedBuffer", testCreateMonsterResizedBuffer),
|
|
("testData", testData),
|
|
("testReadFromOtherLangagues", testReadFromOtherLangagues),
|
|
]
|
|
}
|
|
|
|
extension FlatBuffersStructsTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersStructsTests = [
|
|
("testCreatingEnums", testCreatingEnums),
|
|
("testCreatingStruct", testCreatingStruct),
|
|
("testCreatingVectorStruct", testCreatingVectorStruct),
|
|
("testCreatingVectorStructWithForcedDefaults", testCreatingVectorStructWithForcedDefaults),
|
|
("testReadingStruct", testReadingStruct),
|
|
("testReadingStructWithEnums", testReadingStructWithEnums),
|
|
]
|
|
}
|
|
|
|
extension FlatBuffersTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersTests = [
|
|
("testCreate", testCreate),
|
|
("testCreateFinish", testCreateFinish),
|
|
("testCreateFinishWithPrefix", testCreateFinishWithPrefix),
|
|
("testCreateString", testCreateString),
|
|
("testEndian", testEndian),
|
|
("testOffset", testOffset),
|
|
("testReadCountry", testReadCountry),
|
|
("testStartTable", testStartTable),
|
|
]
|
|
}
|
|
|
|
extension FlatBuffersUnionTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersUnionTests = [
|
|
("testCreateMonstor", testCreateMonstor),
|
|
("testEndTableFinish", testEndTableFinish),
|
|
("testEnumVector", testEnumVector),
|
|
("testUnionVector", testUnionVector),
|
|
]
|
|
}
|
|
|
|
extension FlatBuffersVectors {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FlatBuffersVectors = [
|
|
("testCreateEmptyIntArray", testCreateEmptyIntArray),
|
|
("testCreateIntArray", testCreateIntArray),
|
|
("testCreateSharedStringVector", testCreateSharedStringVector),
|
|
("testCreateVectorOfStrings", testCreateVectorOfStrings),
|
|
("testCreatingTwoCountries", testCreatingTwoCountries),
|
|
("testReadDoubleArray", testReadDoubleArray),
|
|
("testReadInt32Array", testReadInt32Array),
|
|
]
|
|
}
|
|
|
|
public func __allTests() -> [XCTestCaseEntry] {
|
|
return [
|
|
testCase(FlatBuffersDoubleTests.__allTests__FlatBuffersDoubleTests),
|
|
testCase(FlatBuffersMonsterWriterTests.__allTests__FlatBuffersMonsterWriterTests),
|
|
testCase(FlatBuffersStructsTests.__allTests__FlatBuffersStructsTests),
|
|
testCase(FlatBuffersTests.__allTests__FlatBuffersTests),
|
|
testCase(FlatBuffersUnionTests.__allTests__FlatBuffersUnionTests),
|
|
testCase(FlatBuffersVectors.__allTests__FlatBuffersVectors),
|
|
]
|
|
}
|
|
#endif
|