diff --git a/JSONAPI.playground/Pages/Test Library.xcplaygroundpage/Contents.swift b/JSONAPI.playground/Pages/Test Library.xcplaygroundpage/Contents.swift index a857014..fa71086 100644 --- a/JSONAPI.playground/Pages/Test Library.xcplaygroundpage/Contents.swift +++ b/JSONAPI.playground/Pages/Test Library.xcplaygroundpage/Contents.swift @@ -2,7 +2,7 @@ import Foundation import JSONAPI -import JSONAPITestLib +import JSONAPITesting /******* @@ -11,12 +11,12 @@ Please enjoy these examples, but allow me the forced casting and the lack of err ********/ // MARK: - Literal Expressibility -// The JSONAPITestLib provides literal expressibility for key types to +// The JSONAPITesting framework provides literal expressibility for key types to // make creating tests easier let dog = Dog(id: "1234", attributes: Dog.Attributes(name: "Buddy"), relationships: Dog.Relationships(owner: nil), meta: .none, links: .none) // MARK: - JSON API structure checking -// The JSONAPITestLib provides a `check` function for each Entity type +// The JSONAPITesting framework provides a `check` function for each Entity type // that uses reflection to catch mistakes that are not forbidden by // Swift's type system but will result in unexpected results when // encoding/decoding. It is a good idea to add a `check` to each of diff --git a/Sources/JSONAPITesting/EntityCheck.swift b/Sources/JSONAPITesting/EntityCheck.swift index 2a91e31..1b7bd1f 100644 --- a/Sources/JSONAPITesting/EntityCheck.swift +++ b/Sources/JSONAPITesting/EntityCheck.swift @@ -1,6 +1,6 @@ // // EntityCheck.swift -// JSONAPITestLib +// JSONAPITesting // // Created by Mathew Polzin on 11/27/18. // diff --git a/Sources/JSONAPITesting/Optional+Literal.swift b/Sources/JSONAPITesting/Optional+Literal.swift index 7c9087f..e0d81b5 100644 --- a/Sources/JSONAPITesting/Optional+Literal.swift +++ b/Sources/JSONAPITesting/Optional+Literal.swift @@ -1,6 +1,6 @@ // // Optional+Literal.swift -// JSONAPITestLib +// JSONAPITesting // // Created by Mathew Polzin on 11/29/18. // diff --git a/Sources/JSONAPITesting/Relationship+Literal.swift b/Sources/JSONAPITesting/Relationship+Literal.swift index 61c4c92..9af692c 100644 --- a/Sources/JSONAPITesting/Relationship+Literal.swift +++ b/Sources/JSONAPITesting/Relationship+Literal.swift @@ -1,6 +1,6 @@ // // Relationship+Literal.swift -// JSONAPITestLib +// JSONAPITesting // // Created by Mathew Polzin on 11/27/18. // diff --git a/Tests/JSONAPITestingTests/Attribute+LiteralTests.swift b/Tests/JSONAPITestingTests/Attribute+LiteralTests.swift index a213cf7..da1f00a 100644 --- a/Tests/JSONAPITestingTests/Attribute+LiteralTests.swift +++ b/Tests/JSONAPITestingTests/Attribute+LiteralTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting class Attribute_LiteralTests: XCTestCase { diff --git a/Tests/JSONAPITestingTests/EntityCheckTests.swift b/Tests/JSONAPITestingTests/EntityCheckTests.swift index c59ac1d..10d5a48 100644 --- a/Tests/JSONAPITestingTests/EntityCheckTests.swift +++ b/Tests/JSONAPITestingTests/EntityCheckTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting // Successes are fairly well-checked by the EntityTests in the JSONAPITests target. // We will confirm failure cases are working in this file. diff --git a/Tests/JSONAPITestingTests/Id+LiteralTests.swift b/Tests/JSONAPITestingTests/Id+LiteralTests.swift index a6812be..2390fe0 100644 --- a/Tests/JSONAPITestingTests/Id+LiteralTests.swift +++ b/Tests/JSONAPITestingTests/Id+LiteralTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting extension Int: RawIdType {} diff --git a/Tests/JSONAPITestingTests/Relationship+LiteralTests.swift b/Tests/JSONAPITestingTests/Relationship+LiteralTests.swift index 87e7f4f..9a2d7c9 100644 --- a/Tests/JSONAPITestingTests/Relationship+LiteralTests.swift +++ b/Tests/JSONAPITestingTests/Relationship+LiteralTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting class Relationship_LiteralTests: XCTestCase { diff --git a/Tests/JSONAPITests/Attribute/Attribute+FunctorTests.swift b/Tests/JSONAPITests/Attribute/Attribute+FunctorTests.swift index 4274015..a87f72a 100644 --- a/Tests/JSONAPITests/Attribute/Attribute+FunctorTests.swift +++ b/Tests/JSONAPITests/Attribute/Attribute+FunctorTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting class Attribute_FunctorTests: XCTestCase { func test_mapGuaranteed() { diff --git a/Tests/JSONAPITests/Computed Properties/ComputedPropertiesTests.swift b/Tests/JSONAPITests/Computed Properties/ComputedPropertiesTests.swift index f80839a..aaf626d 100644 --- a/Tests/JSONAPITests/Computed Properties/ComputedPropertiesTests.swift +++ b/Tests/JSONAPITests/Computed Properties/ComputedPropertiesTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting class ComputedPropertiesTests: XCTestCase { func test_DecodeIgnoresComputed() { diff --git a/Tests/JSONAPITests/Custom Attributes Tests/CustomAttributesTests.swift b/Tests/JSONAPITests/Custom Attributes Tests/CustomAttributesTests.swift index 3282b4e..91c46bd 100644 --- a/Tests/JSONAPITests/Custom Attributes Tests/CustomAttributesTests.swift +++ b/Tests/JSONAPITests/Custom Attributes Tests/CustomAttributesTests.swift @@ -7,7 +7,7 @@ import XCTest @testable import JSONAPI -import JSONAPITestLib +import JSONAPITesting class CustomAttributesTests: XCTestCase { func test_customDecode() { diff --git a/Tests/JSONAPITests/Entity/EntityTests.swift b/Tests/JSONAPITests/Entity/EntityTests.swift index 6142247..ab75f07 100644 --- a/Tests/JSONAPITests/Entity/EntityTests.swift +++ b/Tests/JSONAPITests/Entity/EntityTests.swift @@ -7,7 +7,7 @@ import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting class EntityTests: XCTestCase { diff --git a/Tests/JSONAPITests/Test Helpers/EncodedAttributeTest.swift b/Tests/JSONAPITests/Test Helpers/EncodedAttributeTest.swift index 55f0c2f..56070a0 100644 --- a/Tests/JSONAPITests/Test Helpers/EncodedAttributeTest.swift +++ b/Tests/JSONAPITests/Test Helpers/EncodedAttributeTest.swift @@ -8,7 +8,7 @@ import Foundation import XCTest @testable import JSONAPI -import JSONAPITestLib +import JSONAPITesting private struct TransformedWrapper: Codable where Value == Transform.From { let x: TransformedAttribute diff --git a/Tests/JSONAPITests/Test Helpers/EncodedEntityPropertyTest.swift b/Tests/JSONAPITests/Test Helpers/EncodedEntityPropertyTest.swift index d2ce1bc..e7de8b7 100644 --- a/Tests/JSONAPITests/Test Helpers/EncodedEntityPropertyTest.swift +++ b/Tests/JSONAPITests/Test Helpers/EncodedEntityPropertyTest.swift @@ -8,7 +8,7 @@ import Foundation import XCTest import JSONAPI -import JSONAPITestLib +import JSONAPITesting func testEncoded(entity: E) { let encodedEntityData = encoded(value: entity)