mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1153114 - Remove anonymous namespace around pkix gtests. r=bsmith
This avoids -Wunused-variable fatal warnings with GCC 5.0
This commit is contained in:
parent
4af8b72d33
commit
67e9dfaaf8
@ -32,8 +32,6 @@
|
||||
using namespace mozilla::pkix;
|
||||
using namespace mozilla::pkix::der;
|
||||
|
||||
namespace {
|
||||
|
||||
class pkixder_pki_types_tests : public ::testing::Test { };
|
||||
|
||||
TEST_F(pkixder_pki_types_tests, CertificateSerialNumber)
|
||||
@ -478,5 +476,3 @@ INSTANTIATE_TEST_CASE_P(
|
||||
pkixder_SignatureAlgorithmIdentifier_Invalid,
|
||||
pkixder_SignatureAlgorithmIdentifier_Invalid,
|
||||
testing::ValuesIn(INVALID_SIGNATURE_ALGORITHM_VALUE_TEST_INFO));
|
||||
|
||||
} // unnamed namespace
|
||||
|
@ -34,8 +34,6 @@ using namespace mozilla::pkix::der;
|
||||
using namespace mozilla::pkix::test;
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
|
||||
class pkixder_universal_types_tests : public ::testing::Test { };
|
||||
|
||||
TEST_F(pkixder_universal_types_tests, BooleanTrue01)
|
||||
@ -1161,5 +1159,3 @@ TEST_F(pkixder_universal_types_tests, OID)
|
||||
|
||||
ASSERT_EQ(Success, OID(reader, expectedOID));
|
||||
}
|
||||
|
||||
} // unnamed namespace
|
||||
|
Loading…
Reference in New Issue
Block a user