mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
Add placeholder test to arbitrary test target.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// PlaceholderTests.swift
|
||||
// JSONAPIArbitraryTests
|
||||
//
|
||||
// Created by Mathew Polzin on 12/7/18.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
import JSONAPIArbitrary
|
||||
|
||||
class PlaceholderTests: XCTestCase {
|
||||
func test_Placeholder() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import XCTest
|
||||
|
||||
extension PlaceholderTests {
|
||||
static let __allTests = [
|
||||
("test_Placeholder", test_Placeholder),
|
||||
]
|
||||
}
|
||||
|
||||
#if !os(macOS)
|
||||
public func __allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(PlaceholderTests.__allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,20 @@
|
||||
import XCTest
|
||||
|
||||
extension JSONAPIRelationshipsOpenAPITests {
|
||||
static let __allTests = [
|
||||
("test_NullableToOne", test_NullableToOne),
|
||||
("test_OptionalNullableToOne", test_OptionalNullableToOne),
|
||||
("test_OptionalToMany", test_OptionalToMany),
|
||||
("test_OptionalToOne", test_OptionalToOne),
|
||||
("test_ToMany", test_ToMany),
|
||||
("test_ToOne", test_ToOne),
|
||||
]
|
||||
}
|
||||
|
||||
#if !os(macOS)
|
||||
public func __allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(JSONAPIRelationshipsOpenAPITests.__allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
@@ -1,10 +1,14 @@
|
||||
import XCTest
|
||||
|
||||
import JSONAPITests
|
||||
import JSONAPITestLibTests
|
||||
import JSONAPITestingTests
|
||||
import JSONAPIOpenAPITests
|
||||
import JSONAPIArbitraryTests
|
||||
|
||||
var tests = [XCTestCaseEntry]()
|
||||
tests += JSONAPITests.__allTests()
|
||||
tests += JSONAPITestLibTests.__allTests()
|
||||
tests += JSONAPITestingTests.__allTests()
|
||||
tests += JSONAPIOpenAPITests.__allTests()
|
||||
tests += JSONAPIArbitraryTests.__allTests()
|
||||
|
||||
XCTMain(tests)
|
||||
|
||||
Reference in New Issue
Block a user