]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/testsuite.cpp
Remove m_foobar. This has no practical purpose, except as a module basis,
[user/henk/code/inspircd.git] / src / testsuite.cpp
index b7a9835e009d888e780f17aac1f0701b9821f54c..8f89fd65e144b63b689a7b7fea3854e7071cffd0 100644 (file)
@@ -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)
                {