X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Ftestsuite.cpp;h=8f89fd65e144b63b689a7b7fea3854e7071cffd0;hb=61120e6f72b9db00cbd8288959680f8eb0322081;hp=9343e70cf0ba263a5797e400e34897e902f3a448;hpb=43847ec9c7e1a195163eb4c529f1c92fd1ace0a4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/testsuite.cpp b/src/testsuite.cpp index 9343e70cf..8f89fd65e 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -3,7 +3,7 @@ * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -186,9 +186,7 @@ bool TestSuite::DoThreadTests() cout << "Creating new ThreadEngine class...\n"; try { - ThreadEngineFactory* tef = new ThreadEngineFactory(); - te = tef->Create(ServerInstance); - delete tef; + te = new ThreadEngine(ServerInstance); } catch (...) { @@ -205,7 +203,7 @@ bool TestSuite::DoThreadTests() { try { - te->Create(tst); + te->Start(tst); } catch (CoreException &ce) {