// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/common/surfaces/local_surface_id.h" #include "base/logging.h" #include "testing/gtest/include/gtest/gtest.h" // Verifying that Local_Surface_Id::ToString() prints its corresponding // UnguessableToken as ABCD... if logging is not verbose and prints full // 16-character token otherwise. TEST(LocalSurfaceIdTest, VerifyToString) { … } // Test that when two allocators have advanced different sequence numbers, that // IsNewerThan gives prcedence to neither sequence. Instead reporting that // neither is newer than the other. TEST(LocalSurfaceIdTest, NewerThan) { … }