Skip to content

Add end-to-end tests for async/await #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Tests/AsyncHTTPClientTests/AsyncAwaitEndToEndTests+XCTest.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the AsyncHTTPClient open source project
//
// Copyright (c) 2018-2019 Apple Inc. and the AsyncHTTPClient project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of AsyncHTTPClient project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
//
// AsyncAwaitEndToEndTests+XCTest.swift
//
import XCTest

///
/// NOTE: This file was generated by generate_linux_tests.rb
///
/// Do NOT edit this file directly as it will be regenerated automatically when needed.
///

extension AsyncAwaitEndToEndTests {
static var allTests: [(String, (AsyncAwaitEndToEndTests) -> () throws -> Void)] {
return [
("testSimpleGet", testSimpleGet),
("testSimplePost", testSimplePost),
("testPostWithByteBuffer", testPostWithByteBuffer),
("testPostWithSequenceOfUInt8", testPostWithSequenceOfUInt8),
("testPostWithCollectionOfUInt8", testPostWithCollectionOfUInt8),
("testPostWithRandomAccessCollectionOfUInt8", testPostWithRandomAccessCollectionOfUInt8),
("testPostWithAsyncSequenceOfByteBuffers", testPostWithAsyncSequenceOfByteBuffers),
("testPostWithAsyncSequenceOfUInt8", testPostWithAsyncSequenceOfUInt8),
("testPostWithFragmentedAsyncSequenceOfByteBuffers", testPostWithFragmentedAsyncSequenceOfByteBuffers),
("testPostWithFragmentedAsyncSequenceOfLargeByteBuffers", testPostWithFragmentedAsyncSequenceOfLargeByteBuffers),
("testCanceling", testCanceling),
("testDeadline", testDeadline),
("testInvalidURL", testInvalidURL),
]
}
}
Loading