X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Ftestsuite.cpp;h=502f28fd470f692f83094f6536d03346e20dccc5;hb=5750fdaae86e2b1ef4a7ce4db3d02a9d0bf2c2e7;hp=71ace375e295a7ebe60513051a9b5202695322a3;hpb=b87565e3441f25be17d35dac86f68661a7ec3bbd;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/testsuite.cpp b/src/testsuite.cpp index 71ace375e..502f28fd4 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -11,7 +11,7 @@ * --------------------------------------------------- */ -/* $Core: libIRCDtestsuite */ +/* $Core */ #include "inspircd.h" #include "testsuite.h" @@ -56,11 +56,10 @@ TestSuite::TestSuite(InspIRCd* Instance) : ServerInstance(Instance) cout << "(3) Unload a module\n"; cout << "(4) Threading tests\n"; cout << "(5) Wildcard and CIDR tests\n"; - cout << "(6) irc::string -> std::string dynamic cast\n"; cout << endl << "(X) Exit test suite\n"; - cout << "\nChoice: "; + cout << "\nChoices (Enter one or more options as a list then press enter, e.g. 15X): "; cin >> choice; if (!choice) @@ -87,14 +86,6 @@ TestSuite::TestSuite(InspIRCd* Instance) : ServerInstance(Instance) case '5': cout << (DoWildTests() ? "\nSUCCESS!\n" : "\nFAILURE\n"); break; - case '6': - { - std::string* a = new std::string("test"); - irc::string* b = (irc::string)a; - cout << "std::string value: '" << *a << "' irc::string value: '" << *b << "'" << endl; - delete a; - } - break; case 'X': return; break;