diff --git a/README.md b/README.md index 543108f..70a22f0 100755 --- a/README.md +++ b/README.md @@ -21,12 +21,10 @@ In your project folder run: * for JUNIT format: `swift test | testify junit` * for MD format: `swift test | testify md` -If no argument or wrong argument added then output format fallbacks to JSON! - You can just use the [Swift Package Manager](https://theswiftdev.com/2017/11/09/swift-package-manager-tutorial/) as usual: ```swift -.package(url: "https://github.com/binarybirds/testify", from: "1.1.0"), +.package(url: "https://github.com/binarybirds/testify", from: "1.1.1"), ``` ⚠️ Don't forget to add "Testify" to your target as a dependency! diff --git a/Sources/TestifySDK/Codable/TestResultMarkdownEncoder.swift b/Sources/TestifySDK/Codable/TestResultMarkdownEncoder.swift index 877e246..5713464 100644 --- a/Sources/TestifySDK/Codable/TestResultMarkdownEncoder.swift +++ b/Sources/TestifySDK/Codable/TestResultMarkdownEncoder.swift @@ -25,17 +25,15 @@ public struct TestResultMarkdownEncoder: TestResultEncoder { let successCount = suite.cases.reduce(0) { $0 + ($1.outcome == .success ? 1 : 0) } let failureCount = suite.cases.reduce(0) { $0 + ($1.outcome == .failure ? 1 : 0) } - result += "\(name): \(count) tests were completed in \(time) with \(successCount) passed, \(failureCount) failed and \(0) skipped.\n\n" - result += "| Test case | Passed | Failed | Skipped | Time |\n" - result += "| :--- | ---: | ---: | ---: | ---: |\n" + result += "\(name): \(count) tests were completed in \(time) with \(successCount) passed, \(failureCount) failed.\n\n" + result += "| Test case | Result | Time |\n" + result += "| :--- | ---: | ---: |\n" for testCase in suite.cases { let name = testCase.testName - let passed = testCase.outcome == .success ? "βœ…" : "" - let failed = testCase.outcome == .failure ? "❌" : "" - let skipped = "πŸ”€" + let testResult = testCase.outcome == .success ? "βœ…" : "❌" let time = "\(testCase.duration)s βŒ›οΈ" - result += "| \(name) | \(passed) | \(failed) | \(skipped) | \(time) |\n" + result += "| \(name) | \(testResult) | \(time) |\n" } } @@ -43,15 +41,3 @@ public struct TestResultMarkdownEncoder: TestResultEncoder { return result } } - -/* -| git status lorem ipsum dolor sit amet | git status | git status | 0 | 12.32s | -| git diff | git diff | git diff | 0 | 123.323s | -| git diff | git diff | git diff | 0 | 123.323s | -| git diff | git diff | git diff | 0 | 123.323s | -| [git diff](Sources/test/test.swift#L4) | git diff βœ… | git diff ❌ | 0 πŸ”€ | 123.323s βŒ›οΈ | -| git diff | git diff βœ… | git diff ❌ | 0 πŸ”€ | 123.323s βŒ›οΈ | -| git diff | git diff βœ… | git diff ❌ | 0 πŸ”€ | 123.323s βŒ›οΈ | -| git diff | git diff βœ… | git diff ❌ | 0 πŸ”€ | 123.323s βŒ›οΈ | -| git diff | git diff βœ… | git diff ❌ | 0 πŸ”€ | 123.323s βŒ›οΈ | -*/ diff --git a/Sources/testify/main.swift b/Sources/testify/main.swift index fb85b26..c790794 100644 --- a/Sources/testify/main.swift +++ b/Sources/testify/main.swift @@ -10,16 +10,12 @@ import TestifySDK let args = CommandLine.arguments var format: String = OutputFormat.json.rawValue -let msg = "Testify output format is" if (args.count >= 2) { if let enumCase = OutputFormat(rawValue: args[1]) { format = enumCase.rawValue - print(msg, "'\(format)'") } else { - print("Unknown Testify output format, the format is 'json' for now. Available formats: 'json', 'junit', 'md'") + fatalError("Error: Unknown output format. Available formats: 'json', 'junit', 'md'") } -} else { - print(msg, "'json'") } var data: Data @@ -50,5 +46,5 @@ case OutputFormat.md.rawValue: print(mdData) default: - print("Unknown output format") + fatalError("Error: Unknown output format") } diff --git a/Tests/Assets/md/Alamofire.md b/Tests/Assets/md/Alamofire.md index 1073ea3..51fe1f0 100644 --- a/Tests/Assets/md/Alamofire.md +++ b/Tests/Assets/md/Alamofire.md @@ -1,778 +1,778 @@ -AutomaticValidationTestCase: 5 tests were completed in 1.502 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatValidationForRequestWithAcceptableComplexContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.786s βŒ›οΈ | -| testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.178s βŒ›οΈ | -| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.179s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableContentTypeResponseFails | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableStatusCodeResponseFails | βœ… | | πŸ”€ | 0.179s βŒ›οΈ | - -BasicAuthenticationTestCase: 3 tests were completed in 2.3680000000000003 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testHiddenHTTPBasicAuthentication | βœ… | | πŸ”€ | 0.348s βŒ›οΈ | -| testHTTPBasicAuthenticationWithInvalidCredentials | βœ… | | πŸ”€ | 1.066s βŒ›οΈ | -| testHTTPBasicAuthenticationWithValidCredentials | βœ… | | πŸ”€ | 0.954s βŒ›οΈ | - -CacheTestCase: 5 tests were completed in 13.501999999999999 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testDefaultCachePolicy | βœ… | | πŸ”€ | 3.235s βŒ›οΈ | -| testIgnoreLocalCacheDataPolicy | βœ… | | πŸ”€ | 3.221s βŒ›οΈ | -| testURLCacheContainsCachedResponsesForAllRequests | βœ… | | πŸ”€ | 2.298s βŒ›οΈ | -| testUseLocalCacheDataAndDontLoadFromNetworkPolicy | βœ… | | πŸ”€ | 2.364s βŒ›οΈ | -| testUseLocalCacheDataIfExistsOtherwiseLoadFromNetworkPolicy | βœ… | | πŸ”€ | 2.384s βŒ›οΈ | - -ContentTypeValidationTestCase: 6 tests were completed in 1.605 with 6 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatValidationForRequestWithAcceptableContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.184s βŒ›οΈ | -| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.182s βŒ›οΈ | -| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceedsWhenResponseIsNil | βœ… | | πŸ”€ | 0.679s βŒ›οΈ | -| testThatValidationForRequestWithNoAcceptableContentTypeResponseFails | βœ… | | πŸ”€ | 0.183s βŒ›οΈ | -| testThatValidationForRequestWithNoAcceptableContentTypeResponseSucceedsWhenNoDataIsReturned | βœ… | | πŸ”€ | 0.185s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableContentTypeResponseFails | βœ… | | πŸ”€ | 0.192s βŒ›οΈ | - -CustomResponseSerializerTestCases: 1 tests were completed in 0.187 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatCustomResponseSerializersCanBeWrittenWithoutCompilerIssues | βœ… | | πŸ”€ | 0.187s βŒ›οΈ | - -CustomValidationTestCase: 4 tests were completed in 0.73 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatCustomValidationCanThrowCustomError | βœ… | | πŸ”€ | 0.193s βŒ›οΈ | -| testThatCustomValidationClosureHasAccessToServerResponseData | βœ… | | πŸ”€ | 0.179s βŒ›οΈ | -| testThatValidationExtensionCanThrowCustomError | βœ… | | πŸ”€ | 0.177s βŒ›οΈ | -| testThatValidationExtensionHasAccessToServerResponseData | βœ… | | πŸ”€ | 0.181s βŒ›οΈ | - -DataResponseSerializationTestCase: 22 tests were completed in 0.059000000000000025 with 22 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatDataResponseSerializerFailsWhenDataIsNil | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerSucceedsWhenDataIsNotNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsEmpty | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsInvalidJSON | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenDataIsEmpty | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenDataIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ProvidedEncoding | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ResponseEncoding | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataAndNoProvidedEncoding | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataAndUTF8ProvidedEncoding | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataUsingResponseTextEncodingName | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -DecodableResponseSerializerTests: 7 tests were completed in 0.019 with 7 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatDecodableResponseSerializerFailsWhenDataIsEmpty | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDecodableResponseSerializerFailsWhenDataIsInvalidRepresentation | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatDecodableResponseSerializerFailsWhenDataIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDecodableResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDecodableResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDecodableResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDecodableResponseSerializerSucceedsWhenDataIsValidJSON | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -DownloadInitializationTestCase: 2 tests were completed in 0.335 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testDownloadClassMethodWithMethodURLAndDestination | βœ… | | πŸ”€ | 0.169s βŒ›οΈ | -| testDownloadClassMethodWithMethodURLHeadersAndDestination | βœ… | | πŸ”€ | 0.166s βŒ›οΈ | - -DownloadResponseFlatMapErrorTestCase: 3 tests were completed in 3.105 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatFlatMapErrorCatchesTransformationError | βœ… | | πŸ”€ | 2.919s βŒ›οΈ | -| testThatFlatMapErrorPreservesSuccessValue | βœ… | | πŸ”€ | 0.176s βŒ›οΈ | -| testThatFlatMapErrorTransformsError | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | - -DownloadResponseFlatMapTestCase: 3 tests were completed in 0.371 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatFlatMapCatchesTransformationError | βœ… | | πŸ”€ | 0.189s βŒ›οΈ | -| testThatFlatMapPreservesFailureError | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatFlatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.173s βŒ›οΈ | - -DownloadResponseMapErrorTestCase: 2 tests were completed in 0.18 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatMapErrorPreservesSuccessValue | βœ… | | πŸ”€ | 0.172s βŒ›οΈ | -| testThatMapErrorTransformsFailureValue | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | - -DownloadResponseMapTestCase: 2 tests were completed in 0.183 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatMapPreservesFailureError | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.174s βŒ›οΈ | - -DownloadResponseSerializationTestCase: 26 tests were completed in 0.07300000000000002 with 26 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatDataResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenFileDataIsEmpty | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenFileURLIsInvalid | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenFileURLIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerFailsWhenFileURLIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDataResponseSerializerSucceedsWhenFileDataIsNotNil | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsInvalidJSON | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenFileDataIsEmpty | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenFileURLIsInvalid | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerFailsWhenFileURLIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenErrorIsNotNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenFileDataIsEmpty | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenFileURLIsInvalid | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWhenFileURLIsNil | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ProvidedEncoding | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ResponseEncoding | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataAndNoProvidedEncoding | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataAndUTF8ProvidedEncoding | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatStringResponseSerializerSucceedsWithUTF8DataUsingResponseTextEncodingName | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | - -DownloadResponseTestCase: 9 tests were completed in 2.138 with 9 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCancelledDownloadRequest | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testDownloadRequest | βœ… | | πŸ”€ | 0.329s βŒ›οΈ | -| testDownloadRequestWithHeaders | βœ… | | πŸ”€ | 0.169s βŒ›οΈ | -| testDownloadRequestWithParameters | βœ… | | πŸ”€ | 0.175s βŒ›οΈ | -| testDownloadRequestWithProgress | βœ… | | πŸ”€ | 0.696s βŒ›οΈ | -| testThatDownloadingFileAndMovingToDestinationThatIsOccupiedThrowsError | βœ… | | πŸ”€ | 0.202s βŒ›οΈ | -| testThatDownloadingFileAndMovingToDirectoryThatDoesNotExistThrowsError | βœ… | | πŸ”€ | 0.184s βŒ›οΈ | -| testThatDownloadOptionsCanCreateIntermediateDirectoriesPriorToMovingFile | βœ… | | πŸ”€ | 0.192s βŒ›οΈ | -| testThatDownloadOptionsCanRemovePreviousFilePriorToMovingFile | βœ… | | πŸ”€ | 0.186s βŒ›οΈ | - -DownloadResumeDataTestCase: 3 tests were completed in 5.079000000000001 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatCancelledDownloadCanBeResumedWithResumeData | βœ… | | πŸ”€ | 4.014s βŒ›οΈ | -| testThatCancelledDownloadResponseDataMatchesResumeData | βœ… | | πŸ”€ | 0.546s βŒ›οΈ | -| testThatCancelledDownloadResumeDataIsAvailableWithJSONResponseSerializer | βœ… | | πŸ”€ | 0.519s βŒ›οΈ | - -HTTPDigestAuthenticationTestCase: 2 tests were completed in 1.915 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testHTTPDigestAuthenticationWithInvalidCredentials | βœ… | | πŸ”€ | 1.057s βŒ›οΈ | -| testHTTPDigestAuthenticationWithValidCredentials | βœ… | | πŸ”€ | 0.858s βŒ›οΈ | - -HTTPHeadersTests: 6 tests were completed in 0.013000000000000001 with 6 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testHeadersAreStoreUniquelyByCaseInsensitiveName | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testHeadersCanBeProperlySortedByName | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testHeadersCanInsensitivelyGetAndSetThroughSubscript | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testHeadersHaveUnsortedDescription | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testHeadersPreserveLastFormAndValueOfAName | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testHeadersPreserveOrderOfInsertion | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -JSONParameterEncoderTests: 5 tests were completed in 0.013 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatDataIsProperlyEncodedAndProperContentTypeIsSet | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDataIsProperlyEncodedButContentTypeIsNotSetIfRequestAlreadyHasAContentType | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONEncoderCanBeCustomized | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatJSONEncoderDefaultWorks | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatJSONEncoderPrettyPrintedPrintsPretty | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -JSONParameterEncodingTestCase: 4 tests were completed in 0.01 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testJSONParameterEncodeArray | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testJSONParameterEncodeComplexParameters | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testJSONParameterEncodeNilParameters | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testJSONParameterEncodeParametersRetainsCustomContentType | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -MultipartFormDataEncodingTestCase: 7 tests were completed in 0.049 with 7 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testEncodingDataBodyPart | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncodingFileBodyPart | βœ… | | πŸ”€ | 0.021s βŒ›οΈ | -| testEncodingMultipleBodyPartsWithVaryingTypes | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testEncodingMultipleDataBodyParts | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncodingMultipleFileBodyParts | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testEncodingMultipleStreamBodyParts | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testEncodingStreamBodyPart | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | - -MultipartFormDataFailureTestCase: 6 tests were completed in 0.021 with 6 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatAppendingFileBodyPartThatIsDirectoryReturnsError | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatAppendingFileBodyPartThatIsNotFileURLReturnsError | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatAppendingFileBodyPartThatIsNotReachableReturnsError | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatAppendingFileBodyPartWithInvalidLastPathComponentReturnsError | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatWritingEncodedDataToBadURLFails | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatWritingEncodedDataToExistingFileURLFails | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | - -MultipartFormDataPropertiesTestCase: 2 tests were completed in 0.006 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatContentLengthMatchesTotalBodyPartSize | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatContentTypeContainsBoundary | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -MultipartFormDataWriteEncodedDataToDiskTestCase: 7 tests were completed in 0.041999999999999996 with 7 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testWritingEncodedDataBodyPartToDisk | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testWritingEncodedFileBodyPartToDisk | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testWritingEncodedStreamBodyPartToDisk | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testWritingMultipleEncodedBodyPartsWithVaryingTypesToDisk | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testWritingMultipleEncodedDataBodyPartsToDisk | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testWritingMultipleEncodedFileBodyPartsToDisk | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testWritingMultipleEncodedStreamBodyPartsToDisk | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | - -MultipleValidationTestCase: 3 tests were completed in 0.5429999999999999 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds | βœ… | | πŸ”€ | 0.178s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithContentTypeError | βœ… | | πŸ”€ | 0.181s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithStatusCodeError | βœ… | | πŸ”€ | 0.184s βŒ›οΈ | - -NetworkReachabilityManagerTestCase: 17 tests were completed in 0.05200000000000002 with 17 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatAddressManagerCanBeDeinitialized | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatAddressManagerIsNotifiedWhenStartListeningIsCalled | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatAddressManagerStartsWithReachableStatus | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatHostManagerCanBeDeinitialized | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatHostManagerIsNotifiedWhenStartListeningIsCalled | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatHostManagerIsReachableOnWiFi | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatHostManagerStartsWithReachableStatus | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatManagerCanBeInitializedFromAddress | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerCanBeInitializedFromHost | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsNotReachableOnWWANStatusWhenIsWWANAndConnectionIsRequired | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsNotReachableStatusWhenConnectionIsRequired | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsNotReachableStatusWhenInterventionIsRequired | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsNotReachableStatusWhenReachableFlagIsAbsent | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsNotRequired | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnDemand | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnTraffic | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatManagerReturnsReachableOnWWANStatusWhenIsWWAN | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -RequestDebugDescriptionTestCase: 9 tests were completed in 4.523999999999999 with 9 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testGETRequestDebugDescription | βœ… | | πŸ”€ | 0.646s βŒ›οΈ | -| testGETRequestWithDuplicateHeadersDebugDescription | βœ… | | πŸ”€ | 0.658s βŒ›οΈ | -| testGETRequestWithJSONHeaderDebugDescription | βœ… | | πŸ”€ | 0.652s βŒ›οΈ | -| testMultipartFormDataRequestWithDuplicateHeadersDebugDescription | βœ… | | πŸ”€ | 0.599s βŒ›οΈ | -| testPOSTRequestDebugDescription | βœ… | | πŸ”€ | 0.605s βŒ›οΈ | -| testPOSTRequestWithCookieDebugDescription | βœ… | | πŸ”€ | 0.682s βŒ›οΈ | -| testPOSTRequestWithCookiesDisabledDebugDescription | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testPOSTRequestWithJSONParametersDebugDescription | βœ… | | πŸ”€ | 0.666s βŒ›οΈ | -| testThatRequestWithInvalidURLDebugDescription | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | - -RequestDescriptionTestCase: 1 tests were completed in 0.733 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testRequestDescription | βœ… | | πŸ”€ | 0.733s βŒ›οΈ | - -RequestResponseTestCase: 8 tests were completed in 3.2600000000000002 with 8 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testPOSTRequestWithBase64EncodedImages | βœ… | | πŸ”€ | 1.134s βŒ›οΈ | -| testPOSTRequestWithUnicodeParameters | βœ… | | πŸ”€ | 0.188s βŒ›οΈ | -| testRequestResponse | βœ… | | πŸ”€ | 0.191s βŒ›οΈ | -| testRequestResponseWithProgress | βœ… | | πŸ”€ | 0.578s βŒ›οΈ | -| testThatRequestsCanPassEncodableParametersAsAURLQuery | βœ… | | πŸ”€ | 0.184s βŒ›οΈ | -| testThatRequestsCanPassEncodableParametersAsJSONBodyData | βœ… | | πŸ”€ | 0.184s βŒ›οΈ | -| testThatRequestsCanPassEncodableParametersAsURLEncodedBodyData | βœ… | | πŸ”€ | 0.188s βŒ›οΈ | -| testThatResponseSerializationWorksWithSerializationQueue | βœ… | | πŸ”€ | 0.613s βŒ›οΈ | - -ResponseDataTestCase: 2 tests were completed in 0.191 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatResponseDataReturnsFailureResultWithOptionalDataAndError | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatResponseDataReturnsSuccessResultWithValidData | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | - -ResponseFlatMapErrorTestCase: 3 tests were completed in 0.201 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatFlatMapErrorCatchesTransformationError | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatFlatMapErrorPreservesSuccessValue | βœ… | | πŸ”€ | 0.182s βŒ›οΈ | -| testThatFlatMapErrorTransformsError | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | - -ResponseFlatMapTestCase: 3 tests were completed in 0.38 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatFlatMapCatchesTransformationError | βœ… | | πŸ”€ | 0.182s βŒ›οΈ | -| testThatFlatMapPreservesFailureError | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatFlatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.187s βŒ›οΈ | - -ResponseJSONDecodableTestCase: 2 tests were completed in 0.192 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatResponseJSONReturnsSuccessResultWithValidJSON | βœ… | | πŸ”€ | 0.182s βŒ›οΈ | -| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | - -ResponseJSONTestCase: 4 tests were completed in 0.564 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatResponseJSONReturnsSuccessResultForGETRequest | βœ… | | πŸ”€ | 0.186s βŒ›οΈ | -| testThatResponseJSONReturnsSuccessResultForPOSTRequest | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | -| testThatResponseJSONReturnsSuccessResultWithValidJSON | βœ… | | πŸ”€ | 0.187s βŒ›οΈ | -| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | - -ResponseMapErrorTestCase: 2 tests were completed in 0.193 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatMapErrorPreservesSuccessValue | βœ… | | πŸ”€ | 0.183s βŒ›οΈ | -| testThatMapErrorTransformsFailureValue | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | - -ResponseMapTestCase: 2 tests were completed in 0.218 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatMapPreservesFailureError | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.206s βŒ›οΈ | - -ResponseStringTestCase: 2 tests were completed in 0.193 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… | | πŸ”€ | 0.013s βŒ›οΈ | -| testThatResponseStringReturnsSuccessResultWithValidString | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | - -ResponseTestCase: 2 tests were completed in 0.199 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatResponseReturnsFailureResultWithOptionalDataAndError | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatResponseReturnsSuccessResultWithValidData | βœ… | | πŸ”€ | 0.189s βŒ›οΈ | - -ResultTestCase: 34 tests were completed in 0.08800000000000005 with 34 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testFlatMapErrorCapturesThrownError | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testFlatMapErrorTransformsErrorValue | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testFunctionalMethodsCanBeChained | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testIfFailureDoesNotExecuteWhenSuccess | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testIfFailureExecutesWhenFailure | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testIfSuccessDoesNotExecutesWhenFailure | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testIfSuccessExecutesWhenSuccess | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testMapErrorPreservesSuccessError | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testMapErrorTransformsErrorValue | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDebugDescriptionStringMatchesExpectedValueForFailureCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDebugDescriptionStringMatchesExpectedValueForSuccessCase | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatDescriptionStringMatchesExpectedValueForFailureCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatDescriptionStringMatchesExpectedValueForSuccessCase | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatErrorPropertyReturnsErrorForFailureCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatErrorPropertyReturnsNilForSuccessCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatFlatMapCatchesTransformationError | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatFlatMapPreservesFailureError | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatFlatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatInitializerFromThrowingClosureCatchesErrorAsAFailure | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatInitializerFromThrowingClosureStoresResultAsASuccess | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatIsFailurePropertyReturnsFalseForSuccessCase | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatIsFailurePropertyReturnsTrueForFailureCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatIsSuccessPropertyReturnsFalseForFailureCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatIsSuccessPropertyReturnsTrueForSuccessCase | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatMapPreservesFailureError | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatMapTransformsSuccessValue | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatUnwrapReturnsSuccessValue | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatUnwrapThrowsFailureError | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatValuePropertyReturnsNilForFailureCase | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatValuePropertyReturnsValueForSuccessCase | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testWithErrorDoesNotExecuteWhenSuccess | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testWithErrorExecutesWhenFailure | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testWithValueDoesNotExecutesWhenFailure | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testWithValueExecutesWhenSuccess | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -ServerTrustPolicyCertificatesInBundleTestCase: 1 tests were completed in 0.019 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testOnlyValidCertificatesAreDetected | βœ… | | πŸ”€ | 0.019s βŒ›οΈ | - -ServerTrustPolicyCompositeTestCase: 3 tests were completed in 0.041 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatExpiredLeafCertificateFailsDefaultAndRevocationComposite | βœ… | | πŸ”€ | 0.017s βŒ›οΈ | -| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatValidCertificateChainPassesDefaultAndRevocationCompositeChecks | βœ… | | πŸ”€ | 0.015s βŒ›οΈ | - -ServerTrustPolicyDisableEvaluationTestCase: 2 tests were completed in 0.005 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatCertificateChainMissingIntermediateCertificatePassesEvaluation | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatExpiredLeafCertificatePassesEvaluation | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | - -ServerTrustPolicyExplorationBasicX509PolicyValidationTestCase: 4 tests were completed in 0.03 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatAnchoredRootCertificatePassesBasicX509ValidationWithoutRootInTrust | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatAnchoredRootCertificatePassesBasicX509ValidationWithRootInTrust | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatCertificateMissingDNSNamePassesBasicX509Validation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatExpiredCertificateFailsBasicX509Validation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | - -ServerTrustPolicyExplorationSSLPolicyValidationTestCase: 9 tests were completed in 0.066 with 9 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatAnchoredRootCertificatePassesSSLValidationWithoutRootInTrust | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatAnchoredRootCertificatePassesSSLValidationWithRootInTrust | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatCertificateMissingDNSNameFailsSSLValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatDNSNameCertificatePassesSSLValidation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatExpiredCertificateFailsSSLValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatMultipleDNSNamesCertificatePassesSSLValidationForAllEntries | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPassingNilForHostParameterAllowsCertificateMissingDNSNameToPassSSLValidation | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatURICertificateFailsSSLValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatWildcardCertificatePassesSSLValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | - -ServerTrustPolicyPerformDefaultEvaluationTestCase: 11 tests were completed in 0.094 with 11 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatExpiredCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatExpiredCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatMissingDNSNameLeafCertificateFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatMissingDNSNameLeafCertificatePassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatMissingIntermediateCertificateInChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatMissingIntermediateCertificateInChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatNonAnchoredRootCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatValidCertificateChainPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatValidCertificateChainPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatWildcardedLeafCertificateChainPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | - -ServerTrustPolicyPerformRevokedEvaluationTestCase: 11 tests were completed in 0.11699999999999999 with 11 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatExpiredCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatExpiredCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatMissingDNSNameLeafCertificateFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.014s βŒ›οΈ | -| testThatMissingDNSNameLeafCertificatePassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatMissingIntermediateCertificateInChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatMissingIntermediateCertificateInChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatNonAnchoredRootCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatValidCertificateChainPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.018s βŒ›οΈ | -| testThatValidCertificateChainPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatWildcardedLeafCertificateChainPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.015s βŒ›οΈ | - -ServerTrustPolicyPinCertificatesTestCase: 23 tests were completed in 0.23100000000000007 with 23 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatPinnedIntermediateCertificatePassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatPinnedIntermediateCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… | | πŸ”€ | 0.014s βŒ›οΈ | -| testThatPinnedIntermediateCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinnedLeafCertificatePassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatPinnedLeafCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPinnedLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinnedRootCertificatePassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinnedRootCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatPinnedRootCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinningExpiredLeafCertificateFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinningExpiredLeafCertificateFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatPinningExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinningIntermediateCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatPinningIntermediateCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatPinningLeafCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation | βœ… | | πŸ”€ | 0.013s βŒ›οΈ | -| testThatPinningMultipleCertificatesWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatPinningRootCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | - -ServerTrustPolicyPinPublicKeysTestCase: 16 tests were completed in 0.14100000000000001 with 16 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatPinningBackupKeyPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatPinningBackupKeyPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPinningIntermediateKeyPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.01s βŒ›οΈ | -| testThatPinningIntermediateKeyPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatPinningIntermediateKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatPinningKeyNotInCertificateChainFailsEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.013s βŒ›οΈ | -| testThatPinningKeyNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatPinningLeafKeyPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testThatPinningLeafKeyPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… | | πŸ”€ | 0.009s βŒ›οΈ | -| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithIncorrectIntermediateCertificate | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithMissingIntermediateCertificate | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPinningRootKeyPassesEvaluationWithHostValidation | βœ… | | πŸ”€ | 0.014s βŒ›οΈ | -| testThatPinningRootKeyPassesEvaluationWithoutHostValidation | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatPinningRootKeyWithoutCertificateChainValidationFailsEvaluationWithMissingIntermediateCertificate | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatPinningRootKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | - -SessionDelegateTestCase: 4 tests were completed in 3.583 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatAppropriateNotificationsAreCalledWithRequestForDataRequest | βœ… | | πŸ”€ | 0.735s βŒ›οΈ | -| testThatDidCompleteNotificationIsCalledWithRequestForDownloadRequests | βœ… | | πŸ”€ | 0.631s βŒ›οΈ | -| testThatRequestWillPerformHTTPRedirectionByDefault | βœ… | | πŸ”€ | 0.85s βŒ›οΈ | -| testThatRequestWillPerformRedirectionMultipleTimesByDefault | βœ… | | πŸ”€ | 1.367s βŒ›οΈ | - -SessionManagerConfigurationHeadersTestCase: 2 tests were completed in 1.287 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatDefaultConfigurationHeadersAreSentWithRequest | βœ… | | πŸ”€ | 0.609s βŒ›οΈ | -| testThatEphemeralConfigurationHeadersAreSentWithRequest | βœ… | | πŸ”€ | 0.678s βŒ›οΈ | - -SessionTestCase: 29 tests were completed in 6.391999999999998 with 29 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testDefaultAcceptEncodingSupportsAppropriateEncodingsOnAppropriateSystems | βœ… | | πŸ”€ | 0.722s βŒ›οΈ | -| testDefaultUserAgentHeader | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testInitializerWithDefaultArguments | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testInitializerWithSpecifiedArguments | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testReleasingManagerWithPendingCanceledRequestDeinitializesSuccessfully | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testReleasingManagerWithPendingRequestDeinitializesSuccessfully | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testSetStartRequestsImmediatelyToFalseAndCancelledCallsResponseHandlers | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testSetStartRequestsImmediatelyToFalseAndCancelThenResumeRequestDoesntCreateTaskAndStaysCancelled | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testSetStartRequestsImmediatelyToFalseAndResumeRequest | βœ… | | πŸ”€ | 0.636s βŒ›οΈ | -| testSetStartRequestsImmediatelyToFalseAndResumeThenCancelRequestHasCorrectOutput | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatDataRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatDownloadRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatRequestAdapterErrorThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatRequestAdapterErrorThrowsResponseHandlerErrorWhenRequestIsRetried | βœ… | | πŸ”€ | 0.896s βŒ›οΈ | -| testThatSessionInitializerSucceedsWithDefaultArguments | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatSessionInitializerSucceedsWithSpecifiedArguments | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatSessionManagerCallsAdapterWhenRequestIsRetried | βœ… | | πŸ”€ | 0.997s βŒ›οΈ | -| testThatSessionManagerCallsRequestAdapterWhenCreatingDataRequest | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatSessionManagerCallsRequestAdapterWhenCreatingDownloadRequest | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithData | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithFile | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithInputStream | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | -| testThatSessionManagerCallsRequestRetrierWhenDownloadInitiallyEncountersAdaptError | βœ… | | πŸ”€ | 0.629s βŒ›οΈ | -| testThatSessionManagerCallsRequestRetrierWhenRequestEncountersError | βœ… | | πŸ”€ | 1.097s βŒ›οΈ | -| testThatSessionManagerCallsRequestRetrierWhenRequestInitiallyEncountersAdaptError | βœ… | | πŸ”€ | 0.686s βŒ›οΈ | -| testThatSessionManagerCallsRequestRetrierWhenUploadInitiallyEncountersAdaptError | βœ… | | πŸ”€ | 0.629s βŒ›οΈ | -| testThatUploadDataRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatUploadFileRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatUploadStreamRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | - -SortedKeysJSONParameterEncoderTests: 1 tests were completed in 0.004 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testTestJSONEncoderSortedKeysHasSortedKeys | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | - -StatusCodeValidationTestCase: 3 tests were completed in 0.5389999999999999 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatValidationForRequestWithAcceptableStatusCodeResponseSucceeds | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | -| testThatValidationForRequestWithNoAcceptableStatusCodesFails | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | -| testThatValidationForRequestWithUnacceptableStatusCodeResponseFails | βœ… | | πŸ”€ | 0.179s βŒ›οΈ | - -TLSEvaluationExpiredLeafCertificateTestCase: 14 tests were completed in 6.6690000000000005 with 14 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatExpiredCertificateRequestFailsWhenPinningAllCertificatesWithCertificateChainValidation | βœ… | | πŸ”€ | 0.58s βŒ›οΈ | -| testThatExpiredCertificateRequestFailsWhenPinningLeafCertificateWithCertificateChainValidation | βœ… | | πŸ”€ | 0.323s βŒ›οΈ | -| testThatExpiredCertificateRequestFailsWhenPinningLeafPublicKeyWithCertificateChainValidation | βœ… | | πŸ”€ | 0.318s βŒ›οΈ | -| testThatExpiredCertificateRequestFailsWithDefaultServerTrustPolicy | βœ… | | πŸ”€ | 0.322s βŒ›οΈ | -| testThatExpiredCertificateRequestFailsWithNoServerTrustPolicy | βœ… | | πŸ”€ | 0.329s βŒ›οΈ | -| testThatExpiredCertificateRequestFailsWithRevokedServerTrustPolicy | βœ… | | πŸ”€ | 0.319s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenDisablingEvaluation | βœ… | | πŸ”€ | 0.631s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCACertificateWithoutCertificateChainOrHostValidation | βœ… | | πŸ”€ | 0.627s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCAPublicKeyWithoutCertificateChainOrHostValidation | βœ… | | πŸ”€ | 0.626s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningLeafCertificateWithoutCertificateChainOrHostValidation | βœ… | | πŸ”€ | 0.686s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningLeafPublicKeyWithoutCertificateChainOrHostValidation | βœ… | | πŸ”€ | 0.626s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningRootCACertificateWithoutCertificateChainValidation | βœ… | | πŸ”€ | 0.335s βŒ›οΈ | -| testThatExpiredCertificateRequestSucceedsWhenPinningRootCAPublicKeyWithoutCertificateChainValidation | βœ… | | πŸ”€ | 0.325s βŒ›οΈ | -| testThatRevokedCertificateRequestFailsWithRevokedServerTrustPolicy | βœ… | | πŸ”€ | 0.622s βŒ›οΈ | - -URLEncodedFormEncoderTests: 38 tests were completed in 0.12600000000000006 with 38 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testEncoderCanEncodeDictionary | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeDouble | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testEncoderCanEncodeFloat | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeInt16 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeInt32 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeInt64 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeInt8 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeUInt | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeUInt16 | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testEncoderCanEncodeUInt32 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeUInt64 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderCanEncodeUInt8 | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderThrowsErrorWhenAttemptingToEncodeNilInKeyedContainer | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testEncoderThrowsErrorWhenAttemptingToEncodeNilInUnkeyedContainer | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testStringWithThousandsOfChineseCharactersIsPercentEscaped | βœ… | | πŸ”€ | 0.011s βŒ›οΈ | -| testThatAmpersandsInKeysAndValuesArePercentEscaped | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatARootArrayCannotBeEncoded | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatARootValueCannotBeEncoded | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatArraysCanBeEncodedWithoutBrackets | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatBoolsCanBeLiteralEncoded | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatEncodableClassWithNoInheritanceCanBeEncoded | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatEncodableStructCanBeEncoded | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatEncodableSubclassCanBeEncoded | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatEscapedCharactersCanBeCustomized | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatIllegalASCIICharactersArePercentEscaped | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatManuallyEncodableStructCanBeEncoded | βœ… | | πŸ”€ | 0.005s βŒ›οΈ | -| testThatManuallyEncodableSubclassCanBeEncoded | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatNestedDictionariesHaveBracketedKeys | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatNonLatinCharactersArePercentEscaped | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatOptionalValuesCannotBeEncoded | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatPercentsInKeysAndValuesArePercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatPlusesInKeysAndValuesArePercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatQuestionMarksInKeysAndValuesAreNotPercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatReseredCharactersArePercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatSlashesInKeysAndValuesAreNotPercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatSpacesCanBeEncodedAsPluses | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatSpacesInKeysAndValuesArePercentEscaped | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatUnreservedCharactersAreNotPercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -URLEncodedFormParameterEncoderTests: 4 tests were completed in 0.011000000000000001 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatEncoderCanBeCustomized | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatQueryIsBodyEncodedAndProperContentTypeIsSetForPOSTRequest | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatQueryIsBodyEncodedButContentTypeIsNotSetWhenRequestAlreadyHasContentType | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatQueryIsInURLWhenDestinationIsURLAndMethodIsPOST | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -URLParameterEncodingTestCase: 36 tests were completed in 0.11400000000000007 with 36 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatIllegalASCIICharactersArePercentEscaped | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatReservedCharactersArePercentEscapedMinusQuestionMarkAndForwardSlash | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatReservedCharactersQuestionMarkAndForwardSlashAreNotPercentEscaped | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatUnreservedLowercaseCharactersAreNotPercentEscaped | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testThatUnreservedNumericCharactersAreNotPercentEscaped | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatUnreservedUppercaseCharactersAreNotPercentEscaped | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testThatURLEncodedInURLParameterEncodingEncodesPOSTParametersInURL | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatURLParameterEncodingEncodesGETParametersInURL | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testThatURLParameterEncodingEncodesPOSTParametersInHTTPBody | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeEmptyDictionaryParameter | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeNilParameters | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeOneStringKeyStringValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeOneStringKeyStringValueParameterAppendedToQuery | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringForRequestWithPrecomposedQuery | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyArrayValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyArrayValueParameterWithoutBrackets | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testURLParameterEncodeStringKeyBoolValueParameter | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testURLParameterEncodeStringKeyDictionaryValueParameter | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testURLParameterEncodeStringKeyDoubleValueParameter | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testURLParameterEncodeStringKeyIntegerValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyNestedDictionaryArrayValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyNestedDictionaryArrayValueParameterWithoutBrackets | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeStringKeyNestedDictionaryValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyNonLatinStringValueParameter | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeStringKeyNSNumberBoolValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringKeyNSNumberIntegerValueParameter | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeStringKeyPercentEncodedStringValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithAmpersandKeyStringWithAmpersandValueParameter | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameterForRequestWithPrecomposedQuery | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithQuestionMarkKeyStringWithQuestionMarkValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithSlashKeyStringWithQuestionMarkValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithSpaceKeyStringWithSpaceValueParameter | βœ… | | πŸ”€ | 0.003s βŒ›οΈ | -| testURLParameterEncodeStringWithThousandsOfChineseCharacters | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testURLParameterEncodeTwoStringKeyStringValueParameters | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | -| testURLParameterLiteralBoolEncodingWorksAndDoesNotAffectNumbers | βœ… | | πŸ”€ | 0.004s βŒ›οΈ | - -URLProtocolTestCase: 1 tests were completed in 0.636 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatURLProtocolReceivesRequestHeadersAndSessionConfigurationHeaders | βœ… | | πŸ”€ | 0.636s βŒ›οΈ | - -UploadDataInitializationTestCase: 2 tests were completed in 0.361 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testUploadClassMethodWithMethodURLAndData | βœ… | | πŸ”€ | 0.181s βŒ›οΈ | -| testUploadClassMethodWithMethodURLHeadersAndData | βœ… | | πŸ”€ | 0.18s βŒ›οΈ | - -UploadDataTestCase: 2 tests were completed in 0.405 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testUploadDataRequest | βœ… | | πŸ”€ | 0.183s βŒ›οΈ | -| testUploadDataRequestWithProgress | βœ… | | πŸ”€ | 0.222s βŒ›οΈ | - -UploadFileInitializationTestCase: 2 tests were completed in 0.479 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testUploadClassMethodWithMethodURLAndFile | βœ… | | πŸ”€ | 0.237s βŒ›οΈ | -| testUploadClassMethodWithMethodURLHeadersAndFile | βœ… | | πŸ”€ | 0.242s βŒ›οΈ | - -UploadMultipartFormDataTestCase: 8 tests were completed in 2.012 with 8 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThatUploadingMultipartFormDataAboveMemoryThresholdSetsContentTypeHeader | βœ… | | πŸ”€ | 0.196s βŒ›οΈ | -| testThatUploadingMultipartFormDataAboveMemoryThresholdStreamsFromDisk | βœ… | | πŸ”€ | 0.183s βŒ›οΈ | -| testThatUploadingMultipartFormDataBelowMemoryThresholdSetsContentTypeHeader | βœ… | | πŸ”€ | 0.183s βŒ›οΈ | -| testThatUploadingMultipartFormDataBelowMemoryThresholdStreamsFromMemory | βœ… | | πŸ”€ | 0.224s βŒ›οΈ | -| testThatUploadingMultipartFormDataSetsContentTypeHeader | βœ… | | πŸ”€ | 0.286s βŒ›οΈ | -| testThatUploadingMultipartFormDataSucceedsWithDefaultParameters | βœ… | | πŸ”€ | 0.28s βŒ›οΈ | -| testThatUploadingMultipartFormDataWhileStreamingFromDiskMonitorsProgress | βœ… | | πŸ”€ | 0.32s βŒ›οΈ | -| testThatUploadingMultipartFormDataWhileStreamingFromMemoryMonitorsProgress | βœ… | | πŸ”€ | 0.34s βŒ›οΈ | - -UploadStreamInitializationTestCase: 2 tests were completed in 0.653 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testUploadClassMethodWithMethodURLAndStream | βœ… | | πŸ”€ | 0.346s βŒ›οΈ | -| testUploadClassMethodWithMethodURLHeadersAndStream | βœ… | | πŸ”€ | 0.307s βŒ›οΈ | +AutomaticValidationTestCase: 5 tests were completed in 1.502 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatValidationForRequestWithAcceptableComplexContentTypeResponseSucceeds | βœ… |0.786s βŒ›οΈ | +| testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds | βœ… |0.178s βŒ›οΈ | +| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds | βœ… |0.179s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableContentTypeResponseFails | βœ… |0.18s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableStatusCodeResponseFails | βœ… |0.179s βŒ›οΈ | + +BasicAuthenticationTestCase: 3 tests were completed in 2.3680000000000003 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testHiddenHTTPBasicAuthentication | βœ… |0.348s βŒ›οΈ | +| testHTTPBasicAuthenticationWithInvalidCredentials | βœ… |1.066s βŒ›οΈ | +| testHTTPBasicAuthenticationWithValidCredentials | βœ… |0.954s βŒ›οΈ | + +CacheTestCase: 5 tests were completed in 13.501999999999999 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testDefaultCachePolicy | βœ… |3.235s βŒ›οΈ | +| testIgnoreLocalCacheDataPolicy | βœ… |3.221s βŒ›οΈ | +| testURLCacheContainsCachedResponsesForAllRequests | βœ… |2.298s βŒ›οΈ | +| testUseLocalCacheDataAndDontLoadFromNetworkPolicy | βœ… |2.364s βŒ›οΈ | +| testUseLocalCacheDataIfExistsOtherwiseLoadFromNetworkPolicy | βœ… |2.384s βŒ›οΈ | + +ContentTypeValidationTestCase: 6 tests were completed in 1.605 with 6 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatValidationForRequestWithAcceptableContentTypeResponseSucceeds | βœ… |0.184s βŒ›οΈ | +| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds | βœ… |0.182s βŒ›οΈ | +| testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceedsWhenResponseIsNil | βœ… |0.679s βŒ›οΈ | +| testThatValidationForRequestWithNoAcceptableContentTypeResponseFails | βœ… |0.183s βŒ›οΈ | +| testThatValidationForRequestWithNoAcceptableContentTypeResponseSucceedsWhenNoDataIsReturned | βœ… |0.185s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableContentTypeResponseFails | βœ… |0.192s βŒ›οΈ | + +CustomResponseSerializerTestCases: 1 tests were completed in 0.187 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatCustomResponseSerializersCanBeWrittenWithoutCompilerIssues | βœ… |0.187s βŒ›οΈ | + +CustomValidationTestCase: 4 tests were completed in 0.73 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatCustomValidationCanThrowCustomError | βœ… |0.193s βŒ›οΈ | +| testThatCustomValidationClosureHasAccessToServerResponseData | βœ… |0.179s βŒ›οΈ | +| testThatValidationExtensionCanThrowCustomError | βœ… |0.177s βŒ›οΈ | +| testThatValidationExtensionHasAccessToServerResponseData | βœ… |0.181s βŒ›οΈ | + +DataResponseSerializationTestCase: 22 tests were completed in 0.059000000000000025 with 22 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatDataResponseSerializerFailsWhenDataIsNil | βœ… |0.003s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerSucceedsWhenDataIsNotNil | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsEmpty | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsInvalidJSON | βœ… |0.004s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsNil | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenDataIsEmpty | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenDataIsNil | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ProvidedEncoding | βœ… |0.009s βŒ›οΈ | +| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ResponseEncoding | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataAndNoProvidedEncoding | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataAndUTF8ProvidedEncoding | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataUsingResponseTextEncodingName | βœ… |0.003s βŒ›οΈ | + +DecodableResponseSerializerTests: 7 tests were completed in 0.019 with 7 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatDecodableResponseSerializerFailsWhenDataIsEmpty | βœ… |0.003s βŒ›οΈ | +| testThatDecodableResponseSerializerFailsWhenDataIsInvalidRepresentation | βœ… |0.004s βŒ›οΈ | +| testThatDecodableResponseSerializerFailsWhenDataIsNil | βœ… |0.002s βŒ›οΈ | +| testThatDecodableResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatDecodableResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.002s βŒ›οΈ | +| testThatDecodableResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.003s βŒ›οΈ | +| testThatDecodableResponseSerializerSucceedsWhenDataIsValidJSON | βœ… |0.003s βŒ›οΈ | + +DownloadInitializationTestCase: 2 tests were completed in 0.335 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testDownloadClassMethodWithMethodURLAndDestination | βœ… |0.169s βŒ›οΈ | +| testDownloadClassMethodWithMethodURLHeadersAndDestination | βœ… |0.166s βŒ›οΈ | + +DownloadResponseFlatMapErrorTestCase: 3 tests were completed in 3.105 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatFlatMapErrorCatchesTransformationError | βœ… |2.919s βŒ›οΈ | +| testThatFlatMapErrorPreservesSuccessValue | βœ… |0.176s βŒ›οΈ | +| testThatFlatMapErrorTransformsError | βœ… |0.01s βŒ›οΈ | + +DownloadResponseFlatMapTestCase: 3 tests were completed in 0.371 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatFlatMapCatchesTransformationError | βœ… |0.189s βŒ›οΈ | +| testThatFlatMapPreservesFailureError | βœ… |0.009s βŒ›οΈ | +| testThatFlatMapTransformsSuccessValue | βœ… |0.173s βŒ›οΈ | + +DownloadResponseMapErrorTestCase: 2 tests were completed in 0.18 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatMapErrorPreservesSuccessValue | βœ… |0.172s βŒ›οΈ | +| testThatMapErrorTransformsFailureValue | βœ… |0.008s βŒ›οΈ | + +DownloadResponseMapTestCase: 2 tests were completed in 0.183 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatMapPreservesFailureError | βœ… |0.009s βŒ›οΈ | +| testThatMapTransformsSuccessValue | βœ… |0.174s βŒ›οΈ | + +DownloadResponseSerializationTestCase: 26 tests were completed in 0.07300000000000002 with 26 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatDataResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.003s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenFileDataIsEmpty | βœ… |0.003s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenFileURLIsInvalid | βœ… |0.003s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenFileURLIsNil | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerFailsWhenFileURLIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatDataResponseSerializerSucceedsWhenFileDataIsNotNil | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsInvalidJSON | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenFileDataIsEmpty | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenFileURLIsInvalid | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerFailsWhenFileURLIsNil | βœ… |0.002s βŒ›οΈ | +| testThatJSONResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.003s βŒ›οΈ | +| testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenDataIsNilWithNonEmptyResponseStatusCode | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenErrorIsNotNil | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenFileDataIsEmpty | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenFileURLIsInvalid | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWhenFileURLIsNil | βœ… |0.002s βŒ›οΈ | +| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ProvidedEncoding | βœ… |0.005s βŒ›οΈ | +| testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ResponseEncoding | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWhenDataIsNilWithEmptyResponseStatusCode | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataAndNoProvidedEncoding | βœ… |0.003s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataAndUTF8ProvidedEncoding | βœ… |0.005s βŒ›οΈ | +| testThatStringResponseSerializerSucceedsWithUTF8DataUsingResponseTextEncodingName | βœ… |0.004s βŒ›οΈ | + +DownloadResponseTestCase: 9 tests were completed in 2.138 with 9 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCancelledDownloadRequest | βœ… |0.005s βŒ›οΈ | +| testDownloadRequest | βœ… |0.329s βŒ›οΈ | +| testDownloadRequestWithHeaders | βœ… |0.169s βŒ›οΈ | +| testDownloadRequestWithParameters | βœ… |0.175s βŒ›οΈ | +| testDownloadRequestWithProgress | βœ… |0.696s βŒ›οΈ | +| testThatDownloadingFileAndMovingToDestinationThatIsOccupiedThrowsError | βœ… |0.202s βŒ›οΈ | +| testThatDownloadingFileAndMovingToDirectoryThatDoesNotExistThrowsError | βœ… |0.184s βŒ›οΈ | +| testThatDownloadOptionsCanCreateIntermediateDirectoriesPriorToMovingFile | βœ… |0.192s βŒ›οΈ | +| testThatDownloadOptionsCanRemovePreviousFilePriorToMovingFile | βœ… |0.186s βŒ›οΈ | + +DownloadResumeDataTestCase: 3 tests were completed in 5.079000000000001 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatCancelledDownloadCanBeResumedWithResumeData | βœ… |4.014s βŒ›οΈ | +| testThatCancelledDownloadResponseDataMatchesResumeData | βœ… |0.546s βŒ›οΈ | +| testThatCancelledDownloadResumeDataIsAvailableWithJSONResponseSerializer | βœ… |0.519s βŒ›οΈ | + +HTTPDigestAuthenticationTestCase: 2 tests were completed in 1.915 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testHTTPDigestAuthenticationWithInvalidCredentials | βœ… |1.057s βŒ›οΈ | +| testHTTPDigestAuthenticationWithValidCredentials | βœ… |0.858s βŒ›οΈ | + +HTTPHeadersTests: 6 tests were completed in 0.013000000000000001 with 6 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testHeadersAreStoreUniquelyByCaseInsensitiveName | βœ… |0.003s βŒ›οΈ | +| testHeadersCanBeProperlySortedByName | βœ… |0.002s βŒ›οΈ | +| testHeadersCanInsensitivelyGetAndSetThroughSubscript | βœ… |0.002s βŒ›οΈ | +| testHeadersHaveUnsortedDescription | βœ… |0.002s βŒ›οΈ | +| testHeadersPreserveLastFormAndValueOfAName | βœ… |0.002s βŒ›οΈ | +| testHeadersPreserveOrderOfInsertion | βœ… |0.002s βŒ›οΈ | + +JSONParameterEncoderTests: 5 tests were completed in 0.013 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatDataIsProperlyEncodedAndProperContentTypeIsSet | βœ… |0.003s βŒ›οΈ | +| testThatDataIsProperlyEncodedButContentTypeIsNotSetIfRequestAlreadyHasAContentType | βœ… |0.002s βŒ›οΈ | +| testThatJSONEncoderCanBeCustomized | βœ… |0.002s βŒ›οΈ | +| testThatJSONEncoderDefaultWorks | βœ… |0.004s βŒ›οΈ | +| testThatJSONEncoderPrettyPrintedPrintsPretty | βœ… |0.002s βŒ›οΈ | + +JSONParameterEncodingTestCase: 4 tests were completed in 0.01 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testJSONParameterEncodeArray | βœ… |0.003s βŒ›οΈ | +| testJSONParameterEncodeComplexParameters | βœ… |0.003s βŒ›οΈ | +| testJSONParameterEncodeNilParameters | βœ… |0.002s βŒ›οΈ | +| testJSONParameterEncodeParametersRetainsCustomContentType | βœ… |0.002s βŒ›οΈ | + +MultipartFormDataEncodingTestCase: 7 tests were completed in 0.049 with 7 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testEncodingDataBodyPart | βœ… |0.003s βŒ›οΈ | +| testEncodingFileBodyPart | βœ… |0.021s βŒ›οΈ | +| testEncodingMultipleBodyPartsWithVaryingTypes | βœ… |0.006s βŒ›οΈ | +| testEncodingMultipleDataBodyParts | βœ… |0.003s βŒ›οΈ | +| testEncodingMultipleFileBodyParts | βœ… |0.007s βŒ›οΈ | +| testEncodingMultipleStreamBodyParts | βœ… |0.005s βŒ›οΈ | +| testEncodingStreamBodyPart | βœ… |0.004s βŒ›οΈ | + +MultipartFormDataFailureTestCase: 6 tests were completed in 0.021 with 6 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatAppendingFileBodyPartThatIsDirectoryReturnsError | βœ… |0.003s βŒ›οΈ | +| testThatAppendingFileBodyPartThatIsNotFileURLReturnsError | βœ… |0.003s βŒ›οΈ | +| testThatAppendingFileBodyPartThatIsNotReachableReturnsError | βœ… |0.004s βŒ›οΈ | +| testThatAppendingFileBodyPartWithInvalidLastPathComponentReturnsError | βœ… |0.003s βŒ›οΈ | +| testThatWritingEncodedDataToBadURLFails | βœ… |0.003s βŒ›οΈ | +| testThatWritingEncodedDataToExistingFileURLFails | βœ… |0.005s βŒ›οΈ | + +MultipartFormDataPropertiesTestCase: 2 tests were completed in 0.006 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatContentLengthMatchesTotalBodyPartSize | βœ… |0.003s βŒ›οΈ | +| testThatContentTypeContainsBoundary | βœ… |0.003s βŒ›οΈ | + +MultipartFormDataWriteEncodedDataToDiskTestCase: 7 tests were completed in 0.041999999999999996 with 7 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testWritingEncodedDataBodyPartToDisk | βœ… |0.004s βŒ›οΈ | +| testWritingEncodedFileBodyPartToDisk | βœ… |0.006s βŒ›οΈ | +| testWritingEncodedStreamBodyPartToDisk | βœ… |0.005s βŒ›οΈ | +| testWritingMultipleEncodedBodyPartsWithVaryingTypesToDisk | βœ… |0.008s βŒ›οΈ | +| testWritingMultipleEncodedDataBodyPartsToDisk | βœ… |0.003s βŒ›οΈ | +| testWritingMultipleEncodedFileBodyPartsToDisk | βœ… |0.011s βŒ›οΈ | +| testWritingMultipleEncodedStreamBodyPartsToDisk | βœ… |0.005s βŒ›οΈ | + +MultipleValidationTestCase: 3 tests were completed in 0.5429999999999999 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds | βœ… |0.178s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithContentTypeError | βœ… |0.181s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithStatusCodeError | βœ… |0.184s βŒ›οΈ | + +NetworkReachabilityManagerTestCase: 17 tests were completed in 0.05200000000000002 with 17 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatAddressManagerCanBeDeinitialized | βœ… |0.003s βŒ›οΈ | +| testThatAddressManagerIsNotifiedWhenStartListeningIsCalled | βœ… |0.004s βŒ›οΈ | +| testThatAddressManagerStartsWithReachableStatus | βœ… |0.003s βŒ›οΈ | +| testThatHostManagerCanBeDeinitialized | βœ… |0.002s βŒ›οΈ | +| testThatHostManagerIsNotifiedWhenStartListeningIsCalled | βœ… |0.004s βŒ›οΈ | +| testThatHostManagerIsReachableOnWiFi | βœ… |0.004s βŒ›οΈ | +| testThatHostManagerStartsWithReachableStatus | βœ… |0.004s βŒ›οΈ | +| testThatManagerCanBeInitializedFromAddress | βœ… |0.003s βŒ›οΈ | +| testThatManagerCanBeInitializedFromHost | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsNotReachableOnWWANStatusWhenIsWWANAndConnectionIsRequired | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsNotReachableStatusWhenConnectionIsRequired | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsNotReachableStatusWhenInterventionIsRequired | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsNotReachableStatusWhenReachableFlagIsAbsent | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsNotRequired | βœ… |0.003s βŒ›οΈ | +| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnDemand | βœ… |0.002s βŒ›οΈ | +| testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnTraffic | βœ… |0.002s βŒ›οΈ | +| testThatManagerReturnsReachableOnWWANStatusWhenIsWWAN | βœ… |0.003s βŒ›οΈ | + +RequestDebugDescriptionTestCase: 9 tests were completed in 4.523999999999999 with 9 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testGETRequestDebugDescription | βœ… |0.646s βŒ›οΈ | +| testGETRequestWithDuplicateHeadersDebugDescription | βœ… |0.658s βŒ›οΈ | +| testGETRequestWithJSONHeaderDebugDescription | βœ… |0.652s βŒ›οΈ | +| testMultipartFormDataRequestWithDuplicateHeadersDebugDescription | βœ… |0.599s βŒ›οΈ | +| testPOSTRequestDebugDescription | βœ… |0.605s βŒ›οΈ | +| testPOSTRequestWithCookieDebugDescription | βœ… |0.682s βŒ›οΈ | +| testPOSTRequestWithCookiesDisabledDebugDescription | βœ… |0.004s βŒ›οΈ | +| testPOSTRequestWithJSONParametersDebugDescription | βœ… |0.666s βŒ›οΈ | +| testThatRequestWithInvalidURLDebugDescription | βœ… |0.012s βŒ›οΈ | + +RequestDescriptionTestCase: 1 tests were completed in 0.733 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testRequestDescription | βœ… |0.733s βŒ›οΈ | + +RequestResponseTestCase: 8 tests were completed in 3.2600000000000002 with 8 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testPOSTRequestWithBase64EncodedImages | βœ… |1.134s βŒ›οΈ | +| testPOSTRequestWithUnicodeParameters | βœ… |0.188s βŒ›οΈ | +| testRequestResponse | βœ… |0.191s βŒ›οΈ | +| testRequestResponseWithProgress | βœ… |0.578s βŒ›οΈ | +| testThatRequestsCanPassEncodableParametersAsAURLQuery | βœ… |0.184s βŒ›οΈ | +| testThatRequestsCanPassEncodableParametersAsJSONBodyData | βœ… |0.184s βŒ›οΈ | +| testThatRequestsCanPassEncodableParametersAsURLEncodedBodyData | βœ… |0.188s βŒ›οΈ | +| testThatResponseSerializationWorksWithSerializationQueue | βœ… |0.613s βŒ›οΈ | + +ResponseDataTestCase: 2 tests were completed in 0.191 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatResponseDataReturnsFailureResultWithOptionalDataAndError | βœ… |0.011s βŒ›οΈ | +| testThatResponseDataReturnsSuccessResultWithValidData | βœ… |0.18s βŒ›οΈ | + +ResponseFlatMapErrorTestCase: 3 tests were completed in 0.201 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatFlatMapErrorCatchesTransformationError | βœ… |0.009s βŒ›οΈ | +| testThatFlatMapErrorPreservesSuccessValue | βœ… |0.182s βŒ›οΈ | +| testThatFlatMapErrorTransformsError | βœ… |0.01s βŒ›οΈ | + +ResponseFlatMapTestCase: 3 tests were completed in 0.38 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatFlatMapCatchesTransformationError | βœ… |0.182s βŒ›οΈ | +| testThatFlatMapPreservesFailureError | βœ… |0.011s βŒ›οΈ | +| testThatFlatMapTransformsSuccessValue | βœ… |0.187s βŒ›οΈ | + +ResponseJSONDecodableTestCase: 2 tests were completed in 0.192 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatResponseJSONReturnsSuccessResultWithValidJSON | βœ… |0.182s βŒ›οΈ | +| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… |0.01s βŒ›οΈ | + +ResponseJSONTestCase: 4 tests were completed in 0.564 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatResponseJSONReturnsSuccessResultForGETRequest | βœ… |0.186s βŒ›οΈ | +| testThatResponseJSONReturnsSuccessResultForPOSTRequest | βœ… |0.18s βŒ›οΈ | +| testThatResponseJSONReturnsSuccessResultWithValidJSON | βœ… |0.187s βŒ›οΈ | +| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… |0.011s βŒ›οΈ | + +ResponseMapErrorTestCase: 2 tests were completed in 0.193 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatMapErrorPreservesSuccessValue | βœ… |0.183s βŒ›οΈ | +| testThatMapErrorTransformsFailureValue | βœ… |0.01s βŒ›οΈ | + +ResponseMapTestCase: 2 tests were completed in 0.218 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatMapPreservesFailureError | βœ… |0.012s βŒ›οΈ | +| testThatMapTransformsSuccessValue | βœ… |0.206s βŒ›οΈ | + +ResponseStringTestCase: 2 tests were completed in 0.193 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatResponseStringReturnsFailureResultWithOptionalDataAndError | βœ… |0.013s βŒ›οΈ | +| testThatResponseStringReturnsSuccessResultWithValidString | βœ… |0.18s βŒ›οΈ | + +ResponseTestCase: 2 tests were completed in 0.199 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatResponseReturnsFailureResultWithOptionalDataAndError | βœ… |0.01s βŒ›οΈ | +| testThatResponseReturnsSuccessResultWithValidData | βœ… |0.189s βŒ›οΈ | + +ResultTestCase: 34 tests were completed in 0.08800000000000005 with 34 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testFlatMapErrorCapturesThrownError | βœ… |0.002s βŒ›οΈ | +| testFlatMapErrorTransformsErrorValue | βœ… |0.002s βŒ›οΈ | +| testFunctionalMethodsCanBeChained | βœ… |0.002s βŒ›οΈ | +| testIfFailureDoesNotExecuteWhenSuccess | βœ… |0.003s βŒ›οΈ | +| testIfFailureExecutesWhenFailure | βœ… |0.003s βŒ›οΈ | +| testIfSuccessDoesNotExecutesWhenFailure | βœ… |0.003s βŒ›οΈ | +| testIfSuccessExecutesWhenSuccess | βœ… |0.003s βŒ›οΈ | +| testMapErrorPreservesSuccessError | βœ… |0.003s βŒ›οΈ | +| testMapErrorTransformsErrorValue | βœ… |0.003s βŒ›οΈ | +| testThatDebugDescriptionStringMatchesExpectedValueForFailureCase | βœ… |0.003s βŒ›οΈ | +| testThatDebugDescriptionStringMatchesExpectedValueForSuccessCase | βœ… |0.002s βŒ›οΈ | +| testThatDescriptionStringMatchesExpectedValueForFailureCase | βœ… |0.003s βŒ›οΈ | +| testThatDescriptionStringMatchesExpectedValueForSuccessCase | βœ… |0.002s βŒ›οΈ | +| testThatErrorPropertyReturnsErrorForFailureCase | βœ… |0.003s βŒ›οΈ | +| testThatErrorPropertyReturnsNilForSuccessCase | βœ… |0.003s βŒ›οΈ | +| testThatFlatMapCatchesTransformationError | βœ… |0.002s βŒ›οΈ | +| testThatFlatMapPreservesFailureError | βœ… |0.002s βŒ›οΈ | +| testThatFlatMapTransformsSuccessValue | βœ… |0.002s βŒ›οΈ | +| testThatInitializerFromThrowingClosureCatchesErrorAsAFailure | βœ… |0.003s βŒ›οΈ | +| testThatInitializerFromThrowingClosureStoresResultAsASuccess | βœ… |0.003s βŒ›οΈ | +| testThatIsFailurePropertyReturnsFalseForSuccessCase | βœ… |0.002s βŒ›οΈ | +| testThatIsFailurePropertyReturnsTrueForFailureCase | βœ… |0.003s βŒ›οΈ | +| testThatIsSuccessPropertyReturnsFalseForFailureCase | βœ… |0.003s βŒ›οΈ | +| testThatIsSuccessPropertyReturnsTrueForSuccessCase | βœ… |0.002s βŒ›οΈ | +| testThatMapPreservesFailureError | βœ… |0.002s βŒ›οΈ | +| testThatMapTransformsSuccessValue | βœ… |0.002s βŒ›οΈ | +| testThatUnwrapReturnsSuccessValue | βœ… |0.003s βŒ›οΈ | +| testThatUnwrapThrowsFailureError | βœ… |0.003s βŒ›οΈ | +| testThatValuePropertyReturnsNilForFailureCase | βœ… |0.002s βŒ›οΈ | +| testThatValuePropertyReturnsValueForSuccessCase | βœ… |0.003s βŒ›οΈ | +| testWithErrorDoesNotExecuteWhenSuccess | βœ… |0.003s βŒ›οΈ | +| testWithErrorExecutesWhenFailure | βœ… |0.003s βŒ›οΈ | +| testWithValueDoesNotExecutesWhenFailure | βœ… |0.002s βŒ›οΈ | +| testWithValueExecutesWhenSuccess | βœ… |0.003s βŒ›οΈ | + +ServerTrustPolicyCertificatesInBundleTestCase: 1 tests were completed in 0.019 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testOnlyValidCertificatesAreDetected | βœ… |0.019s βŒ›οΈ | + +ServerTrustPolicyCompositeTestCase: 3 tests were completed in 0.041 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatExpiredLeafCertificateFailsDefaultAndRevocationComposite | βœ… |0.017s βŒ›οΈ | +| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatValidCertificateChainPassesDefaultAndRevocationCompositeChecks | βœ… |0.015s βŒ›οΈ | + +ServerTrustPolicyDisableEvaluationTestCase: 2 tests were completed in 0.005 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatCertificateChainMissingIntermediateCertificatePassesEvaluation | βœ… |0.002s βŒ›οΈ | +| testThatExpiredLeafCertificatePassesEvaluation | βœ… |0.003s βŒ›οΈ | + +ServerTrustPolicyExplorationBasicX509PolicyValidationTestCase: 4 tests were completed in 0.03 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatAnchoredRootCertificatePassesBasicX509ValidationWithoutRootInTrust | βœ… |0.009s βŒ›οΈ | +| testThatAnchoredRootCertificatePassesBasicX509ValidationWithRootInTrust | βœ… |0.005s βŒ›οΈ | +| testThatCertificateMissingDNSNamePassesBasicX509Validation | βœ… |0.006s βŒ›οΈ | +| testThatExpiredCertificateFailsBasicX509Validation | βœ… |0.01s βŒ›οΈ | + +ServerTrustPolicyExplorationSSLPolicyValidationTestCase: 9 tests were completed in 0.066 with 9 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatAnchoredRootCertificatePassesSSLValidationWithoutRootInTrust | βœ… |0.007s βŒ›οΈ | +| testThatAnchoredRootCertificatePassesSSLValidationWithRootInTrust | βœ… |0.007s βŒ›οΈ | +| testThatCertificateMissingDNSNameFailsSSLValidation | βœ… |0.007s βŒ›οΈ | +| testThatDNSNameCertificatePassesSSLValidation | βœ… |0.006s βŒ›οΈ | +| testThatExpiredCertificateFailsSSLValidation | βœ… |0.008s βŒ›οΈ | +| testThatMultipleDNSNamesCertificatePassesSSLValidationForAllEntries | βœ… |0.007s βŒ›οΈ | +| testThatPassingNilForHostParameterAllowsCertificateMissingDNSNameToPassSSLValidation | βœ… |0.005s βŒ›οΈ | +| testThatURICertificateFailsSSLValidation | βœ… |0.007s βŒ›οΈ | +| testThatWildcardCertificatePassesSSLValidation | βœ… |0.012s βŒ›οΈ | + +ServerTrustPolicyPerformDefaultEvaluationTestCase: 11 tests were completed in 0.094 with 11 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatExpiredCertificateChainFailsEvaluationWithHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatExpiredCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatMissingDNSNameLeafCertificateFailsEvaluationWithHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatMissingDNSNameLeafCertificatePassesEvaluationWithoutHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatMissingIntermediateCertificateInChainFailsEvaluationWithHostValidation | βœ… |0.006s βŒ›οΈ | +| testThatMissingIntermediateCertificateInChainFailsEvaluationWithoutHostValidation | βœ… |0.004s βŒ›οΈ | +| testThatNonAnchoredRootCertificateChainFailsEvaluationWithHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatValidCertificateChainPassesEvaluationWithHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatValidCertificateChainPassesEvaluationWithoutHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatWildcardedLeafCertificateChainPassesEvaluationWithHostValidation | βœ… |0.012s βŒ›οΈ | + +ServerTrustPolicyPerformRevokedEvaluationTestCase: 11 tests were completed in 0.11699999999999999 with 11 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatExpiredCertificateChainFailsEvaluationWithHostValidation | βœ… |0.008s βŒ›οΈ | +| testThatExpiredCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatMissingDNSNameLeafCertificateFailsEvaluationWithHostValidation | βœ… |0.014s βŒ›οΈ | +| testThatMissingDNSNameLeafCertificatePassesEvaluationWithoutHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatMissingIntermediateCertificateInChainFailsEvaluationWithHostValidation | βœ… |0.006s βŒ›οΈ | +| testThatMissingIntermediateCertificateInChainFailsEvaluationWithoutHostValidation | βœ… |0.006s βŒ›οΈ | +| testThatNonAnchoredRootCertificateChainFailsEvaluationWithHostValidation | βœ… |0.008s βŒ›οΈ | +| testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatValidCertificateChainPassesEvaluationWithHostValidation | βœ… |0.018s βŒ›οΈ | +| testThatValidCertificateChainPassesEvaluationWithoutHostValidation | βœ… |0.012s βŒ›οΈ | +| testThatWildcardedLeafCertificateChainPassesEvaluationWithHostValidation | βœ… |0.015s βŒ›οΈ | + +ServerTrustPolicyPinCertificatesTestCase: 23 tests were completed in 0.23100000000000007 with 23 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatPinnedIntermediateCertificatePassesEvaluationWithoutHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatPinnedIntermediateCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… |0.014s βŒ›οΈ | +| testThatPinnedIntermediateCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.01s βŒ›οΈ | +| testThatPinnedLeafCertificatePassesEvaluationWithoutHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatPinnedLeafCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatPinnedLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.01s βŒ›οΈ | +| testThatPinnedRootCertificatePassesEvaluationWithoutHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatPinnedRootCertificatePassesEvaluationWithSelfSignedSupportAndHostValidation | βœ… |0.012s βŒ›οΈ | +| testThatPinnedRootCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.01s βŒ›οΈ | +| testThatPinningExpiredLeafCertificateFailsEvaluationWithHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatPinningExpiredLeafCertificateFailsEvaluationWithoutHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatPinningExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.009s βŒ›οΈ | +| testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatPinningIntermediateCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation | βœ… |0.008s βŒ›οΈ | +| testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithoutHostValidation | βœ… |0.012s βŒ›οΈ | +| testThatPinningIntermediateCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.009s βŒ›οΈ | +| testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithHostValidation | βœ… |0.008s βŒ›οΈ | +| testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.009s βŒ›οΈ | +| testThatPinningLeafCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation | βœ… |0.013s βŒ›οΈ | +| testThatPinningMultipleCertificatesWithoutCertificateChainValidationPassesEvaluation | βœ… |0.012s βŒ›οΈ | +| testThatPinningRootCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation | βœ… |0.009s βŒ›οΈ | + +ServerTrustPolicyPinPublicKeysTestCase: 16 tests were completed in 0.14100000000000001 with 16 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatPinningBackupKeyPassesEvaluationWithHostValidation | βœ… |0.011s βŒ›οΈ | +| testThatPinningBackupKeyPassesEvaluationWithoutHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatPinningIntermediateKeyPassesEvaluationWithHostValidation | βœ… |0.01s βŒ›οΈ | +| testThatPinningIntermediateKeyPassesEvaluationWithoutHostValidation | βœ… |0.006s βŒ›οΈ | +| testThatPinningIntermediateKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… |0.008s βŒ›οΈ | +| testThatPinningKeyNotInCertificateChainFailsEvaluationWithHostValidation | βœ… |0.013s βŒ›οΈ | +| testThatPinningKeyNotInCertificateChainFailsEvaluationWithoutHostValidation | βœ… |0.008s βŒ›οΈ | +| testThatPinningLeafKeyPassesEvaluationWithHostValidation | βœ… |0.012s βŒ›οΈ | +| testThatPinningLeafKeyPassesEvaluationWithoutHostValidation | βœ… |0.008s βŒ›οΈ | +| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… |0.009s βŒ›οΈ | +| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithIncorrectIntermediateCertificate | βœ… |0.004s βŒ›οΈ | +| testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithMissingIntermediateCertificate | βœ… |0.007s βŒ›οΈ | +| testThatPinningRootKeyPassesEvaluationWithHostValidation | βœ… |0.014s βŒ›οΈ | +| testThatPinningRootKeyPassesEvaluationWithoutHostValidation | βœ… |0.007s βŒ›οΈ | +| testThatPinningRootKeyWithoutCertificateChainValidationFailsEvaluationWithMissingIntermediateCertificate | βœ… |0.006s βŒ›οΈ | +| testThatPinningRootKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate | βœ… |0.011s βŒ›οΈ | + +SessionDelegateTestCase: 4 tests were completed in 3.583 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatAppropriateNotificationsAreCalledWithRequestForDataRequest | βœ… |0.735s βŒ›οΈ | +| testThatDidCompleteNotificationIsCalledWithRequestForDownloadRequests | βœ… |0.631s βŒ›οΈ | +| testThatRequestWillPerformHTTPRedirectionByDefault | βœ… |0.85s βŒ›οΈ | +| testThatRequestWillPerformRedirectionMultipleTimesByDefault | βœ… |1.367s βŒ›οΈ | + +SessionManagerConfigurationHeadersTestCase: 2 tests were completed in 1.287 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatDefaultConfigurationHeadersAreSentWithRequest | βœ… |0.609s βŒ›οΈ | +| testThatEphemeralConfigurationHeadersAreSentWithRequest | βœ… |0.678s βŒ›οΈ | + +SessionTestCase: 29 tests were completed in 6.391999999999998 with 29 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testDefaultAcceptEncodingSupportsAppropriateEncodingsOnAppropriateSystems | βœ… |0.722s βŒ›οΈ | +| testDefaultUserAgentHeader | βœ… |0.003s βŒ›οΈ | +| testInitializerWithDefaultArguments | βœ… |0.004s βŒ›οΈ | +| testInitializerWithSpecifiedArguments | βœ… |0.003s βŒ›οΈ | +| testReleasingManagerWithPendingCanceledRequestDeinitializesSuccessfully | βœ… |0.003s βŒ›οΈ | +| testReleasingManagerWithPendingRequestDeinitializesSuccessfully | βœ… |0.005s βŒ›οΈ | +| testSetStartRequestsImmediatelyToFalseAndCancelledCallsResponseHandlers | βœ… |0.005s βŒ›οΈ | +| testSetStartRequestsImmediatelyToFalseAndCancelThenResumeRequestDoesntCreateTaskAndStaysCancelled | βœ… |0.006s βŒ›οΈ | +| testSetStartRequestsImmediatelyToFalseAndResumeRequest | βœ… |0.636s βŒ›οΈ | +| testSetStartRequestsImmediatelyToFalseAndResumeThenCancelRequestHasCorrectOutput | βœ… |0.006s βŒ›οΈ | +| testThatDataRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… |0.007s βŒ›οΈ | +| testThatDownloadRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… |0.005s βŒ›οΈ | +| testThatRequestAdapterErrorThrowsResponseHandlerError | βœ… |0.004s βŒ›οΈ | +| testThatRequestAdapterErrorThrowsResponseHandlerErrorWhenRequestIsRetried | βœ… |0.896s βŒ›οΈ | +| testThatSessionInitializerSucceedsWithDefaultArguments | βœ… |0.004s βŒ›οΈ | +| testThatSessionInitializerSucceedsWithSpecifiedArguments | βœ… |0.003s βŒ›οΈ | +| testThatSessionManagerCallsAdapterWhenRequestIsRetried | βœ… |0.997s βŒ›οΈ | +| testThatSessionManagerCallsRequestAdapterWhenCreatingDataRequest | βœ… |0.004s βŒ›οΈ | +| testThatSessionManagerCallsRequestAdapterWhenCreatingDownloadRequest | βœ… |0.005s βŒ›οΈ | +| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithData | βœ… |0.007s βŒ›οΈ | +| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithFile | βœ… |0.006s βŒ›οΈ | +| testThatSessionManagerCallsRequestAdapterWhenCreatingUploadRequestWithInputStream | βœ… |0.006s βŒ›οΈ | +| testThatSessionManagerCallsRequestRetrierWhenDownloadInitiallyEncountersAdaptError | βœ… |0.629s βŒ›οΈ | +| testThatSessionManagerCallsRequestRetrierWhenRequestEncountersError | βœ… |1.097s βŒ›οΈ | +| testThatSessionManagerCallsRequestRetrierWhenRequestInitiallyEncountersAdaptError | βœ… |0.686s βŒ›οΈ | +| testThatSessionManagerCallsRequestRetrierWhenUploadInitiallyEncountersAdaptError | βœ… |0.629s βŒ›οΈ | +| testThatUploadDataRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… |0.004s βŒ›οΈ | +| testThatUploadFileRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… |0.005s βŒ›οΈ | +| testThatUploadStreamRequestWithInvalidURLStringThrowsResponseHandlerError | βœ… |0.005s βŒ›οΈ | + +SortedKeysJSONParameterEncoderTests: 1 tests were completed in 0.004 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testTestJSONEncoderSortedKeysHasSortedKeys | βœ… |0.004s βŒ›οΈ | + +StatusCodeValidationTestCase: 3 tests were completed in 0.5389999999999999 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatValidationForRequestWithAcceptableStatusCodeResponseSucceeds | βœ… |0.18s βŒ›οΈ | +| testThatValidationForRequestWithNoAcceptableStatusCodesFails | βœ… |0.18s βŒ›οΈ | +| testThatValidationForRequestWithUnacceptableStatusCodeResponseFails | βœ… |0.179s βŒ›οΈ | + +TLSEvaluationExpiredLeafCertificateTestCase: 14 tests were completed in 6.6690000000000005 with 14 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatExpiredCertificateRequestFailsWhenPinningAllCertificatesWithCertificateChainValidation | βœ… |0.58s βŒ›οΈ | +| testThatExpiredCertificateRequestFailsWhenPinningLeafCertificateWithCertificateChainValidation | βœ… |0.323s βŒ›οΈ | +| testThatExpiredCertificateRequestFailsWhenPinningLeafPublicKeyWithCertificateChainValidation | βœ… |0.318s βŒ›οΈ | +| testThatExpiredCertificateRequestFailsWithDefaultServerTrustPolicy | βœ… |0.322s βŒ›οΈ | +| testThatExpiredCertificateRequestFailsWithNoServerTrustPolicy | βœ… |0.329s βŒ›οΈ | +| testThatExpiredCertificateRequestFailsWithRevokedServerTrustPolicy | βœ… |0.319s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenDisablingEvaluation | βœ… |0.631s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCACertificateWithoutCertificateChainOrHostValidation | βœ… |0.627s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCAPublicKeyWithoutCertificateChainOrHostValidation | βœ… |0.626s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningLeafCertificateWithoutCertificateChainOrHostValidation | βœ… |0.686s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningLeafPublicKeyWithoutCertificateChainOrHostValidation | βœ… |0.626s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningRootCACertificateWithoutCertificateChainValidation | βœ… |0.335s βŒ›οΈ | +| testThatExpiredCertificateRequestSucceedsWhenPinningRootCAPublicKeyWithoutCertificateChainValidation | βœ… |0.325s βŒ›οΈ | +| testThatRevokedCertificateRequestFailsWithRevokedServerTrustPolicy | βœ… |0.622s βŒ›οΈ | + +URLEncodedFormEncoderTests: 38 tests were completed in 0.12600000000000006 with 38 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testEncoderCanEncodeDictionary | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeDouble | βœ… |0.004s βŒ›οΈ | +| testEncoderCanEncodeFloat | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeInt16 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeInt32 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeInt64 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeInt8 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeUInt | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeUInt16 | βœ… |0.004s βŒ›οΈ | +| testEncoderCanEncodeUInt32 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeUInt64 | βœ… |0.003s βŒ›οΈ | +| testEncoderCanEncodeUInt8 | βœ… |0.003s βŒ›οΈ | +| testEncoderThrowsErrorWhenAttemptingToEncodeNilInKeyedContainer | βœ… |0.003s βŒ›οΈ | +| testEncoderThrowsErrorWhenAttemptingToEncodeNilInUnkeyedContainer | βœ… |0.003s βŒ›οΈ | +| testStringWithThousandsOfChineseCharactersIsPercentEscaped | βœ… |0.011s βŒ›οΈ | +| testThatAmpersandsInKeysAndValuesArePercentEscaped | βœ… |0.004s βŒ›οΈ | +| testThatARootArrayCannotBeEncoded | βœ… |0.004s βŒ›οΈ | +| testThatARootValueCannotBeEncoded | βœ… |0.003s βŒ›οΈ | +| testThatArraysCanBeEncodedWithoutBrackets | βœ… |0.003s βŒ›οΈ | +| testThatBoolsCanBeLiteralEncoded | βœ… |0.003s βŒ›οΈ | +| testThatEncodableClassWithNoInheritanceCanBeEncoded | βœ… |0.003s βŒ›οΈ | +| testThatEncodableStructCanBeEncoded | βœ… |0.004s βŒ›οΈ | +| testThatEncodableSubclassCanBeEncoded | βœ… |0.003s βŒ›οΈ | +| testThatEscapedCharactersCanBeCustomized | βœ… |0.002s βŒ›οΈ | +| testThatIllegalASCIICharactersArePercentEscaped | βœ… |0.004s βŒ›οΈ | +| testThatManuallyEncodableStructCanBeEncoded | βœ… |0.005s βŒ›οΈ | +| testThatManuallyEncodableSubclassCanBeEncoded | βœ… |0.004s βŒ›οΈ | +| testThatNestedDictionariesHaveBracketedKeys | βœ… |0.004s βŒ›οΈ | +| testThatNonLatinCharactersArePercentEscaped | βœ… |0.003s βŒ›οΈ | +| testThatOptionalValuesCannotBeEncoded | βœ… |0.003s βŒ›οΈ | +| testThatPercentsInKeysAndValuesArePercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatPlusesInKeysAndValuesArePercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatQuestionMarksInKeysAndValuesAreNotPercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatReseredCharactersArePercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatSlashesInKeysAndValuesAreNotPercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatSpacesCanBeEncodedAsPluses | βœ… |0.003s βŒ›οΈ | +| testThatSpacesInKeysAndValuesArePercentEscaped | βœ… |0.004s βŒ›οΈ | +| testThatUnreservedCharactersAreNotPercentEscaped | βœ… |0.002s βŒ›οΈ | + +URLEncodedFormParameterEncoderTests: 4 tests were completed in 0.011000000000000001 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatEncoderCanBeCustomized | βœ… |0.003s βŒ›οΈ | +| testThatQueryIsBodyEncodedAndProperContentTypeIsSetForPOSTRequest | βœ… |0.003s βŒ›οΈ | +| testThatQueryIsBodyEncodedButContentTypeIsNotSetWhenRequestAlreadyHasContentType | βœ… |0.003s βŒ›οΈ | +| testThatQueryIsInURLWhenDestinationIsURLAndMethodIsPOST | βœ… |0.002s βŒ›οΈ | + +URLParameterEncodingTestCase: 36 tests were completed in 0.11400000000000007 with 36 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatIllegalASCIICharactersArePercentEscaped | βœ… |0.004s βŒ›οΈ | +| testThatReservedCharactersArePercentEscapedMinusQuestionMarkAndForwardSlash | βœ… |0.003s βŒ›οΈ | +| testThatReservedCharactersQuestionMarkAndForwardSlashAreNotPercentEscaped | βœ… |0.003s βŒ›οΈ | +| testThatUnreservedLowercaseCharactersAreNotPercentEscaped | βœ… |0.004s βŒ›οΈ | +| testThatUnreservedNumericCharactersAreNotPercentEscaped | βœ… |0.003s βŒ›οΈ | +| testThatUnreservedUppercaseCharactersAreNotPercentEscaped | βœ… |0.002s βŒ›οΈ | +| testThatURLEncodedInURLParameterEncodingEncodesPOSTParametersInURL | βœ… |0.003s βŒ›οΈ | +| testThatURLParameterEncodingEncodesGETParametersInURL | βœ… |0.003s βŒ›οΈ | +| testThatURLParameterEncodingEncodesPOSTParametersInHTTPBody | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeEmptyDictionaryParameter | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeNilParameters | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeOneStringKeyStringValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeOneStringKeyStringValueParameterAppendedToQuery | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringForRequestWithPrecomposedQuery | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyArrayValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyArrayValueParameterWithoutBrackets | βœ… |0.004s βŒ›οΈ | +| testURLParameterEncodeStringKeyBoolValueParameter | βœ… |0.004s βŒ›οΈ | +| testURLParameterEncodeStringKeyDictionaryValueParameter | βœ… |0.004s βŒ›οΈ | +| testURLParameterEncodeStringKeyDoubleValueParameter | βœ… |0.004s βŒ›οΈ | +| testURLParameterEncodeStringKeyIntegerValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyNestedDictionaryArrayValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyNestedDictionaryArrayValueParameterWithoutBrackets | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeStringKeyNestedDictionaryValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyNonLatinStringValueParameter | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeStringKeyNSNumberBoolValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringKeyNSNumberIntegerValueParameter | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeStringKeyPercentEncodedStringValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithAmpersandKeyStringWithAmpersandValueParameter | βœ… |0.002s βŒ›οΈ | +| testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameterForRequestWithPrecomposedQuery | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithQuestionMarkKeyStringWithQuestionMarkValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithSlashKeyStringWithQuestionMarkValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithSpaceKeyStringWithSpaceValueParameter | βœ… |0.003s βŒ›οΈ | +| testURLParameterEncodeStringWithThousandsOfChineseCharacters | βœ… |0.008s βŒ›οΈ | +| testURLParameterEncodeTwoStringKeyStringValueParameters | βœ… |0.004s βŒ›οΈ | +| testURLParameterLiteralBoolEncodingWorksAndDoesNotAffectNumbers | βœ… |0.004s βŒ›οΈ | + +URLProtocolTestCase: 1 tests were completed in 0.636 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatURLProtocolReceivesRequestHeadersAndSessionConfigurationHeaders | βœ… |0.636s βŒ›οΈ | + +UploadDataInitializationTestCase: 2 tests were completed in 0.361 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testUploadClassMethodWithMethodURLAndData | βœ… |0.181s βŒ›οΈ | +| testUploadClassMethodWithMethodURLHeadersAndData | βœ… |0.18s βŒ›οΈ | + +UploadDataTestCase: 2 tests were completed in 0.405 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testUploadDataRequest | βœ… |0.183s βŒ›οΈ | +| testUploadDataRequestWithProgress | βœ… |0.222s βŒ›οΈ | + +UploadFileInitializationTestCase: 2 tests were completed in 0.479 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testUploadClassMethodWithMethodURLAndFile | βœ… |0.237s βŒ›οΈ | +| testUploadClassMethodWithMethodURLHeadersAndFile | βœ… |0.242s βŒ›οΈ | + +UploadMultipartFormDataTestCase: 8 tests were completed in 2.012 with 8 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThatUploadingMultipartFormDataAboveMemoryThresholdSetsContentTypeHeader | βœ… |0.196s βŒ›οΈ | +| testThatUploadingMultipartFormDataAboveMemoryThresholdStreamsFromDisk | βœ… |0.183s βŒ›οΈ | +| testThatUploadingMultipartFormDataBelowMemoryThresholdSetsContentTypeHeader | βœ… |0.183s βŒ›οΈ | +| testThatUploadingMultipartFormDataBelowMemoryThresholdStreamsFromMemory | βœ… |0.224s βŒ›οΈ | +| testThatUploadingMultipartFormDataSetsContentTypeHeader | βœ… |0.286s βŒ›οΈ | +| testThatUploadingMultipartFormDataSucceedsWithDefaultParameters | βœ… |0.28s βŒ›οΈ | +| testThatUploadingMultipartFormDataWhileStreamingFromDiskMonitorsProgress | βœ… |0.32s βŒ›οΈ | +| testThatUploadingMultipartFormDataWhileStreamingFromMemoryMonitorsProgress | βœ… |0.34s βŒ›οΈ | + +UploadStreamInitializationTestCase: 2 tests were completed in 0.653 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testUploadClassMethodWithMethodURLAndStream | βœ… | 0.346s βŒ›οΈ | +| testUploadClassMethodWithMethodURLHeadersAndStream | βœ… |0.307s βŒ›οΈ | diff --git a/Tests/Assets/md/Kitura.md b/Tests/Assets/md/Kitura.md index 2b0a2f9..9306acd 100644 --- a/Tests/Assets/md/Kitura.md +++ b/Tests/Assets/md/Kitura.md @@ -1,360 +1,360 @@ -MiscellaneousTests: 2 tests were completed in 0.095 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testHeaders | βœ… | | πŸ”€ | 0.095s βŒ›οΈ | -| testHeadersHelpers | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestBridgingHTTPStatusCode: 1 tests were completed in 0.126 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testSimpleResponse | βœ… | | πŸ”€ | 0.126s βŒ›οΈ | - -TestBridgingRequestError: 1 tests were completed in 0.053 with 1 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testRequestError | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | - -TestCodableRouter: 25 tests were completed in 36.36 with 25 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testBasicDelete | βœ… | | πŸ”€ | 0.158s βŒ›οΈ | -| testBasicDeleteSingle | βœ… | | πŸ”€ | 0.155s βŒ›οΈ | -| testBasicGetArray | βœ… | | πŸ”€ | 0.153s βŒ›οΈ | -| testBasicGetIdentifiersArray | βœ… | | πŸ”€ | 0.208s βŒ›οΈ | -| testBasicGetSingle | βœ… | | πŸ”€ | 0.16s βŒ›οΈ | -| testBasicGetSingleton | βœ… | | πŸ”€ | 0.158s βŒ›οΈ | -| testBasicPatch | βœ… | | πŸ”€ | 6.195s βŒ›οΈ | -| testBasicPost | βœ… | | πŸ”€ | 0.364s βŒ›οΈ | -| testBasicPostIdentifier | βœ… | | πŸ”€ | 0.163s βŒ›οΈ | -| testBasicPut | βœ… | | πŸ”€ | 6.194s βŒ›οΈ | -| testCodableDeleteQueryParameters | βœ… | | πŸ”€ | 0.291s βŒ›οΈ | -| testCodableGetArrayQueryParameters | βœ… | | πŸ”€ | 0.285s βŒ›οΈ | -| testCodableGetSingleQueryParameters | βœ… | | πŸ”€ | 0.292s βŒ›οΈ | -| testCodablePostSuccessStatuses | βœ… | | πŸ”€ | 0.158s βŒ›οΈ | -| testCodableRoutesWithBodyParsingFail | βœ… | | πŸ”€ | 4.194s βŒ›οΈ | -| testErrorOverridesBody | βœ… | | πŸ”€ | 8.488s βŒ›οΈ | -| testIdentifierNotExpected | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testIdentifierNotSupplied | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testInvalidIdentifierSupplied | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testJoinPath | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testNoDataCustomStatus | βœ… | | πŸ”€ | 2.124s βŒ›οΈ | -| testNoDataDefaultStatus | βœ… | | πŸ”€ | 2.122s βŒ›οΈ | -| testPartialIdentifierSupplied | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testRouteParameters | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testRouteWithTrailingSlash | βœ… | | πŸ”€ | 4.238s βŒ›οΈ | - -TestContentType: 3 tests were completed in 0.0 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testFilename | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testInitialize | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testIsContentType | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestCookies: 5 tests were completed in 0.36 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCookieFromServer | βœ… | | πŸ”€ | 0.111s βŒ›οΈ | -| testCookieToServerWithSemiColonSeparator | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testCookieToServerWithSemiColonSpaceSeparator | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testCookieToServerWithSemiColonWhitespacesSeparator | βœ… | | πŸ”€ | 0.049s βŒ›οΈ | -| testNoCookies | βœ… | | πŸ”€ | 0.093s βŒ›οΈ | - -TestCustomCoders: 3 tests were completed in 0.46599999999999997 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCustomCoder | βœ… | | πŸ”€ | 0.108s βŒ›οΈ | -| testCustomQueryEncoder | βœ… | | πŸ”€ | 0.253s βŒ›οΈ | -| testRawCustomCoder | βœ… | | πŸ”€ | 0.105s βŒ›οΈ | - -TestDecodingErrorExtension: 4 tests were completed in 0.0 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testMalformedJson | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testMissingRequiredKey | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testMissingValue | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testWrongType | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestErrors: 3 tests were completed in 0.153 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testInvalidEndpoint | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testInvalidHeader | βœ… | | πŸ”€ | 0.049s βŒ›οΈ | -| testInvalidMethod | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | - -TestMediaType: 10 tests were completed in 0.0 with 10 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAllTextMediaTypeBuilder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testAllTextSlashMediaTypeBuilder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testHTMLMediaTypeBuilder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testIncorrectTopLevelType | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testInvalidMediaType | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testMediaCaseInsensitive | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testPartsAllTextMediaTypeBuilder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testPartsHTMLMediaTypeBuilder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testPartsMediaCaseInsensitive | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testValidMediaType | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestMultiplicity: 4 tests were completed in 0.594 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCombined | βœ… | | πŸ”€ | 0.148s βŒ›οΈ | -| testPlus | βœ… | | πŸ”€ | 0.151s βŒ›οΈ | -| testQuestion | βœ… | | πŸ”€ | 0.146s βŒ›οΈ | -| testStar | βœ… | | πŸ”€ | 0.149s βŒ›οΈ | - -TestRangeHeaderDataExtensions: 3 tests were completed in 0.012 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testPartialDataRead | βœ… | | πŸ”€ | 0.008s βŒ›οΈ | -| testPartialDataReadEntireFile | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testPartialDataReadWithErrorFileNotFound | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -TestRangeHeaderParser: 17 tests were completed in 0.001 with 17 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testIsBytesRangeHeader | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testParseString | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testReturnNilOnInvalidNonDigitsRanges | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testReturnNilOnInvalidRanges | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testReturnNilOnMalformedHeader | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldCapEndAtSize | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldCombineOverlappingRanges | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldCombineOverlappingRangesAndRetainOriginalOrder | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseNonBytesRange | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseNormalString | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringAskingForLastByte | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringWithBytesEqualZeroZero | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringWithMultipleRanges | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringWithOnlyEnd | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringWithOnlyStart | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseStringWithSomeInvalidRanges | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testShouldParseWithStartBytesEqualtToZero | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestRequests: 8 tests were completed in 0.612 with 8 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCustomMiddlewareURLParameter | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testCustomMiddlewareURLParameterWithQueryParam | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testMultipleParametersMultipleHandlers | βœ… | | πŸ”€ | 0.098s βŒ›οΈ | -| testOneParameterMultipleHandlers | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testParameterExit | βœ… | | πŸ”€ | 0.097s βŒ›οΈ | -| testParameters | βœ… | | πŸ”€ | 0.097s βŒ›οΈ | -| testQueryParameters | βœ… | | πŸ”€ | 0.111s βŒ›οΈ | -| testRouteParameters | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | - -TestResponse: 35 tests were completed in 7.216 with 35 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAcceptEncodingTypes | βœ… | | πŸ”€ | 0.1s βŒ›οΈ | -| testAcceptTypes | βœ… | | πŸ”€ | 0.105s βŒ›οΈ | -| testChangeStatusCodeOnInvokedSend | βœ… | | πŸ”€ | 0.1s βŒ›οΈ | -| testEmptyHandler | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testErrorHandler | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testFormat | βœ… | | πŸ”€ | 0.15s βŒ›οΈ | -| testHeaderModifiers | βœ… | | πŸ”€ | 0.058s βŒ›οΈ | -| testJsonp | βœ… | | πŸ”€ | 0.25s βŒ›οΈ | -| testLargeGet | βœ… | | πŸ”€ | 0.089s βŒ›οΈ | -| testLargePost | βœ… | | πŸ”€ | 2.146s βŒ›οΈ | -| testLifecycle | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testLink | βœ… | | πŸ”€ | 0.104s βŒ›οΈ | -| testMultipartFormParsing | βœ… | | πŸ”€ | 0.207s βŒ›οΈ | -| testOptionalStringNilResponse | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testOptionalStringResponse | βœ… | | πŸ”€ | 0.055s βŒ›οΈ | -| testParameters | βœ… | | πŸ”€ | 0.048s βŒ›οΈ | -| testParametersPercent20InPath | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testParametersPercent20InQuery | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testParametersPercentageEncoding | βœ… | | πŸ”€ | 0.046s βŒ›οΈ | -| testParametersPlusInPath | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testParametersPlusInQuery | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testPostJSONRequest | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testPostRequest | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testPostRequestTheHardWay | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testPostRequestUrlEncoded | βœ… | | πŸ”€ | 0.157s βŒ›οΈ | -| testPostRequestWithDoubleBodyParser | βœ… | | πŸ”€ | 0.048s βŒ›οΈ | -| testRawDataPost | βœ… | | πŸ”€ | 2.061s βŒ›οΈ | -| testRedirect | βœ… | | πŸ”€ | 0.094s βŒ›οΈ | -| testResponseNoEndOrNext | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testRouteFunc | βœ… | | πŸ”€ | 0.107s βŒ›οΈ | -| testSend | βœ… | | πŸ”€ | 0.37s βŒ›οΈ | -| testSendAfterEnd | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testSimpleResponse | βœ… | | πŸ”€ | 0.049s βŒ›οΈ | -| testSubdomains | βœ… | | πŸ”€ | 0.155s βŒ›οΈ | -| testUserInfo | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | - -TestRouteRegex: 7 tests were completed in 2.7859999999999996 with 7 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testBuildRegexFromPattern | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCustomMatchesWithModifiers | βœ… | | πŸ”€ | 1.102s βŒ›οΈ | -| testRouteWithPercentEncoding | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testSimpleCustomMatches | βœ… | | πŸ”€ | 0.199s βŒ›οΈ | -| testSimpleMatches | βœ… | | πŸ”€ | 0.254s βŒ›οΈ | -| testSimpleModifiers | βœ… | | πŸ”€ | 0.786s βŒ›οΈ | -| testSimplePaths | βœ… | | πŸ”€ | 0.393s βŒ›οΈ | - -TestRouterHTTPVerbsGenerated: 4 tests were completed in 0.004 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testFirstTypeVerbsAdded | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testFourthTypeVerbsAdded | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testSecondTypeVerbsAdded | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThirdTypeVerbsAdded | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | - -TestServer: 4 tests were completed in 20.392 with 2 passed, 2 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testServerFail | βœ… | | πŸ”€ | 0.04s βŒ›οΈ | -| testServerRestart | βœ… | | πŸ”€ | 0.175s βŒ›οΈ | -| testServerRun | | ❌ | πŸ”€ | 10.169s βŒ›οΈ | -| testServerStartStop | | ❌ | πŸ”€ | 10.008s βŒ›οΈ | - -TestStack: 2 tests were completed in 0.0 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testEmpty | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testPushPop | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | - -TestStaticFileServer: 30 tests were completed in 2.3390000000000004 with 30 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAbsolutePathFunction | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testAbsoluteRootPath | βœ… | | πŸ”€ | 0.0s βŒ›οΈ | -| testDataIsNotCorrupted | βœ… | | πŸ”€ | 0.195s βŒ›οΈ | -| testFileServer | βœ… | | πŸ”€ | 0.496s βŒ›οΈ | -| testGetDefaultResponse | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testGetKituraResource | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testGetMissingKituraResource | βœ… | | πŸ”€ | 0.056s βŒ›οΈ | -| testGetTraversedFile | βœ… | | πŸ”€ | 0.047s βŒ›οΈ | -| testGetTraversedFileKituraResource | βœ… | | πŸ”€ | 0.047s βŒ›οΈ | -| testGetWithSpecialCharacters | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testGetWithSpecialCharactersEncoded | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testGetWithWhiteSpaces | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testParameterizedSubRouterSubFolderStaticFileServer | βœ… | | πŸ”€ | 0.089s βŒ›οΈ | -| testParameterizedSubRouterSubFolderStaticFileServerRedirect | βœ… | | πŸ”€ | 0.118s βŒ›οΈ | -| testRangeRequestIsIgnoredOnNonGetMethod | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testRangeRequestIsIgnoredOnOptionOff | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testRangeRequests | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testRangeRequestsWithLargeLastBytePos | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testRangeRequestsWithMultipleRanges | βœ… | | πŸ”€ | 0.056s βŒ›οΈ | -| testRangeRequestWithIfRangeHeaderAsLastModified | βœ… | | πŸ”€ | 0.099s βŒ›οΈ | -| testRangeRequestWithIfRangeHeaderAsOldLastModified | βœ… | | πŸ”€ | 0.05s βŒ›οΈ | -| testRangeRequestWithIfRangeHeaderWithETag | βœ… | | πŸ”€ | 0.117s βŒ›οΈ | -| testRangeRequestWithIfRangeHeaderWithOldETag | βœ… | | πŸ”€ | 0.055s βŒ›οΈ | -| testRangeRequestWithNotSatisfiableRange | βœ… | | πŸ”€ | 0.057s βŒ›οΈ | -| testRangeRequestWithSintacticallyInvalidRange | βœ… | | πŸ”€ | 0.067s βŒ›οΈ | -| testSubRouterStaticFileServer | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testSubRouterStaticFileServerRedirect | βœ… | | πŸ”€ | 0.085s βŒ›οΈ | -| testSubRouterSubFolderStaticFileServer | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testSubRouterSubFolderStaticFileServerRedirect | βœ… | | πŸ”€ | 0.089s βŒ›οΈ | -| testWelcomePageCanBeDisabled | βœ… | | πŸ”€ | 0.049s βŒ›οΈ | - -TestSubrouter: 5 tests were completed in 0.502 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testExternSub | βœ… | | πŸ”€ | 0.1s βŒ›οΈ | -| testMergeParams | βœ… | | πŸ”€ | 0.155s βŒ›οΈ | -| testMultipleMiddleware | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testSimpleSub | βœ… | | πŸ”€ | 0.097s βŒ›οΈ | -| testSubSubs | βœ… | | πŸ”€ | 0.099s βŒ›οΈ | - -TestSwaggerGeneration: 9 tests were completed in 0.99 with 9 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testArrayReturnTypes | βœ… | | πŸ”€ | 0.101s βŒ›οΈ | -| testBasePath | βœ… | | πŸ”€ | 0.095s βŒ›οΈ | -| testInfo | βœ… | | πŸ”€ | 0.095s βŒ›οΈ | -| testInputTypesModelled | βœ… | | πŸ”€ | 0.172s βŒ›οΈ | -| testNestedTypesModelled | βœ… | | πŸ”€ | 0.1s βŒ›οΈ | -| testSwaggerContent | βœ… | | πŸ”€ | 0.1s βŒ›οΈ | -| testSwaggerDefinitions | βœ… | | πŸ”€ | 0.102s βŒ›οΈ | -| testSwaggerQueryParams | βœ… | | πŸ”€ | 0.104s βŒ›οΈ | -| testSwaggerVersion | βœ… | | πŸ”€ | 0.121s βŒ›οΈ | - -TestTemplateEngine: 23 tests were completed in 0.37999999999999995 with 23 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAddWithFileExtensions | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testAddWithFileExtensionsWithoutTheDefaultOne | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableAddWithFileExtensions | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableAddWithFileExtensionsWithoutTheDefaultOne | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableRender | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableRenderWithExtensionAndWithoutDefaultTemplateEngine | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableRenderWithExtensionAndWithoutDefaultTemplateEngineAfterSettingViewsPath | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testCodableRenderWithOptionsWithServer | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testCodableRenderWithServer | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testCodableRenderWithServerAndSubRouter | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testCodableRenderWithTuple | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testEmptyTemplateName | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testEmptyTemplateNameCodable | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testMissingExtension | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testMissingExtensionCodable | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testNoDefaultEngine | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testNoDefaultEngineCodable | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRender | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRenderWithExtensionAndWithoutDefaultTemplateEngine | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRenderWithExtensionAndWithoutDefaultTemplateEngineAfterSettingViewsPath | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRenderWithOptionsWithServer | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testRenderWithServer | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testRenderWithServerAndSubRouter | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | - -TestTypeSafeMiddleware: 33 tests were completed in 28.692999999999994 with 33 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCustomCoder | βœ… | | πŸ”€ | 4.24s βŒ›οΈ | -| testCustomCoderGet | βœ… | | πŸ”€ | 0.294s βŒ›οΈ | -| testMiddlewareLogging | βœ… | | πŸ”€ | 0.059s βŒ›οΈ | -| testMultipleMiddlewareDelete | βœ… | | πŸ”€ | 0.163s βŒ›οΈ | -| testMultipleMiddlewareDeleteIdentifier | βœ… | | πŸ”€ | 0.164s βŒ›οΈ | -| testMultipleMiddlewareDeleteOptionalParameters | βœ… | | πŸ”€ | 0.115s βŒ›οΈ | -| testMultipleMiddlewareDeleteParameters | βœ… | | πŸ”€ | 0.159s βŒ›οΈ | -| testMultipleMiddlewareGetArray | βœ… | | πŸ”€ | 0.153s βŒ›οΈ | -| testMultipleMiddlewareGetArrayOptionalParameters | βœ… | | πŸ”€ | 0.163s βŒ›οΈ | -| testMultipleMiddlewareGetArrayParameters | βœ… | | πŸ”€ | 0.158s βŒ›οΈ | -| testMultipleMiddlewareGetIdentifier | βœ… | | πŸ”€ | 0.156s βŒ›οΈ | -| testMultipleMiddlewareGetIdentifierCodableArray | βœ… | | πŸ”€ | 0.153s βŒ›οΈ | -| testMultipleMiddlewareGetSingleton | βœ… | | πŸ”€ | 0.155s βŒ›οΈ | -| testMultipleMiddlewareGetSingletonParameters | βœ… | | πŸ”€ | 0.161s βŒ›οΈ | -| testMultipleMiddlewarePatch | βœ… | | πŸ”€ | 6.187s βŒ›οΈ | -| testMultipleMiddlewarePost | βœ… | | πŸ”€ | 0.159s βŒ›οΈ | -| testMultipleMiddlewarePostIdentifier | βœ… | | πŸ”€ | 0.156s βŒ›οΈ | -| testMultipleMiddlewarePut | βœ… | | πŸ”€ | 6.181s βŒ›οΈ | -| testSingleMiddlewareDelete | βœ… | | πŸ”€ | 0.113s βŒ›οΈ | -| testSingleMiddlewareDeleteIdentifier | βœ… | | πŸ”€ | 0.102s βŒ›οΈ | -| testSingleMiddlewareDeleteOptionalParameters | βœ… | | πŸ”€ | 0.113s βŒ›οΈ | -| testSingleMiddlewareDeleteParameters | βœ… | | πŸ”€ | 0.112s βŒ›οΈ | -| testSingleMiddlewareGetArray | βœ… | | πŸ”€ | 0.104s βŒ›οΈ | -| testSingleMiddlewareGetArrayOptionalParameters | βœ… | | πŸ”€ | 0.154s βŒ›οΈ | -| testSingleMiddlewareGetArrayParameters | βœ… | | πŸ”€ | 0.112s βŒ›οΈ | -| testSingleMiddlewareGetIdentifier | βœ… | | πŸ”€ | 0.104s βŒ›οΈ | -| testSingleMiddlewareGetIdentifierCodableArray | βœ… | | πŸ”€ | 0.106s βŒ›οΈ | -| testSingleMiddlewareGetSingleton | βœ… | | πŸ”€ | 0.104s βŒ›οΈ | -| testSingleMiddlewareGetSingletonParameters | βœ… | | πŸ”€ | 0.115s βŒ›οΈ | -| testSingleMiddlewarePatch | βœ… | | πŸ”€ | 4.127s βŒ›οΈ | -| testSingleMiddlewarePost | βœ… | | πŸ”€ | 0.11s βŒ›οΈ | -| testSingleMiddlewarePostIdentifier | βœ… | | πŸ”€ | 0.108s βŒ›οΈ | -| testSingleMiddlewarePut | βœ… | | πŸ”€ | 4.133s βŒ›οΈ | +MiscellaneousTests: 2 tests were completed in 0.095 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testHeaders | βœ… |0.095s βŒ›οΈ | +| testHeadersHelpers | βœ… |0.0s βŒ›οΈ | + +TestBridgingHTTPStatusCode: 1 tests were completed in 0.126 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testSimpleResponse | βœ… |0.126s βŒ›οΈ | + +TestBridgingRequestError: 1 tests were completed in 0.053 with 1 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testRequestError | βœ… |0.053s βŒ›οΈ | + +TestCodableRouter: 25 tests were completed in 36.36 with 25 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testBasicDelete | βœ… |0.158s βŒ›οΈ | +| testBasicDeleteSingle | βœ… |0.155s βŒ›οΈ | +| testBasicGetArray | βœ… |0.153s βŒ›οΈ | +| testBasicGetIdentifiersArray | βœ… |0.208s βŒ›οΈ | +| testBasicGetSingle | βœ… |0.16s βŒ›οΈ | +| testBasicGetSingleton | βœ… |0.158s βŒ›οΈ | +| testBasicPatch | βœ… |6.195s βŒ›οΈ | +| testBasicPost | βœ… |0.364s βŒ›οΈ | +| testBasicPostIdentifier | βœ… |0.163s βŒ›οΈ | +| testBasicPut | βœ… |6.194s βŒ›οΈ | +| testCodableDeleteQueryParameters | βœ… |0.291s βŒ›οΈ | +| testCodableGetArrayQueryParameters | βœ… |0.285s βŒ›οΈ | +| testCodableGetSingleQueryParameters | βœ… |0.292s βŒ›οΈ | +| testCodablePostSuccessStatuses | βœ… |0.158s βŒ›οΈ | +| testCodableRoutesWithBodyParsingFail | βœ… |4.194s βŒ›οΈ | +| testErrorOverridesBody | βœ… |8.488s βŒ›οΈ | +| testIdentifierNotExpected | βœ… |0.05s βŒ›οΈ | +| testIdentifierNotSupplied | βœ… |0.053s βŒ›οΈ | +| testInvalidIdentifierSupplied | βœ… |0.052s βŒ›οΈ | +| testJoinPath | βœ… |0.001s βŒ›οΈ | +| testNoDataCustomStatus | βœ… |2.124s βŒ›οΈ | +| testNoDataDefaultStatus | βœ… |2.122s βŒ›οΈ | +| testPartialIdentifierSupplied | βœ… |0.054s βŒ›οΈ | +| testRouteParameters | βœ… |0.05s βŒ›οΈ | +| testRouteWithTrailingSlash | βœ… |4.238s βŒ›οΈ | + +TestContentType: 3 tests were completed in 0.0 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testFilename | βœ… |0.0s βŒ›οΈ | +| testInitialize | βœ… |0.0s βŒ›οΈ | +| testIsContentType | βœ… |0.0s βŒ›οΈ | + +TestCookies: 5 tests were completed in 0.36 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCookieFromServer | βœ… |0.111s βŒ›οΈ | +| testCookieToServerWithSemiColonSeparator | βœ… |0.053s βŒ›οΈ | +| testCookieToServerWithSemiColonSpaceSeparator | βœ… |0.054s βŒ›οΈ | +| testCookieToServerWithSemiColonWhitespacesSeparator | βœ… |0.049s βŒ›οΈ | +| testNoCookies | βœ… |0.093s βŒ›οΈ | + +TestCustomCoders: 3 tests were completed in 0.46599999999999997 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCustomCoder | βœ… |0.108s βŒ›οΈ | +| testCustomQueryEncoder | βœ… |0.253s βŒ›οΈ | +| testRawCustomCoder | βœ… |0.105s βŒ›οΈ | + +TestDecodingErrorExtension: 4 tests were completed in 0.0 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testMalformedJson | βœ… |0.0s βŒ›οΈ | +| testMissingRequiredKey | βœ… |0.0s βŒ›οΈ | +| testMissingValue | βœ… |0.0s βŒ›οΈ | +| testWrongType | βœ… |0.0s βŒ›οΈ | + +TestErrors: 3 tests were completed in 0.153 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testInvalidEndpoint | βœ… |0.05s βŒ›οΈ | +| testInvalidHeader | βœ… |0.049s βŒ›οΈ | +| testInvalidMethod | βœ… |0.054s βŒ›οΈ | + +TestMediaType: 10 tests were completed in 0.0 with 10 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAllTextMediaTypeBuilder | βœ… |0.0s βŒ›οΈ | +| testAllTextSlashMediaTypeBuilder | βœ… |0.0s βŒ›οΈ | +| testHTMLMediaTypeBuilder | βœ… |0.0s βŒ›οΈ | +| testIncorrectTopLevelType | βœ… |0.0s βŒ›οΈ | +| testInvalidMediaType | βœ… |0.0s βŒ›οΈ | +| testMediaCaseInsensitive | βœ… |0.0s βŒ›οΈ | +| testPartsAllTextMediaTypeBuilder | βœ… |0.0s βŒ›οΈ | +| testPartsHTMLMediaTypeBuilder | βœ… |0.0s βŒ›οΈ | +| testPartsMediaCaseInsensitive | βœ… |0.0s βŒ›οΈ | +| testValidMediaType | βœ… |0.0s βŒ›οΈ | + +TestMultiplicity: 4 tests were completed in 0.594 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCombined | βœ… |0.148s βŒ›οΈ | +| testPlus | βœ… |0.151s βŒ›οΈ | +| testQuestion | βœ… |0.146s βŒ›οΈ | +| testStar | βœ… |0.149s βŒ›οΈ | + +TestRangeHeaderDataExtensions: 3 tests were completed in 0.012 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testPartialDataRead | βœ… |0.008s βŒ›οΈ | +| testPartialDataReadEntireFile | βœ… |0.002s βŒ›οΈ | +| testPartialDataReadWithErrorFileNotFound | βœ… |0.002s βŒ›οΈ | + +TestRangeHeaderParser: 17 tests were completed in 0.001 with 17 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testIsBytesRangeHeader | βœ… |0.0s βŒ›οΈ | +| testParseString | βœ… |0.001s βŒ›οΈ | +| testReturnNilOnInvalidNonDigitsRanges | βœ… |0.0s βŒ›οΈ | +| testReturnNilOnInvalidRanges | βœ… |0.0s βŒ›οΈ | +| testReturnNilOnMalformedHeader | βœ… |0.0s βŒ›οΈ | +| testShouldCapEndAtSize | βœ… |0.0s βŒ›οΈ | +| testShouldCombineOverlappingRanges | βœ… |0.0s βŒ›οΈ | +| testShouldCombineOverlappingRangesAndRetainOriginalOrder | βœ… |0.0s βŒ›οΈ | +| testShouldParseNonBytesRange | βœ… |0.0s βŒ›οΈ | +| testShouldParseNormalString | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringAskingForLastByte | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringWithBytesEqualZeroZero | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringWithMultipleRanges | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringWithOnlyEnd | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringWithOnlyStart | βœ… |0.0s βŒ›οΈ | +| testShouldParseStringWithSomeInvalidRanges | βœ… |0.0s βŒ›οΈ | +| testShouldParseWithStartBytesEqualtToZero | βœ… |0.0s βŒ›οΈ | + +TestRequests: 8 tests were completed in 0.612 with 8 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCustomMiddlewareURLParameter | βœ… |0.051s βŒ›οΈ | +| testCustomMiddlewareURLParameterWithQueryParam | βœ… |0.052s βŒ›οΈ | +| testMultipleParametersMultipleHandlers | βœ… |0.098s βŒ›οΈ | +| testOneParameterMultipleHandlers | βœ… |0.053s βŒ›οΈ | +| testParameterExit | βœ… |0.097s βŒ›οΈ | +| testParameters | βœ… |0.097s βŒ›οΈ | +| testQueryParameters | βœ… |0.111s βŒ›οΈ | +| testRouteParameters | βœ… |0.053s βŒ›οΈ | + +TestResponse: 35 tests were completed in 7.216 with 35 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAcceptEncodingTypes | βœ… |0.1s βŒ›οΈ | +| testAcceptTypes | βœ… |0.105s βŒ›οΈ | +| testChangeStatusCodeOnInvokedSend | βœ… |0.1s βŒ›οΈ | +| testEmptyHandler | βœ… |0.05s βŒ›οΈ | +| testErrorHandler | βœ… |0.05s βŒ›οΈ | +| testFormat | βœ… |0.15s βŒ›οΈ | +| testHeaderModifiers | βœ… |0.058s βŒ›οΈ | +| testJsonp | βœ… |0.25s βŒ›οΈ | +| testLargeGet | βœ… |0.089s βŒ›οΈ | +| testLargePost | βœ… |2.146s βŒ›οΈ | +| testLifecycle | βœ… |0.05s βŒ›οΈ | +| testLink | βœ… |0.104s βŒ›οΈ | +| testMultipartFormParsing | βœ… |0.207s βŒ›οΈ | +| testOptionalStringNilResponse | βœ… |0.053s βŒ›οΈ | +| testOptionalStringResponse | βœ… |0.055s βŒ›οΈ | +| testParameters | βœ… |0.048s βŒ›οΈ | +| testParametersPercent20InPath | βœ… |0.05s βŒ›οΈ | +| testParametersPercent20InQuery | βœ… |0.05s βŒ›οΈ | +| testParametersPercentageEncoding | βœ… |0.046s βŒ›οΈ | +| testParametersPlusInPath | βœ… |0.052s βŒ›οΈ | +| testParametersPlusInQuery | βœ… |0.05s βŒ›οΈ | +| testPostJSONRequest | βœ… |0.054s βŒ›οΈ | +| testPostRequest | βœ… |0.054s βŒ›οΈ | +| testPostRequestTheHardWay | βœ… |0.05s βŒ›οΈ | +| testPostRequestUrlEncoded | βœ… |0.157s βŒ›οΈ | +| testPostRequestWithDoubleBodyParser | βœ… |0.048s βŒ›οΈ | +| testRawDataPost | βœ… |2.061s βŒ›οΈ | +| testRedirect | βœ… |0.094s βŒ›οΈ | +| testResponseNoEndOrNext | βœ… |0.053s βŒ›οΈ | +| testRouteFunc | βœ… |0.107s βŒ›οΈ | +| testSend | βœ… |0.37s βŒ›οΈ | +| testSendAfterEnd | βœ… |0.051s βŒ›οΈ | +| testSimpleResponse | βœ… |0.049s βŒ›οΈ | +| testSubdomains | βœ… |0.155s βŒ›οΈ | +| testUserInfo | βœ… |0.05s βŒ›οΈ | + +TestRouteRegex: 7 tests were completed in 2.7859999999999996 with 7 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testBuildRegexFromPattern | βœ… |0.001s βŒ›οΈ | +| testCustomMatchesWithModifiers | βœ… |1.102s βŒ›οΈ | +| testRouteWithPercentEncoding | βœ… |0.051s βŒ›οΈ | +| testSimpleCustomMatches | βœ… |0.199s βŒ›οΈ | +| testSimpleMatches | βœ… |0.254s βŒ›οΈ | +| testSimpleModifiers | βœ… |0.786s βŒ›οΈ | +| testSimplePaths | βœ… |0.393s βŒ›οΈ | + +TestRouterHTTPVerbsGenerated: 4 tests were completed in 0.004 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testFirstTypeVerbsAdded | βœ… |0.001s βŒ›οΈ | +| testFourthTypeVerbsAdded | βœ… |0.001s βŒ›οΈ | +| testSecondTypeVerbsAdded | βœ… |0.001s βŒ›οΈ | +| testThirdTypeVerbsAdded | βœ… |0.001s βŒ›οΈ | + +TestServer: 4 tests were completed in 20.392 with 2 passed, 2 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testServerFail | βœ… |0.04s βŒ›οΈ | +| testServerRestart | βœ… |0.175s βŒ›οΈ | +| testServerRun | ❌ |10.169s βŒ›οΈ | +| testServerStartStop | ❌ | 10.008s βŒ›οΈ | + +TestStack: 2 tests were completed in 0.0 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testEmpty | βœ… |0.0s βŒ›οΈ | +| testPushPop | βœ… |0.0s βŒ›οΈ | + +TestStaticFileServer: 30 tests were completed in 2.3390000000000004 with 30 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAbsolutePathFunction | βœ… |0.0s βŒ›οΈ | +| testAbsoluteRootPath | βœ… |0.0s βŒ›οΈ | +| testDataIsNotCorrupted | βœ… |0.195s βŒ›οΈ | +| testFileServer | βœ… |0.496s βŒ›οΈ | +| testGetDefaultResponse | βœ… |0.05s βŒ›οΈ | +| testGetKituraResource | βœ… |0.052s βŒ›οΈ | +| testGetMissingKituraResource | βœ… |0.056s βŒ›οΈ | +| testGetTraversedFile | βœ… |0.047s βŒ›οΈ | +| testGetTraversedFileKituraResource | βœ… |0.047s βŒ›οΈ | +| testGetWithSpecialCharacters | βœ… |0.052s βŒ›οΈ | +| testGetWithSpecialCharactersEncoded | βœ… |0.051s βŒ›οΈ | +| testGetWithWhiteSpaces | βœ… |0.051s βŒ›οΈ | +| testParameterizedSubRouterSubFolderStaticFileServer | βœ… |0.089s βŒ›οΈ | +| testParameterizedSubRouterSubFolderStaticFileServerRedirect | βœ… |0.118s βŒ›οΈ | +| testRangeRequestIsIgnoredOnNonGetMethod | βœ… |0.052s βŒ›οΈ | +| testRangeRequestIsIgnoredOnOptionOff | βœ… |0.053s βŒ›οΈ | +| testRangeRequests | βœ… |0.052s βŒ›οΈ | +| testRangeRequestsWithLargeLastBytePos | βœ… |0.05s βŒ›οΈ | +| testRangeRequestsWithMultipleRanges | βœ… |0.056s βŒ›οΈ | +| testRangeRequestWithIfRangeHeaderAsLastModified | βœ… |0.099s βŒ›οΈ | +| testRangeRequestWithIfRangeHeaderAsOldLastModified | βœ… |0.05s βŒ›οΈ | +| testRangeRequestWithIfRangeHeaderWithETag | βœ… |0.117s βŒ›οΈ | +| testRangeRequestWithIfRangeHeaderWithOldETag | βœ… |0.055s βŒ›οΈ | +| testRangeRequestWithNotSatisfiableRange | βœ… |0.057s βŒ›οΈ | +| testRangeRequestWithSintacticallyInvalidRange | βœ… |0.067s βŒ›οΈ | +| testSubRouterStaticFileServer | βœ… |0.052s βŒ›οΈ | +| testSubRouterStaticFileServerRedirect | βœ… |0.085s βŒ›οΈ | +| testSubRouterSubFolderStaticFileServer | βœ… |0.052s βŒ›οΈ | +| testSubRouterSubFolderStaticFileServerRedirect | βœ… |0.089s βŒ›οΈ | +| testWelcomePageCanBeDisabled | βœ… |0.049s βŒ›οΈ | + +TestSubrouter: 5 tests were completed in 0.502 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testExternSub | βœ… |0.1s βŒ›οΈ | +| testMergeParams | βœ… |0.155s βŒ›οΈ | +| testMultipleMiddleware | βœ… |0.051s βŒ›οΈ | +| testSimpleSub | βœ… |0.097s βŒ›οΈ | +| testSubSubs | βœ… |0.099s βŒ›οΈ | + +TestSwaggerGeneration: 9 tests were completed in 0.99 with 9 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testArrayReturnTypes | βœ… |0.101s βŒ›οΈ | +| testBasePath | βœ… |0.095s βŒ›οΈ | +| testInfo | βœ… |0.095s βŒ›οΈ | +| testInputTypesModelled | βœ… |0.172s βŒ›οΈ | +| testNestedTypesModelled | βœ… |0.1s βŒ›οΈ | +| testSwaggerContent | βœ… |0.1s βŒ›οΈ | +| testSwaggerDefinitions | βœ… |0.102s βŒ›οΈ | +| testSwaggerQueryParams | βœ… |0.104s βŒ›οΈ | +| testSwaggerVersion | βœ… |0.121s βŒ›οΈ | + +TestTemplateEngine: 23 tests were completed in 0.37999999999999995 with 23 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAddWithFileExtensions | βœ… |0.001s βŒ›οΈ | +| testAddWithFileExtensionsWithoutTheDefaultOne | βœ… |0.001s βŒ›οΈ | +| testCodableAddWithFileExtensions | βœ… |0.001s βŒ›οΈ | +| testCodableAddWithFileExtensionsWithoutTheDefaultOne | βœ… |0.001s βŒ›οΈ | +| testCodableRender | βœ… |0.001s βŒ›οΈ | +| testCodableRenderWithExtensionAndWithoutDefaultTemplateEngine | βœ… |0.001s βŒ›οΈ | +| testCodableRenderWithExtensionAndWithoutDefaultTemplateEngineAfterSettingViewsPath | βœ… |0.001s βŒ›οΈ | +| testCodableRenderWithOptionsWithServer | βœ… |0.052s βŒ›οΈ | +| testCodableRenderWithServer | βœ… |0.051s βŒ›οΈ | +| testCodableRenderWithServerAndSubRouter | βœ… |0.053s βŒ›οΈ | +| testCodableRenderWithTuple | βœ… |0.051s βŒ›οΈ | +| testEmptyTemplateName | βœ… |0.001s βŒ›οΈ | +| testEmptyTemplateNameCodable | βœ… |0.001s βŒ›οΈ | +| testMissingExtension | βœ… |0.001s βŒ›οΈ | +| testMissingExtensionCodable | βœ… |0.001s βŒ›οΈ | +| testNoDefaultEngine | βœ… |0.001s βŒ›οΈ | +| testNoDefaultEngineCodable | βœ… |0.001s βŒ›οΈ | +| testRender | βœ… |0.001s βŒ›οΈ | +| testRenderWithExtensionAndWithoutDefaultTemplateEngine | βœ… |0.001s βŒ›οΈ | +| testRenderWithExtensionAndWithoutDefaultTemplateEngineAfterSettingViewsPath | βœ… |0.001s βŒ›οΈ | +| testRenderWithOptionsWithServer | βœ… |0.052s βŒ›οΈ | +| testRenderWithServer | βœ… |0.054s βŒ›οΈ | +| testRenderWithServerAndSubRouter | βœ… |0.051s βŒ›οΈ | + +TestTypeSafeMiddleware: 33 tests were completed in 28.692999999999994 with 33 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCustomCoder | βœ… |4.24s βŒ›οΈ | +| testCustomCoderGet | βœ… |0.294s βŒ›οΈ | +| testMiddlewareLogging | βœ… |0.059s βŒ›οΈ | +| testMultipleMiddlewareDelete | βœ… |0.163s βŒ›οΈ | +| testMultipleMiddlewareDeleteIdentifier | βœ… |0.164s βŒ›οΈ | +| testMultipleMiddlewareDeleteOptionalParameters | βœ… |0.115s βŒ›οΈ | +| testMultipleMiddlewareDeleteParameters | βœ… |0.159s βŒ›οΈ | +| testMultipleMiddlewareGetArray | βœ… |0.153s βŒ›οΈ | +| testMultipleMiddlewareGetArrayOptionalParameters | βœ… |0.163s βŒ›οΈ | +| testMultipleMiddlewareGetArrayParameters | βœ… |0.158s βŒ›οΈ | +| testMultipleMiddlewareGetIdentifier | βœ… |0.156s βŒ›οΈ | +| testMultipleMiddlewareGetIdentifierCodableArray | βœ… |0.153s βŒ›οΈ | +| testMultipleMiddlewareGetSingleton | βœ… |0.155s βŒ›οΈ | +| testMultipleMiddlewareGetSingletonParameters | βœ… |0.161s βŒ›οΈ | +| testMultipleMiddlewarePatch | βœ… |6.187s βŒ›οΈ | +| testMultipleMiddlewarePost | βœ… |0.159s βŒ›οΈ | +| testMultipleMiddlewarePostIdentifier | βœ… |0.156s βŒ›οΈ | +| testMultipleMiddlewarePut | βœ… |6.181s βŒ›οΈ | +| testSingleMiddlewareDelete | βœ… |0.113s βŒ›οΈ | +| testSingleMiddlewareDeleteIdentifier | βœ… |0.102s βŒ›οΈ | +| testSingleMiddlewareDeleteOptionalParameters | βœ… |0.113s βŒ›οΈ | +| testSingleMiddlewareDeleteParameters | βœ… |0.112s βŒ›οΈ | +| testSingleMiddlewareGetArray | βœ… |0.104s βŒ›οΈ | +| testSingleMiddlewareGetArrayOptionalParameters | βœ… |0.154s βŒ›οΈ | +| testSingleMiddlewareGetArrayParameters | βœ… |0.112s βŒ›οΈ | +| testSingleMiddlewareGetIdentifier | βœ… |0.104s βŒ›οΈ | +| testSingleMiddlewareGetIdentifierCodableArray | βœ… |0.106s βŒ›οΈ | +| testSingleMiddlewareGetSingleton | βœ… |0.104s βŒ›οΈ | +| testSingleMiddlewareGetSingletonParameters | βœ… |0.115s βŒ›οΈ | +| testSingleMiddlewarePatch | βœ… |4.127s βŒ›οΈ | +| testSingleMiddlewarePost | βœ… |0.11s βŒ›οΈ | +| testSingleMiddlewarePostIdentifier | βœ… |0.108s βŒ›οΈ | +| testSingleMiddlewarePut | βœ… |4.133s βŒ›οΈ | diff --git a/Tests/Assets/md/PromiseFailure.md b/Tests/Assets/md/PromiseFailure.md index 5064a05..bd3e2a3 100644 --- a/Tests/Assets/md/PromiseFailure.md +++ b/Tests/Assets/md/PromiseFailure.md @@ -1,120 +1,120 @@ -ExecutionContextTests: 6 tests were completed in 18.541 with 6 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testConcurrency | βœ… | | πŸ”€ | 15.354s βŒ›οΈ | -| testInvalidatableQueueSupportsNonMainQueues | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testInvalidatedInvalidatableQueue | βœ… | | πŸ”€ | 0.102s βŒ›οΈ | -| testNonInvalidatedInvalidatableQueue | βœ… | | πŸ”€ | 0.007s βŒ›οΈ | -| testTapContinuesToFireInvalidatableQueue | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThreads | βœ… | | πŸ”€ | 3.075s βŒ›οΈ | - -PromiseAllTests: 5 tests were completed in 0.271 with 5 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAll | βœ… | | πŸ”€ | 0.108s βŒ›οΈ | -| testAllWithEmptyArray | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testAllWithPreFulfilledValues | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testAllWithRejectionHappeningFirst | βœ… | | πŸ”€ | 0.058s βŒ›οΈ | -| testAllWithRejectionHappeningLast | βœ… | | πŸ”€ | 0.103s βŒ›οΈ | - -PromiseAlwaysTests: 4 tests were completed in 1.024 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAlways | βœ… | | πŸ”€ | 0.507s βŒ›οΈ | -| testAlwaysInstantFulfill | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testAlwaysInstantReject | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testAlwaysRejects | βœ… | | πŸ”€ | 0.515s βŒ›οΈ | - -PromiseDelayTests: 4 tests were completed in 0.9360000000000002 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testDelay | βœ… | | πŸ”€ | 0.202s βŒ›οΈ | -| testTimeoutFunctionFails | βœ… | | πŸ”€ | 0.519s βŒ›οΈ | -| testTimeoutFunctionSucceeds | βœ… | | πŸ”€ | 0.012s βŒ›οΈ | -| testTimeoutPromise | βœ… | | πŸ”€ | 0.203s βŒ›οΈ | - -PromiseEnsureTests: 3 tests were completed in 0.003 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testEnsureOnlyCalledOnSucceess | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testEnsureRejects | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testEnsureSucceeds | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | - -PromiseKickoffTests: 3 tests were completed in 0.104 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testFailingKickoff | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testKickoff | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testPromiseKickoff | βœ… | | πŸ”€ | 0.102s βŒ›οΈ | - -PromiseRaceTests: 4 tests were completed in 0.111 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testInstantReject | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testInstantResolve | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRace | βœ… | | πŸ”€ | 0.056s βŒ›οΈ | -| testRaceFailure | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | - -PromiseRecoverTests: 6 tests were completed in 0.423 with 6 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testIgnoreRecover | βœ… | | πŸ”€ | 0.107s βŒ›οΈ | -| testIgnoreRecoverInstant | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRecover | βœ… | | πŸ”€ | 0.105s βŒ›οΈ | -| testRecoverInstant | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRecoverWithThrowingFunction | βœ… | | πŸ”€ | 0.106s βŒ›οΈ | -| testRecoverWithThrowingFunctionError | βœ… | | πŸ”€ | 0.103s βŒ›οΈ | - -PromiseRetryTests: 3 tests were completed in 0.005 with 3 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testRetry | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testRetryWithInstantSuccess | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRetryWithNeverSuccess | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | - -PromiseTests: 17 tests were completed in 0.503 with 16 passed, 1 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAsync | βœ… | | πŸ”€ | 0.056s βŒ›οΈ | -| testAsyncRejection | βœ… | | πŸ”€ | 0.052s βŒ›οΈ | -| testAsyncThrowing | βœ… | | πŸ”€ | 0.002s βŒ›οΈ | -| testDoubleReject | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testDoubleResolve | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testFlatMap | βœ… | | πŸ”€ | 0.108s βŒ›οΈ | -| testFulfilled | βœ… | | πŸ”€ | 0.053s βŒ›οΈ | -| testMap | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testPending | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRejected | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testRejectedAfterFulfilled | βœ… | | πŸ”€ | 0.051s βŒ›οΈ | -| testRejectThenResolve | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testResolveThenReject | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThen | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThenWhenPending | βœ… | | πŸ”€ | 0.054s βŒ›οΈ | -| testTrailingClosuresCompile | βœ… | | πŸ”€ | 0.107s βŒ›οΈ | -| testZalgoContained | | ❌ | πŸ”€ | 0.012s βŒ›οΈ | - -PromiseThrowsTests: 4 tests were completed in 0.004 with 4 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testThrowsInFlatmapping | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThrowsInFlatmappingWithError | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThrowsInMapping | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testThrowsInMappingWithError | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | - -PromiseZipTests: 2 tests were completed in 0.007 with 2 passed, 0 failed and 0 skipped. - -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testMultipleParameters | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testZipping2 | βœ… | | πŸ”€ | 0.006s βŒ›οΈ | +ExecutionContextTests: 6 tests were completed in 18.541 with 6 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testConcurrency | βœ… |15.354s βŒ›οΈ | +| testInvalidatableQueueSupportsNonMainQueues | βœ… |0.002s βŒ›οΈ | +| testInvalidatedInvalidatableQueue | βœ… |0.102s βŒ›οΈ | +| testNonInvalidatedInvalidatableQueue | βœ… |0.007s βŒ›οΈ | +| testTapContinuesToFireInvalidatableQueue | βœ… |0.001s βŒ›οΈ | +| testThreads | βœ… |3.075s βŒ›οΈ | + +PromiseAllTests: 5 tests were completed in 0.271 with 5 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAll | βœ… |0.108s βŒ›οΈ | +| testAllWithEmptyArray | βœ… |0.001s βŒ›οΈ | +| testAllWithPreFulfilledValues | βœ… |0.001s βŒ›οΈ | +| testAllWithRejectionHappeningFirst | βœ… |0.058s βŒ›οΈ | +| testAllWithRejectionHappeningLast | βœ… |0.103s βŒ›οΈ | + +PromiseAlwaysTests: 4 tests were completed in 1.024 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAlways | βœ… |0.507s βŒ›οΈ | +| testAlwaysInstantFulfill | βœ… |0.001s βŒ›οΈ | +| testAlwaysInstantReject | βœ… |0.001s βŒ›οΈ | +| testAlwaysRejects | βœ… |0.515s βŒ›οΈ | + +PromiseDelayTests: 4 tests were completed in 0.9360000000000002 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testDelay | βœ… |0.202s βŒ›οΈ | +| testTimeoutFunctionFails | βœ… |0.519s βŒ›οΈ | +| testTimeoutFunctionSucceeds | βœ… |0.012s βŒ›οΈ | +| testTimeoutPromise | βœ… |0.203s βŒ›οΈ | + +PromiseEnsureTests: 3 tests were completed in 0.003 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testEnsureOnlyCalledOnSucceess | βœ… |0.001s βŒ›οΈ | +| testEnsureRejects | βœ… |0.001s βŒ›οΈ | +| testEnsureSucceeds | βœ… |0.001s βŒ›οΈ | + +PromiseKickoffTests: 3 tests were completed in 0.104 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testFailingKickoff | βœ… |0.001s βŒ›οΈ | +| testKickoff | βœ… |0.001s βŒ›οΈ | +| testPromiseKickoff | βœ… |0.102s βŒ›οΈ | + +PromiseRaceTests: 4 tests were completed in 0.111 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testInstantReject | βœ… |0.001s βŒ›οΈ | +| testInstantResolve | βœ… |0.001s βŒ›οΈ | +| testRace | βœ… |0.056s βŒ›οΈ | +| testRaceFailure | βœ… |0.053s βŒ›οΈ | + +PromiseRecoverTests: 6 tests were completed in 0.423 with 6 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testIgnoreRecover | βœ… |0.107s βŒ›οΈ | +| testIgnoreRecoverInstant | βœ… |0.001s βŒ›οΈ | +| testRecover | βœ… |0.105s βŒ›οΈ | +| testRecoverInstant | βœ… |0.001s βŒ›οΈ | +| testRecoverWithThrowingFunction | βœ… |0.106s βŒ›οΈ | +| testRecoverWithThrowingFunctionError | βœ… |0.103s βŒ›οΈ | + +PromiseRetryTests: 3 tests were completed in 0.005 with 3 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testRetry | βœ… |0.002s βŒ›οΈ | +| testRetryWithInstantSuccess | βœ… |0.001s βŒ›οΈ | +| testRetryWithNeverSuccess | βœ… |0.002s βŒ›οΈ | + +PromiseTests: 17 tests were completed in 0.503 with 16 passed, 1 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAsync | βœ… |0.056s βŒ›οΈ | +| testAsyncRejection | βœ… |0.052s βŒ›οΈ | +| testAsyncThrowing | βœ… |0.002s βŒ›οΈ | +| testDoubleReject | βœ… |0.001s βŒ›οΈ | +| testDoubleResolve | βœ… |0.001s βŒ›οΈ | +| testFlatMap | βœ… |0.108s βŒ›οΈ | +| testFulfilled | βœ… |0.053s βŒ›οΈ | +| testMap | βœ… |0.001s βŒ›οΈ | +| testPending | βœ… |0.001s βŒ›οΈ | +| testRejected | βœ… |0.001s βŒ›οΈ | +| testRejectedAfterFulfilled | βœ… |0.051s βŒ›οΈ | +| testRejectThenResolve | βœ… |0.001s βŒ›οΈ | +| testResolveThenReject | βœ… |0.001s βŒ›οΈ | +| testThen | βœ… |0.001s βŒ›οΈ | +| testThenWhenPending | βœ… |0.054s βŒ›οΈ | +| testTrailingClosuresCompile | βœ… |0.107s βŒ›οΈ | +| testZalgoContained | ❌ | 0.012s βŒ›οΈ | + +PromiseThrowsTests: 4 tests were completed in 0.004 with 4 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testThrowsInFlatmapping | βœ… |0.001s βŒ›οΈ | +| testThrowsInFlatmappingWithError | βœ… |0.001s βŒ›οΈ | +| testThrowsInMapping | βœ… |0.001s βŒ›οΈ | +| testThrowsInMappingWithError | βœ… |0.001s βŒ›οΈ | + +PromiseZipTests: 2 tests were completed in 0.007 with 2 passed, 0 failed. + +| Test case | Result | Time | +| :--- | ---: | ---: | +| testMultipleParameters | βœ… |0.001s βŒ›οΈ | +| testZipping2 | βœ… |0.006s βŒ›οΈ | diff --git a/Tests/Assets/md/PromiseUnexpectedFailure.md b/Tests/Assets/md/PromiseUnexpectedFailure.md index 28b4586..1abc1e9 100644 --- a/Tests/Assets/md/PromiseUnexpectedFailure.md +++ b/Tests/Assets/md/PromiseUnexpectedFailure.md @@ -1,5 +1,5 @@ -PromiseTests: 1 tests were completed in 0.021 with 0 passed, 1 failed and 0 skipped. +PromiseTests: 1 tests were completed in 0.021 with 0 passed, 1 failed. -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testUnexpected | | ❌ | πŸ”€ | 0.021s βŒ›οΈ | +| Test case | Result | Time | +| :--- | ---: | ---: | +| testUnexpected | ❌ | 0.021s βŒ›οΈ | diff --git a/Tests/Assets/md/Shell.md b/Tests/Assets/md/Shell.md index 798f730..9d1da1b 100644 --- a/Tests/Assets/md/Shell.md +++ b/Tests/Assets/md/Shell.md @@ -1,10 +1,10 @@ -ShellTests: 6 tests were completed in 2.497 with 6 passed, 0 failed and 0 skipped. +ShellTests: 6 tests were completed in 2.497 with 6 passed, 0 failed. -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAsyncRun | βœ… | | πŸ”€ | 2.172s βŒ›οΈ | -| testEnvironment | βœ… | | πŸ”€ | 0.065s βŒ›οΈ | -| testError | βœ… | | πŸ”€ | 0.065s βŒ›οΈ | -| testErrorHandler | βœ… | | πŸ”€ | 0.066s βŒ›οΈ | -| testOutput | βœ… | | πŸ”€ | 0.065s βŒ›οΈ | -| testOutputHandler | βœ… | | πŸ”€ | 0.064s βŒ›οΈ | +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAsyncRun | βœ… |2.172s βŒ›οΈ | +| testEnvironment | βœ… |0.065s βŒ›οΈ | +| testError | βœ… |0.065s βŒ›οΈ | +| testErrorHandler | βœ… |0.066s βŒ›οΈ | +| testOutput | βœ… |0.065s βŒ›οΈ | +| testOutputHandler | βœ… |0.064s βŒ›οΈ | diff --git a/Tests/Assets/md/ShellFailure.md b/Tests/Assets/md/ShellFailure.md index 52177ff..eb34256 100644 --- a/Tests/Assets/md/ShellFailure.md +++ b/Tests/Assets/md/ShellFailure.md @@ -1,11 +1,11 @@ -ShellTests: 7 tests were completed in 2.532 with 4 passed, 3 failed and 0 skipped. +ShellTests: 7 tests were completed in 2.532 with 4 passed, 3 failed. -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testAsyncRun | βœ… | | πŸ”€ | 2.143s βŒ›οΈ | -| testEnvironment | | ❌ | πŸ”€ | 0.067s βŒ›οΈ | -| testError | βœ… | | πŸ”€ | 0.064s βŒ›οΈ | -| testErrorHandler | βœ… | | πŸ”€ | 0.064s βŒ›οΈ | -| testOutput | | ❌ | πŸ”€ | 0.064s βŒ›οΈ | -| testOutputHandler | βœ… | | πŸ”€ | 0.064s βŒ›οΈ | -| testThrow | | ❌ | πŸ”€ | 0.066s βŒ›οΈ | +| Test case | Result | Time | +| :--- | ---: | ---: | +| testAsyncRun | βœ… |2.143s βŒ›οΈ | +| testEnvironment | ❌ | 0.067s βŒ›οΈ | +| testError | βœ… |0.064s βŒ›οΈ | +| testErrorHandler | βœ… |0.064s βŒ›οΈ | +| testOutput | ❌ | 0.064s βŒ›οΈ | +| testOutputHandler | βœ… |0.064s βŒ›οΈ | +| testThrow | ❌ | 0.066s βŒ›οΈ | diff --git a/Tests/Assets/md/ShellOutFailure.md b/Tests/Assets/md/ShellOutFailure.md index 4bb33eb..6ac18e5 100644 --- a/Tests/Assets/md/ShellOutFailure.md +++ b/Tests/Assets/md/ShellOutFailure.md @@ -1,18 +1,18 @@ -ShellOutTests: 14 tests were completed in 6.191999999999998 with 11 passed, 3 failed and 0 skipped. +ShellOutTests: 14 tests were completed in 6.191999999999998 with 11 passed, 3 failed. -| Test case | Passed | Failed | Skipped | Time | -| :--- | ---: | ---: | ---: | ---: | -| testCapturingErrorWithHandle | βœ… | | πŸ”€ | 0.269s βŒ›οΈ | -| testCapturingOutputWithHandle | βœ… | | πŸ”€ | 0.185s βŒ›οΈ | -| testErrorDescription | βœ… | | πŸ”€ | 0.001s βŒ›οΈ | -| testGitCommands | βœ… | | πŸ”€ | 1.833s βŒ›οΈ | -| testSeriesOfCommands | | ❌ | πŸ”€ | 0.169s βŒ›οΈ | -| testSeriesOfCommandsAtPath | βœ… | | πŸ”€ | 0.345s βŒ›οΈ | -| testSingleCommandAtPath | | ❌ | πŸ”€ | 0.336s βŒ›οΈ | -| testSingleCommandAtPathContainingSpace | βœ… | | πŸ”€ | 0.525s βŒ›οΈ | -| testSingleCommandAtPathContainingTilde | βœ… | | πŸ”€ | 0.165s βŒ›οΈ | -| testSwiftPackageManagerCommands | βœ… | | πŸ”€ | 1.665s βŒ›οΈ | -| testThrowingError | βœ… | | πŸ”€ | 0.188s βŒ›οΈ | -| testWithArguments | | ❌ | πŸ”€ | 0.18s βŒ›οΈ | -| testWithInlineArguments | βœ… | | πŸ”€ | 0.159s βŒ›οΈ | -| testWithoutArguments | βœ… | | πŸ”€ | 0.172s βŒ›οΈ | +| Test case | Result | Time | +| :--- | ---: | ---: | +| testCapturingErrorWithHandle | βœ… |0.269s βŒ›οΈ | +| testCapturingOutputWithHandle | βœ… |0.185s βŒ›οΈ | +| testErrorDescription | βœ… |0.001s βŒ›οΈ | +| testGitCommands | βœ… |1.833s βŒ›οΈ | +| testSeriesOfCommands | ❌ | 0.169s βŒ›οΈ | +| testSeriesOfCommandsAtPath | βœ… |0.345s βŒ›οΈ | +| testSingleCommandAtPath | ❌ | 0.336s βŒ›οΈ | +| testSingleCommandAtPathContainingSpace | βœ… |0.525s βŒ›οΈ | +| testSingleCommandAtPathContainingTilde | βœ… |0.165s βŒ›οΈ | +| testSwiftPackageManagerCommands | βœ… |1.665s βŒ›οΈ | +| testThrowingError | βœ… |0.188s βŒ›οΈ | +| testWithArguments | ❌ | 0.18s βŒ›οΈ | +| testWithInlineArguments | βœ… |0.159s βŒ›οΈ | +| testWithoutArguments | βœ… |0.172s βŒ›οΈ | diff --git a/Tests/TestifySDKTests/TestifyMarkdownTests.swift b/Tests/TestifySDKTests/TestifyMarkdownTests.swift index 54ce1e0..c3235f5 100644 --- a/Tests/TestifySDKTests/TestifyMarkdownTests.swift +++ b/Tests/TestifySDKTests/TestifyMarkdownTests.swift @@ -60,8 +60,8 @@ final class TestifyMarkdownTests: XCTestCase { let tests = Int(item.components(separatedBy: " tests were completed in ").filter { $0.contains(": ") }[0] .components(separatedBy: ": ")[1]) - let fails = Int(item.components(separatedBy: " passed, ").filter { $0.contains("failed and") }[0] - .components(separatedBy: " failed ")[0]) + let fails = Int(item.components(separatedBy: " passed, ").filter { $0.contains("failed.") }[0] + .components(separatedBy: " failed.")[0]) mdAllTests += tests ?? 0 mdAllFails += fails ?? 0 }