306 lines
12 KiB
Swift
306 lines
12 KiB
Swift
#if !canImport(ObjectiveC)
|
|
import XCTest
|
|
|
|
extension ComponentIdentifierTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__ComponentIdentifierTests = [
|
|
("testMirrorAsStableIdentifier", testMirrorAsStableIdentifier),
|
|
("testStringDescribingAsStableIdentifier", testStringDescribingAsStableIdentifier)
|
|
]
|
|
}
|
|
|
|
extension ComponentTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__ComponentTests = [
|
|
("testComponentIdentifier", testComponentIdentifier)
|
|
]
|
|
}
|
|
|
|
extension EntityCreationTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__EntityCreationTests = [
|
|
("testBulkCreateEntitiesMultipleComponents", testBulkCreateEntitiesMultipleComponents),
|
|
("testBulkCreateEntitiesOneComponent", testBulkCreateEntitiesOneComponent),
|
|
("testCreateEntityMultipleComponents", testCreateEntityMultipleComponents),
|
|
("testCreateEntityOneComponent", testCreateEntityOneComponent)
|
|
]
|
|
}
|
|
|
|
extension EntityTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__EntityTests = [
|
|
("testAllComponentsOfEntity", testAllComponentsOfEntity),
|
|
("testEntityEquality", testEntityEquality),
|
|
("testEntityIdentifierAndIndex", testEntityIdentifierAndIndex),
|
|
("testEntityIdGenerator", testEntityIdGenerator),
|
|
("testEntitySubscripts", testEntitySubscripts),
|
|
("testRemoveAllComponentsFromEntity", testRemoveAllComponentsFromEntity)
|
|
]
|
|
}
|
|
|
|
extension Family1Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family1Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family2Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family2Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family3Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family3Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family4Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family4Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family5Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family5Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family6Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family6Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family7Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family7Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension Family8Tests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__Family8Tests = [
|
|
("testComponentIteration", testComponentIteration),
|
|
("testEntityComponentIteration", testEntityComponentIteration),
|
|
("testEntityIteration", testEntityIteration),
|
|
("testFamilyDecoding", testFamilyDecoding),
|
|
("testFamilyEncoding", testFamilyEncoding),
|
|
("testFamilyFailDecoding", testFamilyFailDecoding),
|
|
("testMemberCreation", testMemberCreation)
|
|
]
|
|
}
|
|
|
|
extension FamilyCodingTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FamilyCodingTests = [
|
|
("testDecodeFamily4", testDecodeFamily4),
|
|
("testDecodeFamily5", testDecodeFamily5),
|
|
("testDecodingFamily1", testDecodingFamily1),
|
|
("testDecodingFamily2", testDecodingFamily2),
|
|
("testDecodingFamily3", testDecodingFamily3),
|
|
("testEncodeFamily2", testEncodeFamily2),
|
|
("testEncodeFamily3", testEncodeFamily3),
|
|
("testEncodeFamily4", testEncodeFamily4),
|
|
("testEncodeFamily5", testEncodeFamily5),
|
|
("testEncodingFamily1", testEncodingFamily1),
|
|
("testFailDecodingFamily", testFailDecodingFamily)
|
|
]
|
|
}
|
|
|
|
extension FamilyTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FamilyTests = [
|
|
("testFamilyAbandoned", testFamilyAbandoned),
|
|
("testFamilyBulkDestroy", testFamilyBulkDestroy),
|
|
("testFamilyCreateMembers", testFamilyCreateMembers),
|
|
("testFamilyCreation", testFamilyCreation),
|
|
("testFamilyExchange", testFamilyExchange),
|
|
("testFamilyLateMember", testFamilyLateMember),
|
|
("testFamilyMemberBasicIteration", testFamilyMemberBasicIteration),
|
|
("testFamilyReuse", testFamilyReuse)
|
|
]
|
|
}
|
|
|
|
extension FamilyTraitsTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__FamilyTraitsTests = [
|
|
("testTraitCommutativity", testTraitCommutativity),
|
|
("testTraitMatching", testTraitMatching)
|
|
]
|
|
}
|
|
|
|
extension HashingTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__HashingTests = [
|
|
("testCollisionsInCritialRange", testCollisionsInCritialRange),
|
|
("testStringHashes", testStringHashes)
|
|
]
|
|
}
|
|
|
|
extension NexusTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__NexusTests = [
|
|
("testComponentCreation", testComponentCreation),
|
|
("testComponentDeletion", testComponentDeletion),
|
|
("testComponentRetrieval", testComponentRetrieval),
|
|
("testComponentUniqueness", testComponentUniqueness),
|
|
("testEntityCreate", testEntityCreate),
|
|
("testEntityDestroy", testEntityDestroy)
|
|
]
|
|
}
|
|
|
|
extension SingleTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__SingleTests = [
|
|
("testSingleCreation", testSingleCreation),
|
|
("testSingleCreationOnExistingFamilyMember", testSingleCreationOnExistingFamilyMember),
|
|
("testSingleEntityAndComponentCreation", testSingleEntityAndComponentCreation),
|
|
("testSingleReuse", testSingleReuse)
|
|
]
|
|
}
|
|
|
|
extension SparseSetTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__SparseSetTests = [
|
|
("testAlternativeKey", testAlternativeKey),
|
|
("testEquality", testEquality),
|
|
("testSparseSetAdd", testSparseSetAdd),
|
|
("testSparseSetAddAndReplace", testSparseSetAddAndReplace),
|
|
("testSparseSetClear", testSparseSetClear),
|
|
("testSparseSetDoubleRemove", testSparseSetDoubleRemove),
|
|
("testSparseSetGet", testSparseSetGet),
|
|
("testSparseSetNonCongiuousData", testSparseSetNonCongiuousData),
|
|
("testSparseSetReduce", testSparseSetReduce),
|
|
("testSparseSetRemove", testSparseSetRemove),
|
|
("testSparseSetRemoveAndAdd", testSparseSetRemoveAndAdd),
|
|
("testSparseSetRemoveNonPresent", testSparseSetRemoveNonPresent),
|
|
("testStartEndIndex", testStartEndIndex),
|
|
("testSubscript", testSubscript)
|
|
]
|
|
}
|
|
|
|
extension SystemsTests {
|
|
// DO NOT MODIFY: This is autogenerated, use:
|
|
// `swift test --generate-linuxmain`
|
|
// to regenerate.
|
|
static let __allTests__SystemsTests = [
|
|
("testSystemsUpdate", testSystemsUpdate)
|
|
]
|
|
}
|
|
|
|
public func __allTests() -> [XCTestCaseEntry] {
|
|
return [
|
|
testCase(ComponentIdentifierTests.__allTests__ComponentIdentifierTests),
|
|
testCase(ComponentTests.__allTests__ComponentTests),
|
|
testCase(EntityCreationTests.__allTests__EntityCreationTests),
|
|
testCase(EntityTests.__allTests__EntityTests),
|
|
testCase(Family1Tests.__allTests__Family1Tests),
|
|
testCase(Family2Tests.__allTests__Family2Tests),
|
|
testCase(Family3Tests.__allTests__Family3Tests),
|
|
testCase(Family4Tests.__allTests__Family4Tests),
|
|
testCase(Family5Tests.__allTests__Family5Tests),
|
|
testCase(Family6Tests.__allTests__Family6Tests),
|
|
testCase(Family7Tests.__allTests__Family7Tests),
|
|
testCase(Family8Tests.__allTests__Family8Tests),
|
|
testCase(FamilyCodingTests.__allTests__FamilyCodingTests),
|
|
testCase(FamilyTests.__allTests__FamilyTests),
|
|
testCase(FamilyTraitsTests.__allTests__FamilyTraitsTests),
|
|
testCase(HashingTests.__allTests__HashingTests),
|
|
testCase(NexusTests.__allTests__NexusTests),
|
|
testCase(SingleTests.__allTests__SingleTests),
|
|
testCase(SparseSetTests.__allTests__SparseSetTests),
|
|
testCase(SystemsTests.__allTests__SystemsTests)
|
|
]
|
|
}
|
|
#endif
|