// Copyright 2016 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/fxcrt/shared_copy_on_write.h" #include <map> #include <string> #include "core/fxcrt/retain_ptr.h" #include "testing/gtest/include/gtest/gtest.h" namespace fxcrt { namespace { class Observer { … }; class Object final : public Retainable { … }; } // namespace TEST(SharedCopyOnWrite, Null) { … } TEST(SharedCopyOnWrite, Copy) { … } TEST(SharedCopyOnWrite, AssignOverOld) { … } TEST(SharedCopyOnWrite, AssignOverRetained) { … } TEST(SharedCopyOnWrite, GetModify) { … } } // namespace fxcrt