heck
6dcdab26d8
Tests - fix naming of test_pEpTest_basic.cc
4 years ago
heck
f62aae7658
pEpLog - fix pEpLogClassRaw
4 years ago
heck
aac0603b60
Tests: add first draft of pEpTest
pEpTest is the new testing framework featuring:
- Distributed Testing
- TestUnit Tree
* TestUnit config is inherited
* Hierarchy represents prerequisites
- Execution model supporting
* Functions
* Process serial and parallel
* Threads serial and parallel
- Lambdas (of course)
- DataModel
* Roles (1 ident)
* Identities
* Nodes
* Nodes and Roles have n-n relationship
- Perspective: Test are written from a 1st person perspective, which can assume any of the ROLES.
- Transport: send messages to ROLES, on any node.
4 years ago
heck
9426b6dcfa
pEpLog - typos and comments
4 years ago
heck
bb2a582e40
.gitignore
4 years ago
heck
24aafa8311
Test: test_message_cache.cc - missing include
4 years ago
heck
e27d594be6
C++ standard pEp-wide has been reverted to C++11
4 years ago
heck
9b3975189f
Test: Build - add -lpthread
4 years ago
heck
efa54bd050
Tests: Start new Test framework for distributed testing. (Multi-User / Multi-Device)
4 years ago
heck
c3aeb1e0ff
Tests: add framework/utils.cc - sleep_millis();
4 years ago
heck
a015331c53
Split utils.cc and add std_utils.cc
4 years ago
heck
2a5cdd4383
rename (there will be a group_member_api.h)
for
* group_join()
* group_query_membership()
* etc...
4 years ago
heck
9105e95cb9
Test: update test_group.cc - WIP
4 years ago
heck
2e7e1bfddf
Refactor out into a dedicated replication driver (Implementing the GroupManagerInterface)
This is just the C interface.
4 years ago
heck
9ab5d92340
adapter_group.h - group_join() is part of the group member API
4 years ago
heck
59110d5842
grp driver engine - restructure
4 years ago
heck
c21d0d862a
grp driver dummy - restructure
4 years ago
heck
fb2ce3f063
Create GroupManagerInterface
and move GroupQueryInterface and GroupUpdateInterface into same headerfile
4 years ago
heck
062a836b49
grp_update_drv_dummy.cc - bugfixes
4 years ago
heck
816299586b
grp_query_drv_dummy.cc - impl
4 years ago
heck
651fc5b181
grp_update_drv_dummy.cc - impl
4 years ago
heck
8ac42950d5
utils.cc - add to_cxx() for idenitylist, is_c_str_empty()
4 years ago
heck
2702f621f5
Tests: update because of Utils moved
4 years ago
heck
4ab61fccdb
listmanager_dummy - Separate DoesNotExistException into ListDoesNotExistException and MemberDoesNotExistException
4 years ago
heck
0d72ea5367
Add pEp::Utils - collection of helper functions and stuff...
Separated out from pEp::Test::Utils
4 years ago
heck
5225a3950a
grp interface: group_join() is not part of the MANAGER-API.
Does not exist in listmanagers
For LIB-16 - "Store groups a user is part of and provide a method to query them"
We need to create a separate DB _if_ we dont store it in the engine.
4 years ago
heck
b832f80832
Tests: listmanager_dummy - member_add() and member_remove()
Test throws DoesNotExistException if list does not exist
4 years ago
heck
c3f62ccb90
Fix: listmanager_dummy - member_add() and member_remove() Throw DoesNotExistException if list does not exist
4 years ago
heck
cd1c137e30
Test: test_adapter - use TESTLOG() instead od pEpLog() for tests
4 years ago
heck
be1255f263
Test: test_adapter - use TESTLOG() instead od pEpLog() for tests
4 years ago
heck
c0bc63dc8f
Test: test_ensure_passphrase - remove of unused includes
4 years ago
heck
40132db3e2
Test: test_group - use pEpLog::log() instead of cout
4 years ago
heck
5ec8455792
Test: test_listmanager_dummy - move the ASSERT_EXCEPT macro to utils
4 years ago
heck
b5bd084580
Test: test_pEpSQLite - Switch from pEpLog() to using TESTLOG()
Also, use the ASSERT_EXCEPT macro from Test::Utils
4 years ago
heck
cf7c5feea1
Test: Framework improve logging
depend on pEpLog, but add logging macros that are for testing and are not controlled by pEpLog::set_enabled(), so you can disable library logging.
4 years ago
heck
629d17f809
correct the typo in "m4gic_logger_n4me"
4 years ago
heck
b42b971966
pEpLog - Add functions and Macros for logH1() logH2()
Also, only the macros are now controlled by set_enabled().
The normal functions arent.
4 years ago
heck
3444377bc2
Tests: test_listmanager_dummy - use log()
4 years ago
heck
42855fdeee
Test: Utils - add const, add log() and lograw()
4 years ago
heck
ae0eee6f97
grp enc interface - add noexcept, just more as a comment
4 years ago
heck
a2c5c99046
grp enc interface - ommit pEp_group in adapter_group_create()
4 years ago
heck
9ea23feeb2
LIB-11: ListManagerInterface is misconception
4 years ago
heck
02d7ec1387
LIB-11: adapter_group.cc - add some impl
4 years ago
heck
abea6b17f9
LIB-11: Add GroupQuery Dummy Driver
4 years ago
heck
2d32c442ff
LIB-11: Add GroupUpdate Dummy Driver
4 years ago
heck
fc7f8b5af3
LIB-11: Add GroupUpdate Engine Driver
4 years ago
heck
711a896095
LIB-11: Add GroupQueryInterface
4 years ago
heck
a8916c9ac1
LIB-11: Add GroupUpdateInterface
4 years ago
heck
14cb72dca9
adapter_group.h - group_rating() is not part of this interface
4 years ago
heck
e19e3a42a4
Merge branch 'LIB-12' into LIB-11 - "Add List Manager Backend: Dummy (SQLite3)"
4 years ago