#include "third_party/blink/renderer/platform/loader/fetch/fetch_api_request_body_mojom_traits.h"
#include <tuple>
#include "base/test/task_environment.h"
#include "mojo/public/cpp/base/file_mojom_traits.h"
#include "mojo/public/cpp/base/file_path_mojom_traits.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h"
#include "third_party/blink/public/platform/file_path_conversion.h"
#include "third_party/blink/renderer/platform/blob/blob_data.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_request.h"
#include "third_party/blink/renderer/platform/network/form_data_encoder.h"
#include "third_party/blink/renderer/platform/network/wrapped_data_pipe_getter.h"
namespace blink {
namespace {
class FetchApiRequestBodyMojomTraitsTest : public testing::Test { … };
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripEmpty) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripBytes) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripFile) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripFileRange) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripBlobWithOpionalHandle) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripDataPipeGetter) { … }
TEST_F(FetchApiRequestBodyMojomTraitsTest, RoundTripStreamBody) { … }
}
}