// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/view_model.h" #include <string> #include "base/strings/string_number_conversions.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/views/view.h" namespace views { namespace { // Returns a string containing the x-coordinate of each of the views in |model|. std::string BoundsString(const ViewModel& model) { … } // Returns a string containing the id of each of the views in |model|. std::string ViewIDsString(const ViewModel& model) { … } } // namespace TEST(ViewModel, BasicAssertions) { … } TEST(ViewModel, Move) { … } TEST(ViewModel, MoveViewOnly) { … } } // namespace views