]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/testsuite.cpp
This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist...
[user/henk/code/inspircd.git] / src / testsuite.cpp
index 083839ff903e9ee2eaca056eee7c9a7c686d5d4f..8f89fd65e144b63b689a7b7fea3854e7071cffd0 100644 (file)
@@ -2,8 +2,8 @@
  *        | Inspire Internet Relay Chat Daemon |
  *        +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * 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)
                {