diff options
Diffstat (limited to 'attic/test/tests/async_io_works_1_test.cpp')
-rw-r--r-- | attic/test/tests/async_io_works_1_test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/attic/test/tests/async_io_works_1_test.cpp b/attic/test/tests/async_io_works_1_test.cpp new file mode 100644 index 00000000..d8b92415 --- /dev/null +++ b/attic/test/tests/async_io_works_1_test.cpp @@ -0,0 +1,10 @@ +#include "test_functions.hpp" + +BOOST_AFIO_AUTO_TEST_CASE(async_io_works_1, "Tests that the async i/o implementation works", 60) +{ + using namespace BOOST_AFIO_V2_NAMESPACE; + namespace asio = BOOST_AFIO_V2_NAMESPACE::asio; + auto dispatcher=make_dispatcher("file:///", file_flags::none).get(); + std::cout << "\n\n1000 file opens, writes 1 byte, closes, and deletes:\n"; + _1000_open_write_close_deletes(dispatcher, 1); +}
\ No newline at end of file |