summaryrefslogtreecommitdiff
path: root/tests/test-Tasks.cc
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 20:25:07 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 20:25:07 -0800
commit1ecceefd88401241b05a62441c905251d57e3a43 (patch)
treeac2fd95b8ca4b0939153a0467625129a1c41a492 /tests/test-Tasks.cc
parent9e0bfba20d159b2ae02f48ab2de6a5c118eba57f (diff)
Starting to add a few tests for the new interruptible code.
Diffstat (limited to 'tests/test-Tasks.cc')
-rw-r--r--tests/test-Tasks.cc8
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() {