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
24aafa8311
Test: test_message_cache.cc - missing include
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
9105e95cb9
Test: update test_group.cc - WIP
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
b832f80832
Tests: listmanager_dummy - member_add() and member_remove()
Test throws 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
3444377bc2
Tests: test_listmanager_dummy - use log()
4 years ago
heck
42855fdeee
Test: Utils - add const, add log() and lograw()
4 years ago
heck
a2c5c99046
grp enc interface - ommit pEp_group in adapter_group_create()
4 years ago
heck
943f07c469
test_listmanager_dummy - Add Error conditions / add list_exists(), member_exists()
4 years ago
heck
316e7cc5d5
Tests: test_listmanager_dummy - forgot some const
4 years ago
heck
ace39bb69d
Tests: test_pEpSQLite.cc - clean
4 years ago
heck
220f588cb4
rm old prototype
4 years ago
heck
48d2a7670a
Tests: Add tests for class ListManagerDummy
4 years ago
heck
c42866978f
test: pEpSQLite - fix cleanup
4 years ago
heck
06a3fdb0b0
Tests: Utils rename to_string() functions
4 years ago
heck
50130c5caf
Tests: Move util functions to utils.cc
4 years ago
heck
082e886357
Tests: Add tests for pEpSQLite
NEVER IMITATE THIS WAY OF WRITING TESTS.
THIS IS FUCKING STUPID.
4 years ago
heck
591b5c0fc2
Tests: add util functions
add vector_to_string<T>()
add print_exception() - to print nested exceptions
4 years ago
heck
939719dea2
LIB-12: listmanager prototype done
4 years ago
heck
aadeb4bd25
LIB-12: Simplification Massive - BIGUP FDIK!
4 years ago
heck
3079dff801
LIB-12: Dummy List manager prototype complete
4 years ago
heck
cf262572ab
LIB-12: add test_sqlite3.cc as a playground
4 years ago
heck
c3cd6623ce
LIB-12: Test - Add test_lm_dummy.cc
4 years ago
heck
c28ecc5764
LIB11: Test - update
4 years ago
heck
d79fb50070
Tests: Framework - Add funcs logH1 / logH2
4 years ago
heck
18d61b9f06
LIB-11: Test - add group_rating() / Failing / create / functions for Test Units
4 years ago
heck
5df8a83544
LIB-11: update test (memberlist of create_group() can only have NON-OWN identities)
4 years ago
heck
805c28a92f
LIB-11: update test
4 years ago
heck
1de257538d
Tests: Framework - add identitylist_to_string()
4 years ago
heck
5555066c4b
Tests: add test_group.cc
4 years ago
heck
c8590750c8
Tests: Framework - Add utils.cc with some *_to_string() funcs
4 years ago
heck
0aa66aa543
Tests: compiler generated header prerequisites somehow not working
4 years ago
heck
b02fb84ecf
Tests: lets use namespace pEp, but not more. (Its just a LOT easier to navigate especially for other people, plus the habit of just including every namespace everywhere does not scale, its messy). Use namespace aliases.
And lets NOT import a namespace into an other namespace like importing std into Adapter.
4 years ago
heck
04b86758fa
Tests: framework.hh - no using directives in headers....
4 years ago
heck
b54f9d122b
Build: Makefiles cleanup
4 years ago
heck
07b4ee6e97
tests: create subdir "framework"
4 years ago
heck
c2e6504895
LIB-15 - update test (just add some output)
4 years ago