Commit 7ba7ae63 authored by Matthias Heckmann's avatar Matthias Heckmann
Browse files

Test: test_adapter_cxx - cosmetic changes only

parent 04a73cce
Pipeline #6441 failed with stage
in 52 seconds
......@@ -4,7 +4,8 @@
#include "framework/framework.hh"
#include <pEp/pitytest11/test_utils.hh>
#include <iostream>
#include <assert.h>
#include <cassert>
#include <pEp/utils.hh>
#include <pEp/keymanagement.h>
#include <pEp/sync_api.h>
......@@ -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<JNISync>(&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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment