|
|
|
@ -12,82 +12,82 @@
|
|
|
|
|
#include "SuiteMaker.h"
|
|
|
|
|
|
|
|
|
|
// Begin where we generate stuff
|
|
|
|
|
#include "MapAsn1Tests.h"
|
|
|
|
|
#include "DecorateTests.h"
|
|
|
|
|
#include "EncryptMissingPrivateKeyTests.h"
|
|
|
|
|
#include "KeyeditTests.h"
|
|
|
|
|
#include "BlacklistAcceptNewKeyTests.h"
|
|
|
|
|
#include "DecryptAttachPrivateKeyUntrustedTests.h"
|
|
|
|
|
#include "ReencryptPlusExtraKeysTests.h"
|
|
|
|
|
#include "BlacklistTests.h"
|
|
|
|
|
#include "AppleMailTests.h"
|
|
|
|
|
#include "CaseAndDotAddressTests.h"
|
|
|
|
|
#include "SequenceTests.h"
|
|
|
|
|
#include "MessageTwoPointOhTests.h"
|
|
|
|
|
#include "IdentityListTests.h"
|
|
|
|
|
#include "I18nTests.h"
|
|
|
|
|
#include "DecryptAttachPrivateKeyUntrustedTests.h"
|
|
|
|
|
#include "BCCTests.h"
|
|
|
|
|
#include "LeastColorGroupTests.h"
|
|
|
|
|
#include "MistrustUndoTests.h"
|
|
|
|
|
#include "BlacklistAcceptNewKeyTests.h"
|
|
|
|
|
#include "MessageApiTests.h"
|
|
|
|
|
#include "I18nTests.h"
|
|
|
|
|
#include "CrashdumpTests.h"
|
|
|
|
|
#include "PgpBinaryTests.h"
|
|
|
|
|
#include "StringlistTests.h"
|
|
|
|
|
#include "StringpairListTests.h"
|
|
|
|
|
#include "TrustManipulationTests.h"
|
|
|
|
|
#include "EncryptAttachPrivateKeyTests.h"
|
|
|
|
|
#include "BloblistTests.h"
|
|
|
|
|
#include "SequenceTests.h"
|
|
|
|
|
#include "TrustwordsTests.h"
|
|
|
|
|
#include "RevokeRegenAttachTests.h"
|
|
|
|
|
#include "BlacklistTests.h"
|
|
|
|
|
#include "LeastCommonDenomColorTests.h"
|
|
|
|
|
#include "EncryptMissingPrivateKeyTests.h"
|
|
|
|
|
#include "PepSubjectReceivedTests.h"
|
|
|
|
|
#include "MistrustUndoTests.h"
|
|
|
|
|
#include "StringpairListTests.h"
|
|
|
|
|
#include "PgpListKeysTests.h"
|
|
|
|
|
#include "ReencryptPlusExtraKeysTests.h"
|
|
|
|
|
#include "KeyeditTests.h"
|
|
|
|
|
#include "MapAsn1Tests.h"
|
|
|
|
|
#include "PgpBinaryTests.h"
|
|
|
|
|
#include "DecryptAttachPrivateKeyTrustedTests.h"
|
|
|
|
|
#include "MessageNullFromTests.h"
|
|
|
|
|
#include "MimeTests.h"
|
|
|
|
|
#include "BloblistTests.h"
|
|
|
|
|
#include "PgpListKeysTests.h"
|
|
|
|
|
#include "NewUpdateIdAndMyselfTests.h"
|
|
|
|
|
#include "StringlistTests.h"
|
|
|
|
|
#include "LeastColorGroupTests.h"
|
|
|
|
|
#include "ExternalRevokeTests.h"
|
|
|
|
|
#include "EncryptForIdentityTests.h"
|
|
|
|
|
#include "TrustwordsTests.h"
|
|
|
|
|
#include "TrustManipulationTests.h"
|
|
|
|
|
#include "MessageTwoPointOhTests.h"
|
|
|
|
|
#include "MessageNullFromTests.h"
|
|
|
|
|
#include "EncryptAttachPrivateKeyTests.h"
|
|
|
|
|
#include "DecryptAttachPrivateKeyTrustedTests.h"
|
|
|
|
|
#include "IdentityListTests.h"
|
|
|
|
|
#include "CrashdumpTests.h"
|
|
|
|
|
#include "CaseAndDotAddressTests.h"
|
|
|
|
|
#include "LeastCommonDenomColorTests.h"
|
|
|
|
|
#include "ExternalRevokeTests.h"
|
|
|
|
|
#include "UserIDAliasTests.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const char* SuiteMaker::all_suites[] = {
|
|
|
|
|
"MapAsn1Tests",
|
|
|
|
|
"DecorateTests",
|
|
|
|
|
"EncryptMissingPrivateKeyTests",
|
|
|
|
|
"KeyeditTests",
|
|
|
|
|
"BlacklistAcceptNewKeyTests",
|
|
|
|
|
"DecryptAttachPrivateKeyUntrustedTests",
|
|
|
|
|
"ReencryptPlusExtraKeysTests",
|
|
|
|
|
"BlacklistTests",
|
|
|
|
|
"AppleMailTests",
|
|
|
|
|
"CaseAndDotAddressTests",
|
|
|
|
|
"SequenceTests",
|
|
|
|
|
"MessageTwoPointOhTests",
|
|
|
|
|
"IdentityListTests",
|
|
|
|
|
"I18nTests",
|
|
|
|
|
"DecryptAttachPrivateKeyUntrustedTests",
|
|
|
|
|
"BCCTests",
|
|
|
|
|
"LeastColorGroupTests",
|
|
|
|
|
"MistrustUndoTests",
|
|
|
|
|
"BlacklistAcceptNewKeyTests",
|
|
|
|
|
"MessageApiTests",
|
|
|
|
|
"I18nTests",
|
|
|
|
|
"CrashdumpTests",
|
|
|
|
|
"PgpBinaryTests",
|
|
|
|
|
"StringlistTests",
|
|
|
|
|
"StringpairListTests",
|
|
|
|
|
"TrustManipulationTests",
|
|
|
|
|
"EncryptAttachPrivateKeyTests",
|
|
|
|
|
"BloblistTests",
|
|
|
|
|
"SequenceTests",
|
|
|
|
|
"TrustwordsTests",
|
|
|
|
|
"RevokeRegenAttachTests",
|
|
|
|
|
"BlacklistTests",
|
|
|
|
|
"LeastCommonDenomColorTests",
|
|
|
|
|
"EncryptMissingPrivateKeyTests",
|
|
|
|
|
"PepSubjectReceivedTests",
|
|
|
|
|
"MistrustUndoTests",
|
|
|
|
|
"StringpairListTests",
|
|
|
|
|
"PgpListKeysTests",
|
|
|
|
|
"ReencryptPlusExtraKeysTests",
|
|
|
|
|
"KeyeditTests",
|
|
|
|
|
"MapAsn1Tests",
|
|
|
|
|
"PgpBinaryTests",
|
|
|
|
|
"DecryptAttachPrivateKeyTrustedTests",
|
|
|
|
|
"MessageNullFromTests",
|
|
|
|
|
"MimeTests",
|
|
|
|
|
"BloblistTests",
|
|
|
|
|
"PgpListKeysTests",
|
|
|
|
|
"NewUpdateIdAndMyselfTests",
|
|
|
|
|
"StringlistTests",
|
|
|
|
|
"LeastColorGroupTests",
|
|
|
|
|
"ExternalRevokeTests",
|
|
|
|
|
"EncryptForIdentityTests",
|
|
|
|
|
"TrustwordsTests",
|
|
|
|
|
"TrustManipulationTests",
|
|
|
|
|
"MessageTwoPointOhTests",
|
|
|
|
|
"MessageNullFromTests",
|
|
|
|
|
"EncryptAttachPrivateKeyTests",
|
|
|
|
|
"DecryptAttachPrivateKeyTrustedTests",
|
|
|
|
|
"IdentityListTests",
|
|
|
|
|
"CrashdumpTests",
|
|
|
|
|
"CaseAndDotAddressTests",
|
|
|
|
|
"LeastCommonDenomColorTests",
|
|
|
|
|
"ExternalRevokeTests",
|
|
|
|
|
"UserIDAliasTests",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -95,78 +95,78 @@ const char* SuiteMaker::all_suites[] = {
|
|
|
|
|
int SuiteMaker::num_suites = 37;
|
|
|
|
|
|
|
|
|
|
void SuiteMaker::suitemaker_build(const char* test_class_name, const char* test_home, Test::Suite** test_suite) {
|
|
|
|
|
if (strcmp(test_class_name, "MapAsn1Tests") == 0)
|
|
|
|
|
*test_suite = new MapAsn1Tests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "DecorateTests") == 0)
|
|
|
|
|
if (strcmp(test_class_name, "DecorateTests") == 0)
|
|
|
|
|
*test_suite = new DecorateTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "EncryptMissingPrivateKeyTests") == 0)
|
|
|
|
|
*test_suite = new EncryptMissingPrivateKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "KeyeditTests") == 0)
|
|
|
|
|
*test_suite = new KeyeditTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BlacklistAcceptNewKeyTests") == 0)
|
|
|
|
|
*test_suite = new BlacklistAcceptNewKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "DecryptAttachPrivateKeyUntrustedTests") == 0)
|
|
|
|
|
*test_suite = new DecryptAttachPrivateKeyUntrustedTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "ReencryptPlusExtraKeysTests") == 0)
|
|
|
|
|
*test_suite = new ReencryptPlusExtraKeysTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BlacklistTests") == 0)
|
|
|
|
|
*test_suite = new BlacklistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "AppleMailTests") == 0)
|
|
|
|
|
*test_suite = new AppleMailTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "CaseAndDotAddressTests") == 0)
|
|
|
|
|
*test_suite = new CaseAndDotAddressTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "SequenceTests") == 0)
|
|
|
|
|
*test_suite = new SequenceTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MessageTwoPointOhTests") == 0)
|
|
|
|
|
*test_suite = new MessageTwoPointOhTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "IdentityListTests") == 0)
|
|
|
|
|
*test_suite = new IdentityListTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "I18nTests") == 0)
|
|
|
|
|
*test_suite = new I18nTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "DecryptAttachPrivateKeyUntrustedTests") == 0)
|
|
|
|
|
*test_suite = new DecryptAttachPrivateKeyUntrustedTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BCCTests") == 0)
|
|
|
|
|
*test_suite = new BCCTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "LeastColorGroupTests") == 0)
|
|
|
|
|
*test_suite = new LeastColorGroupTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MistrustUndoTests") == 0)
|
|
|
|
|
*test_suite = new MistrustUndoTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BlacklistAcceptNewKeyTests") == 0)
|
|
|
|
|
*test_suite = new BlacklistAcceptNewKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MessageApiTests") == 0)
|
|
|
|
|
*test_suite = new MessageApiTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "I18nTests") == 0)
|
|
|
|
|
*test_suite = new I18nTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "CrashdumpTests") == 0)
|
|
|
|
|
*test_suite = new CrashdumpTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "PgpBinaryTests") == 0)
|
|
|
|
|
*test_suite = new PgpBinaryTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "StringlistTests") == 0)
|
|
|
|
|
*test_suite = new StringlistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "StringpairListTests") == 0)
|
|
|
|
|
*test_suite = new StringpairListTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "TrustManipulationTests") == 0)
|
|
|
|
|
*test_suite = new TrustManipulationTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "EncryptAttachPrivateKeyTests") == 0)
|
|
|
|
|
*test_suite = new EncryptAttachPrivateKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BloblistTests") == 0)
|
|
|
|
|
*test_suite = new BloblistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "SequenceTests") == 0)
|
|
|
|
|
*test_suite = new SequenceTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "TrustwordsTests") == 0)
|
|
|
|
|
*test_suite = new TrustwordsTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "RevokeRegenAttachTests") == 0)
|
|
|
|
|
*test_suite = new RevokeRegenAttachTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BlacklistTests") == 0)
|
|
|
|
|
*test_suite = new BlacklistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "LeastCommonDenomColorTests") == 0)
|
|
|
|
|
*test_suite = new LeastCommonDenomColorTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "EncryptMissingPrivateKeyTests") == 0)
|
|
|
|
|
*test_suite = new EncryptMissingPrivateKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "PepSubjectReceivedTests") == 0)
|
|
|
|
|
*test_suite = new PepSubjectReceivedTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MistrustUndoTests") == 0)
|
|
|
|
|
*test_suite = new MistrustUndoTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "StringpairListTests") == 0)
|
|
|
|
|
*test_suite = new StringpairListTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "PgpListKeysTests") == 0)
|
|
|
|
|
*test_suite = new PgpListKeysTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "ReencryptPlusExtraKeysTests") == 0)
|
|
|
|
|
*test_suite = new ReencryptPlusExtraKeysTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "KeyeditTests") == 0)
|
|
|
|
|
*test_suite = new KeyeditTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MapAsn1Tests") == 0)
|
|
|
|
|
*test_suite = new MapAsn1Tests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "PgpBinaryTests") == 0)
|
|
|
|
|
*test_suite = new PgpBinaryTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "DecryptAttachPrivateKeyTrustedTests") == 0)
|
|
|
|
|
*test_suite = new DecryptAttachPrivateKeyTrustedTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MessageNullFromTests") == 0)
|
|
|
|
|
*test_suite = new MessageNullFromTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MimeTests") == 0)
|
|
|
|
|
*test_suite = new MimeTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "BloblistTests") == 0)
|
|
|
|
|
*test_suite = new BloblistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "PgpListKeysTests") == 0)
|
|
|
|
|
*test_suite = new PgpListKeysTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "NewUpdateIdAndMyselfTests") == 0)
|
|
|
|
|
*test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "StringlistTests") == 0)
|
|
|
|
|
*test_suite = new StringlistTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "LeastColorGroupTests") == 0)
|
|
|
|
|
*test_suite = new LeastColorGroupTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "ExternalRevokeTests") == 0)
|
|
|
|
|
*test_suite = new ExternalRevokeTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "EncryptForIdentityTests") == 0)
|
|
|
|
|
*test_suite = new EncryptForIdentityTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "TrustwordsTests") == 0)
|
|
|
|
|
*test_suite = new TrustwordsTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "TrustManipulationTests") == 0)
|
|
|
|
|
*test_suite = new TrustManipulationTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MessageTwoPointOhTests") == 0)
|
|
|
|
|
*test_suite = new MessageTwoPointOhTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "MessageNullFromTests") == 0)
|
|
|
|
|
*test_suite = new MessageNullFromTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "EncryptAttachPrivateKeyTests") == 0)
|
|
|
|
|
*test_suite = new EncryptAttachPrivateKeyTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "DecryptAttachPrivateKeyTrustedTests") == 0)
|
|
|
|
|
*test_suite = new DecryptAttachPrivateKeyTrustedTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "IdentityListTests") == 0)
|
|
|
|
|
*test_suite = new IdentityListTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "CrashdumpTests") == 0)
|
|
|
|
|
*test_suite = new CrashdumpTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "CaseAndDotAddressTests") == 0)
|
|
|
|
|
*test_suite = new CaseAndDotAddressTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "LeastCommonDenomColorTests") == 0)
|
|
|
|
|
*test_suite = new LeastCommonDenomColorTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "ExternalRevokeTests") == 0)
|
|
|
|
|
*test_suite = new ExternalRevokeTests(test_class_name, test_home);
|
|
|
|
|
else if (strcmp(test_class_name, "UserIDAliasTests") == 0)
|
|
|
|
|
*test_suite = new UserIDAliasTests(test_class_name, test_home);
|
|
|
|
|
}
|
|
|
|
|