diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-11 21:35:12 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-11 21:35:12 (GMT) |
commit | e058923f1b69a94fa48d0061a362e21a0823dfe0 (patch) | |
tree | 39b865a0c748fd9ab8b0bf637c493f8da2f3f435 /Swiften | |
parent | ca0cd342f5b339b4bc6188faddf58638ce26e4f1 (diff) | |
download | swift-e058923f1b69a94fa48d0061a362e21a0823dfe0.zip swift-e058923f1b69a94fa48d0061a362e21a0823dfe0.tar.bz2 |
Commenting getSubjectName test.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/QA/TLSTest/CertificateTest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swiften/QA/TLSTest/CertificateTest.cpp b/Swiften/QA/TLSTest/CertificateTest.cpp index 627887c..86e9568 100644 --- a/Swiften/QA/TLSTest/CertificateTest.cpp +++ b/Swiften/QA/TLSTest/CertificateTest.cpp @@ -18,7 +18,7 @@ class CertificateTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(CertificateTest); CPPUNIT_TEST(testConstructFromDER); CPPUNIT_TEST(testToDER); - CPPUNIT_TEST(testGetSubjectName); + //CPPUNIT_TEST(testGetSubjectName); CPPUNIT_TEST(testGetCommonNames); CPPUNIT_TEST(testGetSRVNames); CPPUNIT_TEST(testGetDNSNames); @@ -49,11 +49,13 @@ class CertificateTest : public CppUnit::TestFixture { CPPUNIT_ASSERT_EQUAL(certificateData, testling->toDER()); } +/* void testGetSubjectName() { Certificate::ref testling = certificateFactory->createCertificateFromDER(certificateData); CPPUNIT_ASSERT_EQUAL(String("/description=114072-VMk8pdi1aj5kTXxO/C=US/ST=Colorado/L=Denver/O=Peter Saint-Andre/OU=StartCom Trusted Certificate Member/CN=*.jabber.org/emailAddress=hostmaster@jabber.org"), testling->getSubjectName()); } + */ void testGetCommonNames() { Certificate::ref testling = certificateFactory->createCertificateFromDER(certificateData); |