#include "chrome/services/file_util/single_file_tar_xz_file_extractor.h"
#include <stdint.h>
#include <string>
#include <utility>
#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/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/services/file_util/public/mojom/constants.mojom.h"
#include "chrome/services/file_util/public/mojom/single_file_extractor.mojom.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace chrome {
StrictMock;
class SingleFileTarXzFileExtractorTest : public testing::Test { … };
class MockSingleFileExtractorListener
: public chrome::mojom::SingleFileExtractorListener { … };
TEST_F(SingleFileTarXzFileExtractorTest, Extract) { … }
TEST_F(SingleFileTarXzFileExtractorTest, ExtractNonExistentTarXz) { … }
TEST_F(SingleFileTarXzFileExtractorTest, ZeroByteFile) { … }
TEST_F(SingleFileTarXzFileExtractorTest, ExtractBigFile) { … }
TEST_F(SingleFileTarXzFileExtractorTest, CorruptedFile) { … }
}