diff options
author | Pixel <pixel@nobis-crew.org> | 2012-04-03 08:46:21 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-04-03 08:46:21 -0700 |
commit | 37221dc091725c6fea09181b845308ab8f26c795 (patch) | |
tree | f877eb7f70f2f9ec021fd04720d7bd0c937dbab7 /tests | |
parent | 7d5f246ae7310055d39ea13ff395d830e3c27a60 (diff) |
Reworking a bit the way the queues are working, and thus, the way the LuaTMainTask queue works.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-Sockets.cc | 4 | ||||
-rw-r--r-- | tests/test-Tasks.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-Sockets.cc b/tests/test-Sockets.cc index a3e2755..c576c97 100644 --- a/tests/test-Sockets.cc +++ b/tests/test-Sockets.cc @@ -62,8 +62,8 @@ void MainTask::Do() { Printer::enable(M_ALL); Printer::log(M_STATUS, "Test::Sockets running."); - Events::TaskEvent evtSvr(listener = Balau::createTask(new Listener<Worker>(1234))); - Events::TaskEvent evtCln(Balau::createTask(new Client)); + Events::TaskEvent evtSvr(listener = TaskMan::createTask(new Listener<Worker>(1234))); + Events::TaskEvent evtCln(TaskMan::createTask(new Client)); Printer::log(M_STATUS, "Created %s", listener->getName()); waitFor(&evtSvr); waitFor(&evtCln); diff --git a/tests/test-Tasks.cc b/tests/test-Tasks.cc index 272e61d..60d1dd3 100644 --- a/tests/test-Tasks.cc +++ b/tests/test-Tasks.cc @@ -30,7 +30,7 @@ void MainTask::Do() { customPrinter = new CustomPrinter(); Printer::log(M_STATUS, "Test::Tasks running."); - Task * testTask = Balau::createTask(new TestTask()); + Task * testTask = TaskMan::createTask(new TestTask()); Events::TaskEvent taskEvt(testTask); waitFor(&taskEvt); TAssert(!taskEvt.gotSignal()); |