heck
6492cd7b5e
minor fix in jni-92 due to TestUtils change
5 years ago
heck
680703e20e
NullPointer Resistant msgToString()
created JNI-99 - "Class Message: getter should never throw NullPointerExceptions"
5 years ago
heck
d51a8066c0
Add keydata for Alice and Bob
5 years ago
heck
4947771c31
Enhance TestUtils. Much of this should be moved to the API itself.
5 years ago
heck
cf5471a617
New example local.conf file
Replaced ENGINE_LIB,ENGINE_INC,AD_LIB,AD_INC.
local.conf migration might be necessary, but see local.conf.example
JAVA_HOME now guessed on linux
make clean now cleans .so and .dylib always (now you can share the workspace between linux and mac)
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
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
fd686c0f2e
Tests: improved Logging, prefix threadName
Test: jni92, single vs multithreaded mass instantiation of Engine
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
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
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
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
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
97db93fc10
Add missing test/Makefile
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
a46cbfafa8
JNI-85 Try to reproduce it - without success
6 years ago
heck
cbf1b2221c
Makefile bugfix
6 years ago
heck
190e74a80b
test/Makefile Add DYLD_ and LD_LIBRARY_PATH
6 years ago
Hussein Kasem
20a01aa173
Modify Testing to use a separate key for encryption
6 years ago
Hussein Kasem
596a095e70
Move from org.pEp.* to foundation.pEp.*
6 years ago
Hussein Kasem
b3b07f0b56
Backed out changeset: 775a4c456008 - return to org.pEp
6 years ago
Volker Birk
45f754e49c
...
6 years ago
Volker Birk
bd93625ee8
add timing
6 years ago
Volker Birk
14ebadc786
introduce engine.startSync() and engine.stopSync()
6 years ago
Volker Birk
89b18ff704
...
6 years ago
Volker Birk
dad94000fa
opteemyzing & exception checks
6 years ago
Volker Birk
e926d1c669
class variables must not be global
6 years ago
Hussein Kasem
7d383ebf60
JNI-75 Wrap outgoing rating preview.
7 years ago
Hussein Kasem
8e1deb894d
Fix testing,java - and use build using o files instead of lib.a *WORKARROUND*
7 years ago
Hussein Kasem
a204c0565b
Add disable sync switch for keyrest and so on...
7 years ago
Hussein Kasem
772988f557
Adapt test to call callbacks...
7 years ago
Hussein Kasem
4b7ea748eb
Explicitily generate a new key and use it to encrypt.
7 years ago
Hussein Kasem
3187279c34
Fix Testing.java - Build again
7 years ago
Volker Birk
2d3574ad55
...
10 years ago
Volker Birk
ed7ca0b520
testing decryption completed
10 years ago
Volker Birk
3388a8f1cd
decrypting bugfixes
10 years ago
Volker Birk
79b72f31fe
setting me
10 years ago
Volker Birk
fbf8f8710f
Color correction
10 years ago