heck
db3e2dd2b6
closing branch
5 years ago
heck
6d5af4bae8
Fixed broken methods due to needed template changes.
Verified by comparing results of test/regression against sync branch d6c12d6ca3d0
5 years ago
heck
d961bdd6e9
Add logging
5 years ago
heck
72bf286bc1
Merge in sync
5 years ago
Volker Birk
f6766d5279
missing headers again, correcting error coloring, too
5 years ago
Volker Birk
0e14d3a76f
another include missing
5 years ago
Volker Birk
f67d98cb10
missing header file violating C++ standard
5 years ago
heck
81a8887ab6
Reintegrate feature branch JNI-92 - Mutex Locking Per Engine Instance
(yes, you are right, there will be undefined behaviour after 9.2 sextillion engine instances)
5 years ago
heck
0212f7b88a
Merge regression tests from sync
5 years ago
heck
8613034691
Merge from sync
5 years ago
heck
11524fa7cb
Merge pEpLog() header changes from sync branch
5 years ago
heck
bb2d3aa7ed
reintegrate main branch changes containing the new regressions tests
5 years ago
heck
491dee7e2e
little java Consumer<T> based Test framework. To be combined with threadpool. (JNI-92)
5 years ago
heck
aeea35f563
Added full regression tests for all Engine methods
5 years ago
heck
7956b4037c
pEpLog() function call logging only on API exposed functions (JNIEPXORT)
5 years ago
heck
cfd5248b74
add logging
5 years ago
heck
a309452628
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
5 years ago
heck
2c432e678b
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
5 years ago
Hussein Kasem
e10209e8fc
JNI-94 Add get_machine_directory and get_user_directory wrapper and test
5 years ago
heck
94f2107df1
Acquire global mutex to obtain mutex for java obj
update stress test jni92, add option useSharedEngines
5 years ago
heck
c6d2732870
update stress test jni92
5 years ago
heck
d020c79c03
Replaced hashCode() with UniquelyIdentifiable.getId()
java.lang.Object.hashCode() returns non unique numbers.
5 years ago
heck
0254493742
Per object c++ mutex locking for the Engine class (java).
All calls to an Engine obj are locking the mutex for their respective object.
A unordered_map holds the mutex per java obj hash. The mutexes are created/deleted in constructor/destructor of an engine object.
A global mutex is being locked for write operations on the unordered map (not thread safe).
Cleanup of #includes
5 years ago
heck
e0df43342e
merge in tests from sync
5 years ago
heck
6ff6d378d3
Merge of JNI-92
5 years ago
heck
fd686c0f2e
Tests: improved Logging, prefix threadName
Test: jni92, single vs multithreaded mass instantiation of Engine
5 years ago
heck
25a07dcfde
Added Logging of every c/c++ function call (in DEBUG build only)
resolved possible var name ambiguity
corrected some formatting inconsistencies
5 years ago
heck
7621d7a306
test/ dir complete restructuring into standard java project layout.
new package foundation.pEp.jniadapter.test
shared classes and resources now possible for tests.
Preparation for Test Framework and Code Coverage tool.
5 years ago
heck
6f7c4536d9
Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all"
5 years ago
heck
3b94758f72
Test case for JNI-91 added. (its a start)
5 years ago
heck
fb66d77051
update existing tests
5 years ago
heck
d8ac087997
..and the dir/file renames too.
5 years ago
heck
c7a9d8b4af
Make all not supposed to make tests.
test naming scheme using dash instead of underline
5 years ago
Hussein Kasem
ac5835d191
Add missing flag to pEp.yml2
5 years ago
Hussein Kasem
103134a261
Android build: upgrade sequoia hash.
5 years ago
heck
880b3dabc1
Fix Linux build using g++
5 years ago
heck
71f497a6a1
Merge JNI-86
5 years ago
heck
eb098d63a2
improved tests for JNI-88
Option to have engine instance per thread, or single shared engine instance across threads
5 years ago
heck
614253fa24
Added test case for JNI-88
5 years ago
heck
badff929e4
Merge
5 years ago
heck
c72a677c81
Blob.toString() enhanced with plain data output.
Added Tests for addAttachment() / getAttachments()
Nonfunctional change, to_blob() now used in to_bloblist()
5 years ago
Hussein Kasem
163fe38149
JNI-86 Add ____Blob.cc to Android build
5 years ago
heck
fcc20e7507
Renaming of methods for semantical reasons, add plain data output to Blob.toString()
5 years ago
heck
e7e68633e0
forgot to add file
5 years ago
heck
e774036922
Added feature Blob.toString() - Human readable string representation of Blob.
The data field is ASN.1 XER decoded for mime_types:
"application/pEp.sync"
"application/pEp.keyreset"
5 years ago
heck
d34321a01b
Adding feature branch for JNI-86 "Message to XER decoder for Sync protocol (for debugging)"
feature to be added: Blob.toString (for attachement mime application/pEp.sync)
5 years ago
Hussein Kasem
c1b9fde8e4
AndroidBuild: Set sequoia commit bounded to pep-engine branch.
5 years ago
heck
97db93fc10
Add missing test/Makefile
6 years ago
heck
cd8fc6eebe
eliminate "use namespace pEp::Adapter" for better readability
6 years ago
heck
d07bef3cad
C++11 is the standard to be used for all adapters (acc. to Volker)
6 years ago