chromium/components/offline_pages/core/model/offline_page_model_utils_unittest.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 "components/offline_pages/core/model/offline_page_model_utils.h"

#include <string_view>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/no_destructor.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "components/offline_pages/core/client_namespace_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace offline_pages {

TEST(OfflinePageModelUtilsTest, ToNamespaceEnum) {}

struct GenerateUniqueFilenameTestCase {};

const std::vector<GenerateUniqueFilenameTestCase>& UniqueFilenameCases() {}

// Crashing on Windows, see http://crbug.com/79365
#if BUILDFLAG(IS_WIN)
#define MAYBE_TestGenerateUniqueFilename
#else
#define MAYBE_TestGenerateUniqueFilename
#endif
TEST(OfflinePageModelUtilsTest, MAYBE_TestGenerateUniqueFilename) {}

}  // namespace offline_pages