// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/vr/elements/linear_layout.h" #include <memory> #include "chrome/browser/vr/test/animation_utils.h" #include "chrome/browser/vr/test/constants.h" #include "chrome/browser/vr/ui_scene.h" #include "testing/gtest/include/gtest/gtest.h" namespace vr { namespace { // Helper class supplying convenient layout-related accessors. class TestElement : public UiElement { … }; } // namespace TEST(LinearLayout, HorizontalVerticalLayout) { … } TEST(LinearLayout, Alignment) { … } TEST(LinearLayout, Orientations) { … } TEST(LinearLayout, NestedLayouts) { … } } // namespace vr