Add placeholder test to arbitrary test target.

This commit is contained in:
Mathew Polzin
2019-01-20 18:34:24 -08:00
parent 81b78cd749
commit 8939d637d4
4 changed files with 56 additions and 2 deletions
@@ -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
+6 -2
View File
@@ -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)