Browse Source

Test: test_adapter_cxx - cosmetic changes only

pull/15/head
heck 2 years ago
parent
commit
7ba7ae6388
  1. 6
      test/test_adapter_cxx.cc

6
test/test_adapter_cxx.cc

@ -4,7 +4,8 @@
#include "framework/framework.hh" #include "framework/framework.hh"
#include <pEp/pitytest11/test_utils.hh> #include <pEp/pitytest11/test_utils.hh>
#include <iostream> #include <iostream>
#include <assert.h> #include <cassert>
#include <pEp/utils.hh>
#include <pEp/keymanagement.h> #include <pEp/keymanagement.h>
#include <pEp/sync_api.h> #include <pEp/sync_api.h>
@ -60,9 +61,10 @@ int main(int argc, char* argv[])
TESTLOG("SYNC START"); TESTLOG("SYNC START");
TESTLOG("starting the adapter including sync"); TESTLOG("starting the adapter including sync");
Adapter::startup<JNISync>(&o, &JNISync::onSyncStartup, &JNISync::onSyncShutdown); Adapter::startup<JNISync>(&o, &JNISync::onSyncStartup, &JNISync::onSyncShutdown);
Utils::sleep_millis(2000);
TESTLOG("SYNC STOP"); TESTLOG("SYNC STOP");
Utils::sleep_millis(500);
Adapter::stop_sync(); Adapter::stop_sync();
Utils::sleep_millis(2000);
} }
return 0; return 0;
} }
Loading…
Cancel
Save