Skip to content

Commit 7d0a686

Browse files
committed
update linuxmain
1 parent e4eb781 commit 7d0a686

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To create an Xcode project for JSONAPI, run
2929
### Running the Playground
3030
To run the included Playground files, create an Xcode project using Swift Package Manager, then create an Xcode Workspace in the root of the repository and add both the generated Xcode project and the playground to the Workspace.
3131

32-
Note that Playground support for importing non-system Frameworks is still a bit touchy as of Swift 4.2. Sometimes building, cleaning and building, or commenting out and then uncommenting import statements (especially in the Entities.swift Playground Source file) can get things working for me when I am getting an error about JSONAPI not being found.
32+
Note that Playground support for importing non-system Frameworks is still a bit touchy as of Swift 4.2. Sometimes building, cleaning and building, or commenting out and then uncommenting import statements (especially in the Entities.swift Playground Source file) can get things working for me when I am getting an error about `JSONAPI` not being found.
3333

3434
## Project Status
3535

Tests/JSONAPITests/XCTestManifests.swift

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
import XCTest
22

3+
extension APIDescriptionTests {
4+
static let __allTests = [
5+
("test_empty", test_empty),
6+
("test_failsMissingMeta", test_failsMissingMeta),
7+
("test_WithMeta", test_WithMeta),
8+
("test_WithVersion", test_WithVersion),
9+
("test_WithVersionAndMeta", test_WithVersionAndMeta),
10+
]
11+
}
12+
313
extension AttributeTests {
414
static let __allTests = [
515
("test_AttributeIsTransformedAttribute", test_AttributeIsTransformedAttribute),
@@ -41,54 +51,98 @@ extension ComputedPropertiesTests {
4151

4252
extension DocumentTests {
4353
static let __allTests = [
54+
("test_errorDocumentFailsWithNoAPIDescription", test_errorDocumentFailsWithNoAPIDescription),
4455
("test_errorDocumentNoMeta", test_errorDocumentNoMeta),
4556
("test_errorDocumentNoMeta_encode", test_errorDocumentNoMeta_encode),
57+
("test_errorDocumentNoMetaWithAPIDescription", test_errorDocumentNoMetaWithAPIDescription),
58+
("test_errorDocumentNoMetaWithAPIDescription_encode", test_errorDocumentNoMetaWithAPIDescription_encode),
4659
("test_manyDocumentNoIncludes", test_manyDocumentNoIncludes),
4760
("test_manyDocumentNoIncludes_encode", test_manyDocumentNoIncludes_encode),
61+
("test_manyDocumentNoIncludesWithAPIDescription", test_manyDocumentNoIncludesWithAPIDescription),
62+
("test_manyDocumentNoIncludesWithAPIDescription_encode", test_manyDocumentNoIncludesWithAPIDescription_encode),
4863
("test_manyDocumentSomeIncludes", test_manyDocumentSomeIncludes),
4964
("test_manyDocumentSomeIncludes_encode", test_manyDocumentSomeIncludes_encode),
65+
("test_manyDocumentSomeIncludesWithAPIDescription", test_manyDocumentSomeIncludesWithAPIDescription),
66+
("test_manyDocumentSomeIncludesWithAPIDescription_encode", test_manyDocumentSomeIncludesWithAPIDescription_encode),
5067
("test_metaDataDocument", test_metaDataDocument),
5168
("test_metaDataDocument_encode", test_metaDataDocument_encode),
69+
("test_metaDataDocumentFailsIfMissingAPIDescription", test_metaDataDocumentFailsIfMissingAPIDescription),
70+
("test_metaDataDocumentWithAPIDescription", test_metaDataDocumentWithAPIDescription),
71+
("test_metaDataDocumentWithAPIDescription_encode", test_metaDataDocumentWithAPIDescription_encode),
5272
("test_metaDataDocumentWithLinks", test_metaDataDocumentWithLinks),
5373
("test_metaDataDocumentWithLinks_encode", test_metaDataDocumentWithLinks_encode),
74+
("test_metaDataDocumentWithLinksWithAPIDescription", test_metaDataDocumentWithLinksWithAPIDescription),
75+
("test_metaDataDocumentWithLinksWithAPIDescription_encode", test_metaDataDocumentWithLinksWithAPIDescription_encode),
5476
("test_metaDocumentMissingMeta", test_metaDocumentMissingMeta),
5577
("test_singleDocument_PolyPrimaryResource", test_singleDocument_PolyPrimaryResource),
5678
("test_singleDocument_PolyPrimaryResource_encode", test_singleDocument_PolyPrimaryResource_encode),
79+
("test_singleDocument_PolyPrimaryResourceWithAPIDescription", test_singleDocument_PolyPrimaryResourceWithAPIDescription),
80+
("test_singleDocument_PolyPrimaryResourceWithAPIDescription_encode", test_singleDocument_PolyPrimaryResourceWithAPIDescription_encode),
5781
("test_singleDocumentNoIncludes", test_singleDocumentNoIncludes),
5882
("test_singleDocumentNoIncludes_encode", test_singleDocumentNoIncludes_encode),
83+
("test_singleDocumentNoIncludesMissingAPIDescription", test_singleDocumentNoIncludesMissingAPIDescription),
5984
("test_singleDocumentNoIncludesMissingMetadata", test_singleDocumentNoIncludesMissingMetadata),
6085
("test_singleDocumentNoIncludesOptionalNotNull", test_singleDocumentNoIncludesOptionalNotNull),
6186
("test_singleDocumentNoIncludesOptionalNotNull_encode", test_singleDocumentNoIncludesOptionalNotNull_encode),
87+
("test_singleDocumentNoIncludesOptionalNotNullWithAPIDescription", test_singleDocumentNoIncludesOptionalNotNullWithAPIDescription),
88+
("test_singleDocumentNoIncludesOptionalNotNullWithAPIDescription_encode", test_singleDocumentNoIncludesOptionalNotNullWithAPIDescription_encode),
89+
("test_singleDocumentNoIncludesWithAPIDescription", test_singleDocumentNoIncludesWithAPIDescription),
90+
("test_singleDocumentNoIncludesWithAPIDescription_encode", test_singleDocumentNoIncludesWithAPIDescription_encode),
6291
("test_singleDocumentNoIncludesWithLinks", test_singleDocumentNoIncludesWithLinks),
6392
("test_singleDocumentNoIncludesWithLinks_encode", test_singleDocumentNoIncludesWithLinks_encode),
93+
("test_singleDocumentNoIncludesWithLinksWithAPIDescription", test_singleDocumentNoIncludesWithLinksWithAPIDescription),
94+
("test_singleDocumentNoIncludesWithLinksWithAPIDescription_encode", test_singleDocumentNoIncludesWithLinksWithAPIDescription_encode),
6495
("test_singleDocumentNoIncludesWithMetadata", test_singleDocumentNoIncludesWithMetadata),
6596
("test_singleDocumentNoIncludesWithMetadata_encode", test_singleDocumentNoIncludesWithMetadata_encode),
6697
("test_singleDocumentNoIncludesWithMetadataMissingLinks", test_singleDocumentNoIncludesWithMetadataMissingLinks),
98+
("test_singleDocumentNoIncludesWithMetadataWithAPIDescription", test_singleDocumentNoIncludesWithMetadataWithAPIDescription),
99+
("test_singleDocumentNoIncludesWithMetadataWithAPIDescription_encode", test_singleDocumentNoIncludesWithMetadataWithAPIDescription_encode),
67100
("test_singleDocumentNoIncludesWithMetadataWithLinks", test_singleDocumentNoIncludesWithMetadataWithLinks),
68101
("test_singleDocumentNoIncludesWithMetadataWithLinks_encode", test_singleDocumentNoIncludesWithMetadataWithLinks_encode),
102+
("test_singleDocumentNoIncludesWithMetadataWithLinksWithAPIDescription", test_singleDocumentNoIncludesWithMetadataWithLinksWithAPIDescription),
103+
("test_singleDocumentNoIncludesWithMetadataWithLinksWithAPIDescription_encode", test_singleDocumentNoIncludesWithMetadataWithLinksWithAPIDescription_encode),
69104
("test_singleDocumentNoIncludesWithSomeIncludesMetadataWithLinks_encode", test_singleDocumentNoIncludesWithSomeIncludesMetadataWithLinks_encode),
105+
("test_singleDocumentNoIncludesWithSomeIncludesMetadataWithLinksWithAPIDescription_encode", test_singleDocumentNoIncludesWithSomeIncludesMetadataWithLinksWithAPIDescription_encode),
70106
("test_singleDocumentNoIncludesWithSomeIncludesWithMetadataWithLinks", test_singleDocumentNoIncludesWithSomeIncludesWithMetadataWithLinks),
107+
("test_singleDocumentNoIncludesWithSomeIncludesWithMetadataWithLinksWithAPIDescription", test_singleDocumentNoIncludesWithSomeIncludesWithMetadataWithLinksWithAPIDescription),
71108
("test_singleDocumentNonOptionalFailsOnNull", test_singleDocumentNonOptionalFailsOnNull),
72109
("test_singleDocumentNull", test_singleDocumentNull),
73110
("test_singleDocumentNull_encode", test_singleDocumentNull_encode),
111+
("test_singleDocumentNullFailsWithNoAPIDescription", test_singleDocumentNullFailsWithNoAPIDescription),
74112
("test_singleDocumentNullWithAPIDescription", test_singleDocumentNullWithAPIDescription),
75113
("test_singleDocumentNullWithAPIDescription_encode", test_singleDocumentNullWithAPIDescription_encode),
76114
("test_singleDocumentSomeIncludes", test_singleDocumentSomeIncludes),
77115
("test_singleDocumentSomeIncludes_encode", test_singleDocumentSomeIncludes_encode),
116+
("test_singleDocumentSomeIncludesWithAPIDescription", test_singleDocumentSomeIncludesWithAPIDescription),
117+
("test_singleDocumentSomeIncludesWithAPIDescription_encode", test_singleDocumentSomeIncludesWithAPIDescription_encode),
78118
("test_singleDocumentSomeIncludesWithMetadata", test_singleDocumentSomeIncludesWithMetadata),
79119
("test_singleDocumentSomeIncludesWithMetadata_encode", test_singleDocumentSomeIncludesWithMetadata_encode),
120+
("test_singleDocumentSomeIncludesWithMetadataWithAPIDescription", test_singleDocumentSomeIncludesWithMetadataWithAPIDescription),
121+
("test_singleDocumentSomeIncludesWithMetadataWithAPIDescription_encode", test_singleDocumentSomeIncludesWithMetadataWithAPIDescription_encode),
80122
("test_unknownErrorDocumentMissingLinks", test_unknownErrorDocumentMissingLinks),
81123
("test_unknownErrorDocumentMissingLinks_encode", test_unknownErrorDocumentMissingLinks_encode),
124+
("test_unknownErrorDocumentMissingLinksWithAPIDescription", test_unknownErrorDocumentMissingLinksWithAPIDescription),
125+
("test_unknownErrorDocumentMissingLinksWithAPIDescription_encode", test_unknownErrorDocumentMissingLinksWithAPIDescription_encode),
82126
("test_unknownErrorDocumentMissingMeta", test_unknownErrorDocumentMissingMeta),
83127
("test_unknownErrorDocumentMissingMeta_encode", test_unknownErrorDocumentMissingMeta_encode),
128+
("test_unknownErrorDocumentMissingMetaWithAPIDescription", test_unknownErrorDocumentMissingMetaWithAPIDescription),
129+
("test_unknownErrorDocumentMissingMetaWithAPIDescription_encode", test_unknownErrorDocumentMissingMetaWithAPIDescription_encode),
84130
("test_unknownErrorDocumentNoMeta", test_unknownErrorDocumentNoMeta),
85131
("test_unknownErrorDocumentNoMeta_encode", test_unknownErrorDocumentNoMeta_encode),
132+
("test_unknownErrorDocumentNoMetaWithAPIDescription", test_unknownErrorDocumentNoMetaWithAPIDescription),
133+
("test_unknownErrorDocumentNoMetaWithAPIDescription_encode", test_unknownErrorDocumentNoMetaWithAPIDescription_encode),
86134
("test_unknownErrorDocumentWithLinks", test_unknownErrorDocumentWithLinks),
87135
("test_unknownErrorDocumentWithLinks_encode", test_unknownErrorDocumentWithLinks_encode),
136+
("test_unknownErrorDocumentWithLinksWithAPIDescription", test_unknownErrorDocumentWithLinksWithAPIDescription),
137+
("test_unknownErrorDocumentWithLinksWithAPIDescription_encode", test_unknownErrorDocumentWithLinksWithAPIDescription_encode),
88138
("test_unknownErrorDocumentWithMeta", test_unknownErrorDocumentWithMeta),
89139
("test_unknownErrorDocumentWithMeta_encode", test_unknownErrorDocumentWithMeta_encode),
140+
("test_unknownErrorDocumentWithMetaWithAPIDescription", test_unknownErrorDocumentWithMetaWithAPIDescription),
141+
("test_unknownErrorDocumentWithMetaWithAPIDescription_encode", test_unknownErrorDocumentWithMetaWithAPIDescription_encode),
90142
("test_unknownErrorDocumentWithMetaWithLinks", test_unknownErrorDocumentWithMetaWithLinks),
91143
("test_unknownErrorDocumentWithMetaWithLinks_encode", test_unknownErrorDocumentWithMetaWithLinks_encode),
144+
("test_unknownErrorDocumentWithMetaWithLinksWithAPIDescription", test_unknownErrorDocumentWithMetaWithLinksWithAPIDescription),
145+
("test_unknownErrorDocumentWithMetaWithLinksWithAPIDescription_encode", test_unknownErrorDocumentWithMetaWithLinksWithAPIDescription_encode),
92146
]
93147
}
94148

@@ -261,6 +315,7 @@ extension ResourceBodyTests {
261315
#if !os(macOS)
262316
public func __allTests() -> [XCTestCaseEntry] {
263317
return [
318+
testCase(APIDescriptionTests.__allTests),
264319
testCase(AttributeTests.__allTests),
265320
testCase(Attribute_FunctorTests.__allTests),
266321
testCase(Attribute_LiteralTests.__allTests),

0 commit comments

Comments
 (0)