generate linuxmain

This commit is contained in:
Mathew Polzin
2019-11-15 17:38:04 -08:00
parent 4a7a14b1b0
commit 8ee04d8932
2 changed files with 70 additions and 2 deletions
@@ -1,6 +1,18 @@
#if !canImport(ObjectiveC)
import XCTest
extension ArrayCompareTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__ArrayCompareTests = [
("test_differentLengths", test_differentLengths),
("test_differentValues", test_differentValues),
("test_reducePrebuilt", test_reducePrebuilt),
("test_same", test_same),
]
}
extension Attribute_LiteralTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
@@ -41,6 +53,7 @@ extension AttributesCompareTests {
// to regenerate.
static let __allTests__AttributesCompareTests = [
("test_differentAttributes", test_differentAttributes),
("test_nonAttributeTypes", test_nonAttributeTypes),
("test_sameAttributes", test_sameAttributes),
]
}
@@ -50,10 +63,14 @@ extension DocumentCompareTests {
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__DocumentCompareTests = [
("test_differentAPIDescription", test_differentAPIDescription),
("test_differentData", test_differentData),
("test_differentErrors", test_differentErrors),
("test_differentLinks", test_differentLinks),
("test_differentMetadata", test_differentMetadata),
("test_errorAndData", test_errorAndData),
("test_same", test_same),
("test_sameErrorsDifferentMetadata", test_sameErrorsDifferentMetadata),
]
}
@@ -103,18 +120,36 @@ extension Relationship_LiteralTests {
]
}
extension RelationshipsCompareTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__RelationshipsCompareTests = [
("test_differentIds", test_differentIds),
("test_differentLinks", test_differentLinks),
("test_differentMetadata", test_differentMetadata),
("test_nonRelationshipTypes", test_nonRelationshipTypes),
("test_same", test_same),
]
}
extension ResourceObjectCompareTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__ResourceObjectCompareTests = [
("test_different", test_different),
("test_differentAttributes", test_differentAttributes),
("test_differentIds", test_differentIds),
("test_differentLinks", test_differentLinks),
("test_differentMetadata", test_differentMetadata),
("test_differentRelationships", test_differentRelationships),
("test_same", test_same),
]
}
public func __allTests() -> [XCTestCaseEntry] {
return [
testCase(ArrayCompareTests.__allTests__ArrayCompareTests),
testCase(Attribute_LiteralTests.__allTests__Attribute_LiteralTests),
testCase(AttributesCompareTests.__allTests__AttributesCompareTests),
testCase(DocumentCompareTests.__allTests__DocumentCompareTests),
@@ -122,6 +157,7 @@ public func __allTests() -> [XCTestCaseEntry] {
testCase(Id_LiteralTests.__allTests__Id_LiteralTests),
testCase(IncludesCompareTests.__allTests__IncludesCompareTests),
testCase(Relationship_LiteralTests.__allTests__Relationship_LiteralTests),
testCase(RelationshipsCompareTests.__allTests__RelationshipsCompareTests),
testCase(ResourceObjectCompareTests.__allTests__ResourceObjectCompareTests),
]
}
+33 -1
View File
@@ -22,10 +22,12 @@ extension AttributeTests {
// to regenerate.
static let __allTests__AttributeTests = [
("test_AttributeConstructor", test_AttributeConstructor),
("test_AttributeRawType", test_AttributeRawType),
("test_EncodedPrimitives", test_EncodedPrimitives),
("test_NullableIsEqualToNonNullableIfNotNil", test_NullableIsEqualToNonNullableIfNotNil),
("test_NullableIsNullIfNil", test_NullableIsNullIfNil),
("test_TransformedAttributeNoThrow", test_TransformedAttributeNoThrow),
("test_TransformedAttributeRawType", test_TransformedAttributeRawType),
("test_TransformedAttributeReversNoThrow", test_TransformedAttributeReversNoThrow),
("test_TransformedAttributeThrows", test_TransformedAttributeThrows),
]
@@ -91,10 +93,13 @@ extension DocumentDecodingErrorTests {
// to regenerate.
static let __allTests__DocumentDecodingErrorTests = [
("test_include_failure", test_include_failure),
("test_include_failure2", test_include_failure2),
("test_manyPrimaryResource_failure", test_manyPrimaryResource_failure),
("test_manyPrimaryResource_missing", test_manyPrimaryResource_missing),
("test_singlePrimaryResource_failure", test_singlePrimaryResource_failure),
("test_singlePrimaryResource_missing", test_singlePrimaryResource_missing),
("test_wantError_foundSuccess", test_wantError_foundSuccess),
("test_wantSuccess_foundError", test_wantSuccess_foundError),
]
}
@@ -283,6 +288,15 @@ extension IncludedTests {
]
}
extension IncludesDecodingErrorTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__IncludesDecodingErrorTests = [
("test_unexpectedIncludeType", test_unexpectedIncludeType),
]
}
extension LinksTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
@@ -318,6 +332,7 @@ extension PolyProxyTests {
static let __allTests__PolyProxyTests = [
("test_AsymmetricEncodeDecodeUserA", test_AsymmetricEncodeDecodeUserA),
("test_AsymmetricEncodeDecodeUserB", test_AsymmetricEncodeDecodeUserB),
("test_CannotEncodeOrDecodePoly0", test_CannotEncodeOrDecodePoly0),
("test_generalReasonableness", test_generalReasonableness),
("test_UserAAndBEncodeEquality", test_UserAAndBEncodeEquality),
("test_UserADecode", test_UserADecode),
@@ -391,8 +406,13 @@ extension ResourceObjectDecodingErrorTests {
("test_oneTypeVsAnother_relationship", test_oneTypeVsAnother_relationship),
("test_required_attribute", test_required_attribute),
("test_required_relationship", test_required_relationship),
("test_transformed_attribute", test_transformed_attribute),
("test_transformed_attribute2", test_transformed_attribute2),
("test_twoOneVsToMany_relationship", test_twoOneVsToMany_relationship),
("test_wrongType", test_wrongType),
("test_type_missing", test_type_missing),
("test_type_null", test_type_null),
("test_wrongDecodedType", test_wrongDecodedType),
("test_wrongJSONAPIType", test_wrongJSONAPIType),
]
}
@@ -538,6 +558,16 @@ extension SparseFieldsetTests {
]
}
extension SuccessAndErrorDocumentTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__SuccessAndErrorDocumentTests = [
("test_errorAccessors", test_errorAccessors),
("test_successAccessors", test_successAccessors),
]
}
extension TransformerTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
@@ -561,6 +591,7 @@ public func __allTests() -> [XCTestCaseEntry] {
testCase(EmptyObjectDecoderTests.__allTests__EmptyObjectDecoderTests),
testCase(GenericJSONAPIErrorTests.__allTests__GenericJSONAPIErrorTests),
testCase(IncludedTests.__allTests__IncludedTests),
testCase(IncludesDecodingErrorTests.__allTests__IncludesDecodingErrorTests),
testCase(LinksTests.__allTests__LinksTests),
testCase(NonJSONAPIRelatableTests.__allTests__NonJSONAPIRelatableTests),
testCase(PolyProxyTests.__allTests__PolyProxyTests),
@@ -571,6 +602,7 @@ public func __allTests() -> [XCTestCaseEntry] {
testCase(ResourceObjectTests.__allTests__ResourceObjectTests),
testCase(SparseFieldEncoderTests.__allTests__SparseFieldEncoderTests),
testCase(SparseFieldsetTests.__allTests__SparseFieldsetTests),
testCase(SuccessAndErrorDocumentTests.__allTests__SuccessAndErrorDocumentTests),
testCase(TransformerTests.__allTests__TransformerTests),
]
}