// 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. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40284755): Remove this and spanify to fix the errors. #pragma allow_unsafe_buffers #endif #include "net/cert/symantec_certs.h" #include <algorithm> #include "net/base/hash_value.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { // Tests that IsLegacySymantecCert() returns false for non-Symantec hash values. TEST(SymantecCertsTest, IsUnrelatedCertSymantecLegacyCert) { … } // Tests that IsLegacySymantecCert() works correctly for excluded and // non-excluded Symantec roots. TEST(SymantecCertsTest, IsLegacySymantecCert) { … } TEST(SymantecCertsTest, AreSortedArrays) { … } } // namespace net