Hussein Kasem
75552d51cf
Add include pEp/pEpLog on basic_api.cc and fix identity_api.cc includes.
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
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
2c432e678b
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
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
heck
9718a96b9d
Backed out changeset f0b49dde7901
6 years ago
heck
4dc18f34c3
C++11 is the standard to be used for all adapters (acc. to Volker)
6 years ago
heck
338559da71
Further project/Makefile structures for tests
6 years ago
heck
08f4061962
test/Makefile.conf for common build information for all tests
Included after main Makefile.conf.
6 years ago
heck
18c33872ec
Lets start a substructure in test/, one dir for each test case.
With the collected test cases we can regression test old bugs.
6 years ago
Hussein Kasem
597c74a419
Remove buggy detach
6 years ago
Hussein Kasem
a46cbfafa8
JNI-85 Try to reproduce it - without success
6 years ago
Hussein Kasem
36757c11de
Update hgignore
6 years ago
Hussein Kasem
b70be6352f
Backed out changeset bb9fff033bdb
6 years ago
Hussein Kasem
0b20021d68
Remove buggy detach
6 years ago