#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/network/parsed_content_header_field_parameters.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/network/header_field_tokenizer.h"
#include "third_party/blink/renderer/platform/network/parsed_content_disposition.h"
#include "third_party/blink/renderer/platform/network/parsed_content_type.h"
#include "third_party/blink/renderer/platform/wtf/text/case_map.h"
namespace blink {
namespace {
Mode;
void CheckValidity(bool expected,
const String& input,
Mode mode = Mode::kNormal) { … }
TEST(ParsedContentHeaderFieldParametersTest, Validity) { … }
TEST(ParsedContentHeaderFieldParametersTest, ParameterName) { … }
TEST(ParsedContentHeaderFieldParametersTest, RelaxedParameterName) { … }
TEST(ParsedContentHeaderFieldParametersTest, BeginEnd) { … }
TEST(ParsedContentHeaderFieldParametersTest, RBeginEnd) { … }
}
}