diff options
Diffstat (limited to 'tests/test-Tasks.cc')
-rw-r--r-- | tests/test-Tasks.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test-Tasks.cc b/tests/test-Tasks.cc index 33bdd72..9184f97 100644 --- a/tests/test-Tasks.cc +++ b/tests/test-Tasks.cc @@ -2,7 +2,6 @@ #include <Task.h> #include <TaskMan.h> #include <StacklessTask.h> -#include <Input.h> using namespace Balau; @@ -51,16 +50,9 @@ class TestStackless : public StacklessTask { StacklessOperation(m_operation->Do()); TAssert(m_operation->completed()); delete m_operation; - m_handle = new Input("tests/rtest.txt"); - StacklessOperation(m_handle->open()); - StacklessOperation(r = m_handle->read(buf, 25)); - TAssert(r == 10); - StacklessOperation(m_handle->close()); StacklessEnd(); } TestOperation * m_operation; - IO<Input> m_handle; - char buf[25]; }; static void yieldingFunction() { |