summaryrefslogtreecommitdiff
path: root/tests/popup_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/popup_test.cpp')
-rw-r--r--tests/popup_test.cpp40
1 files changed, 18 insertions, 22 deletions
diff --git a/tests/popup_test.cpp b/tests/popup_test.cpp
index 3f6676d..8bdff76 100644
--- a/tests/popup_test.cpp
+++ b/tests/popup_test.cpp
@@ -26,27 +26,23 @@
using namespace CCHECKER;
-int main(int argc, char** argv)
+int main(int argc, char **argv)
{
- LogDebug("Cert-checker popup-test start!");
-
- int timeout = 60;
- if (argc > 1) {
- timeout = atoi(argv[1]);
- }
- LogDebug("popup-test timeout: " << timeout);
-
- setlocale(LC_ALL, "");
-
- UI::UIBackend ui(timeout);
-
- app_t app(std::string("test_APP_ID"),
- std::string("test PKG ID"),
- 5005,
- {});
-
- ui.call_popup(app);
-
- LogDebug("Cert-checker popup-test exit!");
- return 0;
+ LogDebug("Cert-checker popup-test start!");
+ int timeout = 60;
+
+ if (argc > 1) {
+ timeout = atoi(argv[1]);
+ }
+
+ LogDebug("popup-test timeout: " << timeout);
+ setlocale(LC_ALL, "");
+ UI::UIBackend ui(timeout);
+ app_t app(std::string("test_APP_ID"),
+ std::string("test PKG ID"),
+ 5005,
+ {});
+ ui.call_popup(app);
+ LogDebug("Cert-checker popup-test exit!");
+ return 0;
}