#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "chrome/browser/extensions/api/image_writer_private/tar_extractor.h"
#include "chrome/browser/extensions/api/image_writer_private/test_utils.h"
#include "chrome/browser/extensions/api/image_writer_private/xz_extractor.h"
#include "chrome/browser/extensions/api/image_writer_private/zip_extractor.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace image_writer {
class ExtractorTest : public testing::Test { … };
TEST_F(ExtractorTest, IsZipFile) { … }
TEST_F(ExtractorTest, IsTarFile) { … }
TEST_F(ExtractorTest, IsXzFile) { … }
}
}