mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
Had not updated linuxmain in a while. pretty sure I'll have problems building on Linux at least with the stuff going on in JSONAPI+OpenAPI.
This commit is contained in:
@@ -2,13 +2,24 @@ import XCTest
|
||||
|
||||
extension JSONAPIAttributeOpenAPITests {
|
||||
static let __allTests = [
|
||||
("test_8601DateStringAttribute", test_8601DateStringAttribute),
|
||||
("test_8601DateStringAttribute_Sampleable", test_8601DateStringAttribute_Sampleable),
|
||||
("test_Arrayttribute", test_Arrayttribute),
|
||||
("test_BooleanAttribute", test_BooleanAttribute),
|
||||
("test_DateDeferredAttribute", test_DateDeferredAttribute),
|
||||
("test_DateDeferredAttribute_Sampleable", test_DateDeferredAttribute_Sampleable),
|
||||
("test_DateNumberAttribute", test_DateNumberAttribute),
|
||||
("test_DateNumberAttribute_Sampleable", test_DateNumberAttribute_Sampleable),
|
||||
("test_DateStringAttribute", test_DateStringAttribute),
|
||||
("test_DateStringAttribute_Sampleable", test_DateStringAttribute_Sampleable),
|
||||
("test_DateTimeStringAttribute", test_DateTimeStringAttribute),
|
||||
("test_DateTimeStringAttribute_Sampleable", test_DateTimeStringAttribute_Sampleable),
|
||||
("test_EnumAttribute", test_EnumAttribute),
|
||||
("test_FloatNumberAttribute", test_FloatNumberAttribute),
|
||||
("test_IntegerAttribute", test_IntegerAttribute),
|
||||
("test_NullableArrayAttribute", test_NullableArrayAttribute),
|
||||
("test_NullableBooleanAttribute", test_NullableBooleanAttribute),
|
||||
("test_NullableDateAttribute", test_NullableDateAttribute),
|
||||
("test_NullableEnumAttribute", test_NullableEnumAttribute),
|
||||
("test_NullableIntegerAttribute", test_NullableIntegerAttribute),
|
||||
("test_NullableNumberAttribute", test_NullableNumberAttribute),
|
||||
@@ -16,10 +27,12 @@ extension JSONAPIAttributeOpenAPITests {
|
||||
("test_NumberAttribute", test_NumberAttribute),
|
||||
("test_OptionalArrayAttribute", test_OptionalArrayAttribute),
|
||||
("test_OptionalBooleanAttribute", test_OptionalBooleanAttribute),
|
||||
("test_OptionalDateAttribute", test_OptionalDateAttribute),
|
||||
("test_OptionalEnumAttribute", test_OptionalEnumAttribute),
|
||||
("test_OptionalIntegerAttribute", test_OptionalIntegerAttribute),
|
||||
("test_OptionalNullableArrayAttribute", test_OptionalNullableArrayAttribute),
|
||||
("test_OptionalNullableBooleanAttribute", test_OptionalNullableBooleanAttribute),
|
||||
("test_OptionalNullableDateAttribute", test_OptionalNullableDateAttribute),
|
||||
("test_OptionalNullableEnumAttribute", test_OptionalNullableEnumAttribute),
|
||||
("test_OptionalNullableIntegerAttribute", test_OptionalNullableIntegerAttribute),
|
||||
("test_OptionalNullableNumberAttribute", test_OptionalNullableNumberAttribute),
|
||||
@@ -32,6 +45,9 @@ extension JSONAPIAttributeOpenAPITests {
|
||||
|
||||
extension JSONAPIDocumentOpenAPITests {
|
||||
static let __allTests = [
|
||||
("test_DocumentWithOneIncludeType", test_DocumentWithOneIncludeType),
|
||||
("test_DocumentWithTwoIncludeTypes", test_DocumentWithTwoIncludeTypes),
|
||||
("test_ManyResourceDocument", test_ManyResourceDocument),
|
||||
("test_SingleResourceDocument", test_SingleResourceDocument),
|
||||
]
|
||||
}
|
||||
@@ -42,6 +58,7 @@ extension JSONAPIEntityOpenAPITests {
|
||||
("test_AttributesEntity", test_AttributesEntity),
|
||||
("test_EmptyEntity", test_EmptyEntity),
|
||||
("test_RelationshipsEntity", test_RelationshipsEntity),
|
||||
("test_UnidentifiedEmptyEntity", test_UnidentifiedEmptyEntity),
|
||||
]
|
||||
}
|
||||
|
||||
@@ -56,6 +73,55 @@ extension JSONAPIRelationshipsOpenAPITests {
|
||||
]
|
||||
}
|
||||
|
||||
extension JSONAPITransformedAttributeOpenAPITests {
|
||||
static let __allTests = [
|
||||
("test_8601DateStringAttribute", test_8601DateStringAttribute),
|
||||
("test_8601DateStringAttribute_Sampleable", test_8601DateStringAttribute_Sampleable),
|
||||
("test_Arrayttribute", test_Arrayttribute),
|
||||
("test_BooleanAttribute", test_BooleanAttribute),
|
||||
("test_DateDeferredAttribute", test_DateDeferredAttribute),
|
||||
("test_DateDeferredAttribute_Sampleable", test_DateDeferredAttribute_Sampleable),
|
||||
("test_DateNumberAttribute", test_DateNumberAttribute),
|
||||
("test_DateNumberAttribute_Sampleable", test_DateNumberAttribute_Sampleable),
|
||||
("test_DateStringAttribute", test_DateStringAttribute),
|
||||
("test_DateStringAttribute_Sampleable", test_DateStringAttribute_Sampleable),
|
||||
("test_DateTimeStringAttribute", test_DateTimeStringAttribute),
|
||||
("test_DateTimeStringAttribute_Sampleable", test_DateTimeStringAttribute_Sampleable),
|
||||
("test_EnumAttribute", test_EnumAttribute),
|
||||
("test_FloatNumberAttribute", test_FloatNumberAttribute),
|
||||
("test_IntegerAttribute", test_IntegerAttribute),
|
||||
("test_NullableArrayAttribute", test_NullableArrayAttribute),
|
||||
("test_NullableBooleanAttribute", test_NullableBooleanAttribute),
|
||||
("test_NullableDateAttribute", test_NullableDateAttribute),
|
||||
("test_NullableEnumAttribute", test_NullableEnumAttribute),
|
||||
("test_NullableIntegerAttribute", test_NullableIntegerAttribute),
|
||||
("test_NullableNumberAttribute", test_NullableNumberAttribute),
|
||||
("test_NullableStringAttribute", test_NullableStringAttribute),
|
||||
("test_NumberAttribute", test_NumberAttribute),
|
||||
("test_OptionalArrayAttribute", test_OptionalArrayAttribute),
|
||||
("test_OptionalBooleanAttribute", test_OptionalBooleanAttribute),
|
||||
("test_OptionalDateAttribute", test_OptionalDateAttribute),
|
||||
("test_OptionalEnumAttribute", test_OptionalEnumAttribute),
|
||||
("test_OptionalIntegerAttribute", test_OptionalIntegerAttribute),
|
||||
("test_OptionalNullableArrayAttribute", test_OptionalNullableArrayAttribute),
|
||||
("test_OptionalNullableBooleanAttribute", test_OptionalNullableBooleanAttribute),
|
||||
("test_OptionalNullableDateAttribute", test_OptionalNullableDateAttribute),
|
||||
("test_OptionalNullableEnumAttribute", test_OptionalNullableEnumAttribute),
|
||||
("test_OptionalNullableIntegerAttribute", test_OptionalNullableIntegerAttribute),
|
||||
("test_OptionalNullableNumberAttribute", test_OptionalNullableNumberAttribute),
|
||||
("test_OptionalNullableStringAttribute", test_OptionalNullableStringAttribute),
|
||||
("test_OptionalNumberAttribute", test_OptionalNumberAttribute),
|
||||
("test_OptionalStringAttribute", test_OptionalStringAttribute),
|
||||
("test_StringAttribute", test_StringAttribute),
|
||||
]
|
||||
}
|
||||
|
||||
extension OpenAPITests {
|
||||
static let __allTests = [
|
||||
("test_placeholder", test_placeholder),
|
||||
]
|
||||
}
|
||||
|
||||
#if !os(macOS)
|
||||
public func __allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
@@ -63,6 +129,8 @@ public func __allTests() -> [XCTestCaseEntry] {
|
||||
testCase(JSONAPIDocumentOpenAPITests.__allTests),
|
||||
testCase(JSONAPIEntityOpenAPITests.__allTests),
|
||||
testCase(JSONAPIRelationshipsOpenAPITests.__allTests),
|
||||
testCase(JSONAPITransformedAttributeOpenAPITests.__allTests),
|
||||
testCase(OpenAPITests.__allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user