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:
Mike Hommey 2015-04-14 16:41:48 +09:00
parent 4af8b72d33
commit 67e9dfaaf8
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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