// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "crypto/aead.h" #include <string> #include "testing/gtest/include/gtest/gtest.h" namespace { const crypto::Aead::AeadAlgorithm kAllAlgorithms[]{ … }; class AeadTest : public testing::TestWithParam<crypto::Aead::AeadAlgorithm> { … }; INSTANTIATE_TEST_SUITE_P(…); TEST_P(AeadTest, SealOpen) { … } TEST_P(AeadTest, SealOpenSpan) { … } TEST_P(AeadTest, SealOpenWrongKey) { … } } // namespace