#include "net/http/http_transaction_test_util.h"
#include <string>
#include <string_view>
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "net/base/test_completion_callback.h"
#include "net/test/gtest_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
const MockTransaction kBasicTransaction = …;
const size_t kDefaultBufferSize = …;
}
class MockNetworkTransactionTest : public ::testing::Test { … };
TEST_F(MockNetworkTransactionTest, Basic) { … }
TEST_F(MockNetworkTransactionTest, SyncNetStart) { … }
TEST_F(MockNetworkTransactionTest, AsyncNetStartFailure) { … }
TEST_F(MockNetworkTransactionTest, SyncNetStartFailure) { … }
TEST_F(MockNetworkTransactionTest, BeforeNetworkStartCallback) { … }
TEST_F(MockNetworkTransactionTest, BeforeNetworkStartCallbackDeferAndResume) { … }
TEST_F(MockNetworkTransactionTest, AsyncConnectedCallback) { … }
TEST_F(MockNetworkTransactionTest, AsyncConnectedCallbackFailure) { … }
TEST_F(MockNetworkTransactionTest, SyncConnectedCallback) { … }
TEST_F(MockNetworkTransactionTest, SyncConnectedCallbackFailure) { … }
TEST_F(MockNetworkTransactionTest, ModifyRequestHeadersCallback) { … }
TEST_F(MockNetworkTransactionTest, CallbackOrder) { … }
}