chromium/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h"

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/api/image_writer_private/operation.h"
#include "chrome/services/removable_storage_writer/public/mojom/removable_storage_writer.mojom.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_test.h"

namespace extensions {
namespace image_writer {

namespace {
constexpr int64_t kTestFileSize =;  // 32 kB
}  // namespace

class ImageWriterUtilityClientTest : public InProcessBrowserTest {};

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, WriteNoImage) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, WriteNoDevice) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, Write) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, WriteVerify) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, WriteCancel) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, VerifyNoImage) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, VerifyNoDevice) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, VerifyFailure) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, Verify) {}

IN_PROC_BROWSER_TEST_F(ImageWriterUtilityClientTest, VerifyCancel) {}

}  // namespace image_writer
}  // namespace extensions