chromium/chrome/updater/util/util_unittest.cc

// Copyright 2021 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/updater/util/util.h"

#include <cstdint>
#include <optional>
#include <sstream>
#include <string>

#include "base/command_line.h"
#include "base/files/file_enumerator.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/path_service.h"
#include "base/run_loop.h"
#include "base/sequence_checker.h"
#include "base/strings/strcat.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/scoped_command_line.h"
#include "base/test/task_environment.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/tag.h"
#include "chrome/updater/test/test_scope.h"
#include "chrome/updater/test/unit_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace updater {

struct UtilTagArgsTestCase {};

class UtilTagArgsTest : public ::testing::TestWithParam<UtilTagArgsTestCase> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(UtilTagArgsTest, AppArgsAndAP) {}

TEST_P(UtilTagArgsTest, GetTagArgsForCommandLine) {}

TEST(Util, WriteInstallerDataToTempFile) {}

TEST(Util, GetCrashDatabasePath) {}

TEST(Util, GetCrxDiffCacheDirectory) {}

TEST(Util, StreamEnumValue) {}

TEST(Util, DeleteExcept) {}

TEST(Util, CeilingDivide) {}

TEST(Util, OptionalBaseInsertion) {}

TEST(WinUtil, GetDownloadProgress) {}

TEST(Util, ToSignedIntegral) {}

}  // namespace updater