core: delete deprecated getGlobalScheduler() API
refs #1290
Change-Id: If994e3bd303f0788d8e945351c182bbd4ab5e0b2
diff --git a/tests/core/limited-io.hpp b/tests/core/limited-io.hpp
index d3968c2..94fe476 100644
--- a/tests/core/limited-io.hpp
+++ b/tests/core/limited-io.hpp
@@ -7,6 +7,7 @@
#ifndef NFD_TEST_CORE_LIMITED_IO_HPP
#define NFD_TEST_CORE_LIMITED_IO_HPP
+#include "core/global-io.hpp"
#include "core/scheduler.hpp"
namespace nfd {
@@ -18,7 +19,7 @@
{
public:
LimitedIo();
-
+
/// indicates why .run returns
enum StopReason
{
@@ -31,7 +32,7 @@
/// an exception is thrown
EXCEPTION
};
-
+
/** \brief g_io.run() with operation count and/or time limit
*
* \param nOpsLimit operation count limit, pass UNLIMITED_OPS for no limit
@@ -39,14 +40,14 @@
*/
StopReason
run(int nOpsLimit, const time::nanoseconds& nTimeLimit);
-
+
/// count an operation
void
afterOp();
-
+
const std::exception&
getLastException() const;
-
+
private:
void
afterTimeout();