heck
f33bd93de8
Fixed wrong class reference.
reg test succeeds now.
5 years ago
heck
238aba2e3e
Enable CipherSuite test in regtest suite. (Failing, for JNI-104)
5 years ago
heck
554a2c9c68
Update test to use the test framework
5 years ago
heck
2e6b1ebccd
X-pEp-Version = '2.1' <- using getProtocolVersion()
5 years ago
heck
20cdbbf90b
Added templateAlice, templateAliceBob (from template)
5 years ago
heck
53657d764a
Enhance Tests and TestUtils (Message pretty printing)
5 years ago
heck
a1555e720f
Add EncFormat PEPEncInlineEA. BUT a lot of question marks. see TODO:
5 years ago
heck
f09fcbcaff
more TestFramework (reduce dependencies)
5 years ago
heck
b749bbc0e5
Improve the test framework
5 years ago
heck
07a78b4009
Remove testcase for rejected issue
5 years ago
heck
c787ffcec9
Changed regression test to use the extracted test.framework pkg.
5 years ago
heck
9c1afb3a0c
add template to tests Makefile
5 years ago
heck
ca917573b1
Add test framework (extracted) and test template
5 years ago
heck
9affc54d8f
Add test jni98 to tests main Makefile
5 years ago
heck
78a7ad7826
Generally clean PER_USER_DIRECTORY (.pEp) before every testrun.
5 years ago
heck
124fac56a4
Test case for JNI-98 - Testing incomingMessageFromPGPText()
5 years ago
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