#include "services/network/test/test_url_loader_factory.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/system/data_pipe_utils.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/test/test_url_loader_client.h"
#include "services/network/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
class TestURLLoaderFactoryTest : public testing::Test { … };
TEST_F(TestURLLoaderFactoryTest, Simple) { … }
TEST_F(TestURLLoaderFactoryTest, AddResponseAdvanced) { … }
TEST_F(TestURLLoaderFactoryTest, AddResponse404) { … }
TEST_F(TestURLLoaderFactoryTest, MultipleSameURL) { … }
TEST_F(TestURLLoaderFactoryTest, MultipleSameURL2) { … }
TEST_F(TestURLLoaderFactoryTest, Redirects) { … }
TEST_F(TestURLLoaderFactoryTest, IsPending) { … }
TEST_F(TestURLLoaderFactoryTest, IsPendingLoadFlags) { … }
TEST_F(TestURLLoaderFactoryTest, NumPending) { … }
TEST_F(TestURLLoaderFactoryTest, NumPending2) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponse) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponseWait) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponseMultipleRequests) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponseUrlMatch) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponseMostRecentMatch) { … }
TEST_F(TestURLLoaderFactoryTest, SimulateResponseNoRawHeadersByDefault) { … }
TEST_F(TestURLLoaderFactoryTest,
SimulateResponseWithoutRemovingFromPendingList) { … }
}