chromium/chrome/browser/sync_file_system/file_change_unittest.cc

// Copyright 2013 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 "chrome/browser/sync_file_system/file_change.h"

#include <stddef.h>

#include "testing/gtest/include/gtest/gtest.h"

namespace sync_file_system {

namespace {

FileChange AddOrUpdateFile() {}

FileChange DeleteFile() {}

FileChange AddDirectory() {}

FileChange DeleteDirectory() {}

template <size_t INPUT_SIZE>
void CreateList(FileChangeList* list, const FileChange (&inputs)[INPUT_SIZE]) {}

template <size_t EXPECTED_SIZE>
void VerifyList(const FileChangeList& list,
                const FileChange (&expected)[EXPECTED_SIZE]) {}

}  // namespace

TEST(FileChangeListTest, UpdateSimple) {}

TEST(FileChangeListTest, UpdateCombined) {}

}  // namespace sync_file_system