From 7ba7ae6388de234d3670e4eedce39bc6e4b8e03f Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 20 Jan 2023 16:39:53 +0530 Subject: [PATCH] Test: test_adapter_cxx - cosmetic changes only --- test/test_adapter_cxx.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/test_adapter_cxx.cc b/test/test_adapter_cxx.cc index 5869695..f917ba5 100644 --- a/test/test_adapter_cxx.cc +++ b/test/test_adapter_cxx.cc @@ -4,7 +4,8 @@ #include "framework/framework.hh" #include #include -#include +#include +#include #include #include @@ -39,9 +40,9 @@ public: } } o; -int main(int argc, char* argv[]) +int main(int argc, char *argv[]) { - Test::setup(argc,argv); + Test::setup(argc, argv); pEp::Adapter::session .initialize(pEp::Adapter::SyncModes::Async, false, messageToSend, notifyHandshake); // Create new identity @@ -60,9 +61,10 @@ int main(int argc, char* argv[]) TESTLOG("SYNC START"); TESTLOG("starting the adapter including sync"); Adapter::startup(&o, &JNISync::onSyncStartup, &JNISync::onSyncShutdown); + Utils::sleep_millis(2000); TESTLOG("SYNC STOP"); - Utils::sleep_millis(500); Adapter::stop_sync(); + Utils::sleep_millis(2000); } return 0; } \ No newline at end of file