#include "extensions/browser/file_reader.h"
#include <limits>
#include <optional>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/path_service.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "components/crx_file/id_util.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_paths.h"
#include "extensions/common/extension_resource.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
class FileReaderTest : public testing::Test { … };
class Receiver { … };
void RunBasicTest(const std::vector<std::string>& filenames) { … }
TEST_F(FileReaderTest, SmallFile) { … }
TEST_F(FileReaderTest, BiggerFile) { … }
TEST_F(FileReaderTest, MultiFile) { … }
TEST_F(FileReaderTest, NonExistentFile) { … }
TEST_F(FileReaderTest, AboveSizeLimitFile) { … }
}