// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/trust_tokens/types.h" #include "base/time/time.h" #include "services/network/trust_tokens/proto/public.pb.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" namespace network::internal { // trust_tokens/types.h's TimeToTimestamp/TimestampToTime implementations are // thin wrappers around well-tested //base conversion methods, so these // tests are just sanity checks to make sure that values are actually // getting passed to the pertinent //base libraries. TEST(TrustTokenTypes, TimeToTimestampRoundtrip) { … } } // namespace network::internal