From 1ecceefd88401241b05a62441c905251d57e3a43 Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Mon, 21 Jan 2013 20:25:07 -0800 Subject: Starting to add a few tests for the new interruptible code. --- tests/test-Tasks.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/test-Tasks.cc') 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 #include #include -#include 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 m_handle; - char buf[25]; }; static void yieldingFunction() { -- cgit v1.2.3