// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/cert/time_conversions.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/boringssl/src/pki/parse_values.h" namespace net::test { TEST(TimeConversionsTest, EncodeTimeAsGeneralizedTime) { … } TEST(TimeConversionsTest, GeneralizedTimeToTime) { … } // A time from before the Windows epoch should work. TEST(TimeConversionsTest, TimeBeforeWindowsEpoch) { … } // A time in seconds larger than a 32 bit signed integer should work. TEST(TimeConversionsTest, TimeAfter32BitPosixMaxYear) { … } } // namespace net::test