summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-08-31 13:39:48 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-06 00:17:12 +0200
commit75d1d2a91376c3338510cf1e5fa10feaf8df5785 (patch)
treed75b6d14ea3f9bb72b10c71c64b21fdb00f9fc13 /tests/auto/testlib
parent2caa2faf01d66904b912fe1b1b443b5932d928d0 (diff)
Get rid of hasPendingEvents() and flush()
They are unused. Change-Id: I77383f2be45551401ed9c2f88285511134cc8b0d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp2
-rw-r--r--tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp b/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp
index e3f4720a5e..c9e3327411 100644
--- a/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp
+++ b/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp
@@ -39,8 +39,6 @@ public:
TestEventDispatcher(QObject* parent =0)
: QAbstractEventDispatcher(parent)
{}
- void flush() {}
- bool hasPendingEvents() { return false; }
void interrupt() {}
bool processEvents(QEventLoop::ProcessEventsFlags) { return false; }
void registerSocketNotifier(QSocketNotifier*) {}
diff --git a/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp b/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp
index b89ca28ff2..689f92cc39 100644
--- a/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp
+++ b/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp
@@ -39,8 +39,6 @@ public:
TestEventDispatcher(QObject* parent =0)
: QAbstractEventDispatcher(parent)
{}
- void flush() {}
- bool hasPendingEvents() { return false; }
void interrupt() {}
bool processEvents(QEventLoop::ProcessEventsFlags) { return false; }
void registerSocketNotifier(QSocketNotifier*) {}