chromium/components/update_client/unpacker_unittest.cc

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

#include "components/update_client/unpacker.h"

#include <iterator>
#include <utility>
#include <vector>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "components/crx_file/crx_verifier.h"
#include "components/services/unzip/in_process_unzipper.h"
#include "components/update_client/test_configurator.h"
#include "components/update_client/test_utils.h"
#include "components/update_client/unzip/unzip_impl.h"
#include "components/update_client/unzipper.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace update_client {

class UnpackerTest : public testing::Test {};

TEST_F(UnpackerTest, UnpackFullCrx) {}

TEST_F(UnpackerTest, UnpackFileNotFound) {}

// Tests a mismatch between the public key hash and the id of the component.
TEST_F(UnpackerTest, UnpackFileHashMismatch) {}

TEST_F(UnpackerTest, UnpackWithVerifiedContents) {}

}  // namespace update_client