// Copyright 2023 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/posix_util.h" #include <sys/stat.h> #include <unistd.h> #include <string> #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h" #include "testing/gtest/include/gtest/gtest.h" namespace updater { namespace { std::string Read(const base::FilePath& path) { … } int Stat(const base::FilePath& path) { … } } // namespace TEST(UtilTest, CopyDir) { … } TEST(UtilTest, CopyDirPermissions) { … } } // namespace updater