chromium/components/feedback/feedback_util_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/feedback/feedback_util.h"

#include <string>

#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/files/scoped_temp_dir.h"
#include "base/json/json_writer.h"
#include "base/rand_util.h"
#include "base/test/values_test_util.h"
#include "components/feedback/feedback_report.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace feedback_util {

// Note: This file is excluded from win build.
// See https://crbug.com/1119560.
class FeedbackUtilTest : public ::testing::Test {};

TEST_F(FeedbackUtilTest, ReadEndOfFileEmpty) {}

TEST_F(FeedbackUtilTest, ReadEndOfFileSmall) {}

TEST_F(FeedbackUtilTest, ReadEndOfFileWithZeros) {}

TEST_F(FeedbackUtilTest, ReadEndOfFileMedium) {}

TEST_F(FeedbackUtilTest, LogsToStringShouldSkipFeedbackUserCtlConsentKey) {}

TEST_F(FeedbackUtilTest, RemoveUrlsFromAutofillData) {}

}  // namespace feedback_util