Skip to content

Commit

Permalink
update linux tests
Browse files Browse the repository at this point in the history
  • Loading branch information
khanlou committed Sep 3, 2020
1 parent c292c9f commit a73ae22
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions MeridianTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
#if !canImport(ObjectiveC)
import XCTest

extension CustomStatusCodeRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__CustomStatusCodeRouteTests = [
("testBasic", testBasic),
]
}

extension EmptyResponseRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__EmptyResponseRouteTests = [
("testBasic", testBasic),
]
}

extension EnvironmentTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__EnvironmentTests = [
("testEnivironmentObjects", testEnivironmentObjects),
("testEnvironmentKeys", testEnvironmentKeys),
]
}

extension JSONBodyRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__JSONBodyRouteTests = [
("testBadJSON", testBadJSON),
("testBadMethod", testBadMethod),
("testBasic", testBasic),
("testMissingBody", testMissingBody),
("testMissingHeader", testMissingHeader),
]
}

extension JSONResponseRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__JSONResponseRouteTests = [
("testBasic", testBasic),
]
}

extension QueryParameterRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
Expand All @@ -10,11 +60,28 @@ extension QueryParameterRouteTests {
("testCustomTypeFails", testCustomTypeFails),
("testInt", testInt),
("testIntFailing", testIntFailing),
("testMultiple", testMultiple),
("testNotMatching", testNotMatching),
("testOptionalFlagMissing", testOptionalFlagMissing),
("testOptionalFlagPresent", testOptionalFlagPresent),
("testOptionalMissing", testOptionalMissing),
("testOptionalPresent", testOptionalPresent),
("testRequiredFlagMissing", testRequiredFlagMissing),
("testRequiredFlagPresent", testRequiredFlagPresent),
("testRequiredFlagWithUnneededValue", testRequiredFlagWithUnneededValue),
("testString", testString),
]
}

extension RedirectRouteTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__RedirectRouteTests = [
("testBasic", testBasic),
]
}

extension RoutingTests {
// DO NOT MODIFY: This is autogenerated, use:
// `swift test --generate-linuxmain`
Expand All @@ -39,14 +106,23 @@ extension URLParameterRouteTests {
("testCustomTypeFails", testCustomTypeFails),
("testInt", testInt),
("testIntFailing", testIntFailing),
("testMultipleParametersFails", testMultipleParametersFails),
("testMultipleParametersSucceeds", testMultipleParametersSucceeds),
("testNotMatching", testNotMatching),
("testNoURLParameters", testNoURLParameters),
("testString", testString),
]
}

public func __allTests() -> [XCTestCaseEntry] {
return [
testCase(CustomStatusCodeRouteTests.__allTests__CustomStatusCodeRouteTests),
testCase(EmptyResponseRouteTests.__allTests__EmptyResponseRouteTests),
testCase(EnvironmentTests.__allTests__EnvironmentTests),
testCase(JSONBodyRouteTests.__allTests__JSONBodyRouteTests),
testCase(JSONResponseRouteTests.__allTests__JSONResponseRouteTests),
testCase(QueryParameterRouteTests.__allTests__QueryParameterRouteTests),
testCase(RedirectRouteTests.__allTests__RedirectRouteTests),
testCase(RoutingTests.__allTests__RoutingTests),
testCase(URLParameterRouteTests.__allTests__URLParameterRouteTests),
]
Expand Down

0 comments on commit a73ae22

Please sign in to comment.