-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Linux test files are now autogenerated, instead of being maintained manually. The test input is now broken into multiple lines to comply with the 100-character column limit. Various minor code style errors have also been corrected.
- Loading branch information
Showing
3 changed files
with
156 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
#if !canImport(ObjectiveC) | ||
import XCTest | ||
|
||
#if !canImport(ObjectiveC) | ||
public func allTests() -> [XCTestCaseEntry] { | ||
return [ | ||
testCase(HTTPResponseDateTests.allTests), | ||
] | ||
extension HTTPResponseDateTests { | ||
// DO NOT MODIFY: This is autogenerated, use: | ||
// `swift test --generate-linuxmain` | ||
// to regenerate. | ||
static let __allTests__HTTPResponseDateTests = [ | ||
("testAsctimeTimestampParsing", testAsctimeTimestampParsing), | ||
("testMalformedTimestampParsing", testMalformedTimestampParsing), | ||
("testRFC1123TimestampParsing", testRFC1123TimestampParsing), | ||
("testRFC850TimestampParsing", testRFC850TimestampParsing), | ||
] | ||
} | ||
|
||
public func __allTests() -> [XCTestCaseEntry] { | ||
return [ | ||
testCase(HTTPResponseDateTests.__allTests__HTTPResponseDateTests), | ||
] | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import XCTest | ||
|
||
import HTTPResponseDateTests | ||
|
||
var tests = [XCTestCaseEntry]() | ||
tests += HTTPResponseDateTests.allTests() | ||
tests += HTTPResponseDateTests.__allTests() | ||
|
||
XCTMain(tests) |
Hack whatsapp mobile