Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CID
mirrors
libpEpAdapter
Commits
7ba7ae63
Commit
7ba7ae63
authored
Jan 20, 2023
by
Matthias Heckmann
Browse files
Test: test_adapter_cxx - cosmetic changes only
parent
04a73cce
Pipeline
#6441
failed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_adapter_cxx.cc
View file @
7ba7ae63
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment