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
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