summaryrefslogtreecommitdiffstats
path: root/tests/unit/ptimer-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/ptimer-test.h')
-rw-r--r--tests/unit/ptimer-test.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/unit/ptimer-test.h b/tests/unit/ptimer-test.h
new file mode 100644
index 0000000000..09ac56da9e
--- /dev/null
+++ b/tests/unit/ptimer-test.h
@@ -0,0 +1,22 @@
+/*
+ * QTest testcase for the ptimer
+ *
+ * Copyright (c) 2016 Dmitry Osipenko <digetx@gmail.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ *
+ */
+
+#ifndef PTIMER_TEST_H
+#define PTIMER_TEST_H
+
+extern bool qtest_allowed;
+
+extern int64_t ptimer_test_time_ns;
+
+struct QEMUTimerList {
+ QEMUTimer active_timers;
+};
+
+#endif