#include "net/base/mime_util.h"
#include <vector>
#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
Contains;
TEST(MimeUtilTest, GetWellKnownMimeTypeFromExtension) { … }
TEST(MimeUtilTest, ExtensionTest) { … }
TEST(MimeUtilTest, GetPreferredExtensionForMimeType) { … }
TEST(MimeUtilTest, FileTest) { … }
TEST(MimeUtilTest, MatchesMimeType) { … }
TEST(MimeUtilTest, TestParseMimeType) { … }
TEST(MimeUtilTest, TestParseMimeTypeWithoutParameter) { … }
class ExtractMIMETypeTestInvalid : public testing::TestWithParam<std::string> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(ExtractMIMETypeTestInvalid, MustFail) { … }
class ExtractMIMETypeTestValid : public testing::TestWithParam<std::string> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(ExtractMIMETypeTestValid, MustSucceed) { … }
TEST(MimeUtilTest, TestIsValidTopLevelMimeType) { … }
TEST(MimeUtilTest, TestGetExtensionsForMimeType) { … }
TEST(MimeUtilTest, TestGenerateMimeMultipartBoundary) { … }
TEST(MimeUtilTest, TestAddMultipartValueForUpload) { … }
TEST(MimeUtilTest, TestAddMultipartValueForUploadWithFileName) { … }
}