#include "components/web_package/web_bundle_parser_factory.h"
#include <optional>
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/path_service.h"
#include "base/ranges/algorithm.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_package {
namespace {
UnorderedElementsAreArray;
base::FilePath GetTestFilePath(const base::FilePath& path) { … }
}
class WebBundleParserFactoryTest : public testing::Test { … };
TEST_F(WebBundleParserFactoryTest, FileDataSource) { … }
TEST_F(WebBundleParserFactoryTest, GetParserForFile) { … }
TEST_F(WebBundleParserFactoryTest, GetParserForFileWithRelativeUrls) { … }
TEST_F(WebBundleParserFactoryTest, DeleteFile) { … }
}