#ifdef UNSAFE_BUFFERS_BUILD
#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]) { … }
}
TEST(FileChangeListTest, UpdateSimple) { … }
TEST(FileChangeListTest, UpdateCombined) { … }
}