summaryrefslogtreecommitdiff
path: root/tests/stubs_.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs_.cpp')
-rw-r--r--tests/stubs_.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/tests/stubs_.cpp b/tests/stubs_.cpp
index 2f46fb1..73957ce 100644
--- a/tests/stubs_.cpp
+++ b/tests/stubs_.cpp
@@ -22,9 +22,9 @@
#include "service/certs.h"
#include "service/queue.h"
+#include "ui/popup-client.h"
#include <cchecker/sql_query.h>
-#include <cchecker/UIBackend.h>
namespace CCHECKER {
@@ -98,19 +98,12 @@ void DB::SqlQuery::get_app_list(std::list<app_t> &apps_buffer)
}
// UI
-UI::UIBackend::UIBackend(int timeout) :
- m_responseTimeout(timeout)
+UI::PopupClient::PopupClient()
{}
-UI::UIBackend::~UIBackend()
-{}
-
-bool UI::UIBackend::call_popup(const app_t &app)
+bool UI::PopupClient::dispatch(const app_t &app)
{
- if (app.uid > 5000)
- return true;
-
- return false;
+ return app.uid > 5000;
}
} //CCHECKER