From a68c8159ae307b758a6590569d9917e9c9743452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Thu, 11 Nov 2010 13:53:52 +0100 Subject: Changed misleading test name. diff --git a/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp b/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp index a7fdbad..5234445 100644 --- a/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp +++ b/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp @@ -32,7 +32,7 @@ class ServerIdentityVerifierTest : public CppUnit::TestFixture { CPPUNIT_TEST(testCertificateVerifies_WithMatchingXmppAddrWithWildcard); CPPUNIT_TEST(testCertificateVerifies_WithMatchingInternationalXmppAddr); CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithoutSAN); - CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithMatchingSAN); + CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithSAN); CPPUNIT_TEST_SUITE_END(); public: @@ -157,7 +157,7 @@ class ServerIdentityVerifierTest : public CppUnit::TestFixture { CPPUNIT_ASSERT(testling.certificateVerifies(certificate)); } - void testCertificateVerifies_WithMatchingCNWithMatchingSAN() { + void testCertificateVerifies_WithMatchingCNWithSAN() { ServerIdentityVerifier testling(JID("foo@bar.com/baz")); SimpleCertificate::ref certificate(new SimpleCertificate()); certificate->addSRVName("foo.com"); -- cgit v0.10.2-6-g49f6