Leonid Stryzhevskyi
4bfa3db6f5
move Environment.hpp to root folder
2024-04-23 02:41:04 +03:00
Leonid Stryzhevskyi
f0ae36e086
move 'oatpp/core/macro/*' --> 'oatpp/macro/*'
2024-04-23 02:01:31 +03:00
Michel Wohlert
d427e200e9
Allow overriding DI injected variables in ClientServerTestRunner
...
Move OATPP_COMPONENT calls to constructor to allow supplying variables without using DI
2023-11-14 13:37:04 -08:00
Ferry Huberts
aa02f4bb3f
Fix Clang compiler warnings (-Wextra-semi-stmt)
...
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
6dfe302829
Fix compiler warnings (-Wsuggest-attribute=format)
...
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-16 13:56:27 +02:00
Ferry Huberts
99dc0916ed
Fix compiler warnings (-Wextra-semi)
...
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-21 22:45:42 +02:00
lganzzzo
5d2f8693eb
Remove memory pools. Remove ChunkedBuffer.
2021-11-16 01:45:15 +02:00
lganzzzo
f43f3fe661
HttpRouter: better API.
2021-10-25 02:19:13 +03:00
lganzzzo
c80047b6bd
UnitTest.hpp fix includes
2021-10-14 02:30:55 +03:00
Kai Meinhard
6e4e30bfa2
Update src/oatpp-test/UnitTest.hpp
...
Co-authored-by: Benedikt-Alexander Mokroß <github@bamkrs.de>
2021-10-13 15:16:28 +02:00
Kai Meinhard
f4a178f9f7
[UnitTest]: Added before and after methods to Unit Test
...
There might be some setup/teardown code that is no supposed
to run in every iteration of a test.
Additionally this code is not included in the time measurement.
2021-10-13 14:54:55 +02:00
Benedikt-Alexander Mokroß
dbd02bb98d
Merge remote-tracking branch 'origin/conditional_server_run' into conditional_server_run
2021-01-04 09:37:08 +01:00
Benedikt-Alexander Mokroß
de2f6cd59c
Replaced erroneous pass-by-value with pass-by-reference in ClientServerTestRunner.hpp that prevented shutting down the server correctly.
2021-01-04 09:36:55 +01:00
Benedikt-Alexander Mokroß
ba5e582bc8
Implemented review changes from @lganzzzo and marked run(bool)
as deprecated
2020-12-31 22:03:40 +01:00
Benedikt-Alexander Mokroß
86ae1132ca
WIP/Discussion: Let server check an (optional) condition if it should continue to loop.
...
Instead of an external invocation of `stop()` to stop a running server, one could pass an lambda that returns true when the server should continue to run or false if it should stop.
Ideally this function should return as fast as possible and only do minimal amount of work. Like an interrupt function in µC.
This would ease the implementation of simple stopping mechanism that do not require external threads or other management.
For more complex functions, the minimal `bool()` function can be bound with `std::bind` to pass parameters etc.
2020-12-29 14:26:55 +01:00
lganzzzo
05d5e4dd4f
oatpp::network. Refactor: move/rename SimpleTCPConnectionProvider, Connection, ConnectionHandler, Server.
2020-09-27 02:47:30 +03:00
lganzzzo
e889642188
network::ConnectionProvider. Basic refactoring - extend provider::Provider, new method names.
2020-07-29 02:03:26 +03:00
lganzzzo
c9aeb9337f
fix thread sanitizer warnings
2019-10-31 03:17:59 +02:00
Benedikt-Alexander Mokroß
b583052b2e
Warningless in -Wextra, hardened sprintf-calls.
2019-08-12 09:18:49 +02:00
lganzzzo
13fbcf9930
Better Logging system
2019-05-26 16:45:02 +03:00
lganzzzo
c54dbe662c
proper server stoppage in Full-Tests with real port
2019-04-29 02:56:53 +03:00
lganzzzo
4b3ea45ec0
remove timer-wait in ClientServerTestRunner - join threads instead
2019-04-27 03:39:47 +03:00
lganzzzo
04393657e5
oatpp::test::UnitTest print non-empty pools only on failure
2019-04-27 03:08:28 +03:00
lganzzzo
b3b45593f1
include thread in ClientServerTestRunner
2019-04-06 04:55:02 +03:00
lganzzzo
d9b42312bd
remove classes Thread and Runnable
2019-03-23 03:06:39 +02:00
lganzzzo
72178f61eb
API docs for oatpp-test/Checker.hpp oatpp-test/UnitTest.hpp. Better docs for code-get macros
2019-03-17 22:37:47 +02:00
lganzzzo
70da953b0f
fix ubuntu build
2019-02-23 17:26:48 +02:00
lganzzzo
9efb58fc02
Better ClientServerTestRunner
2019-02-23 16:53:07 +02:00
lganzzzo
f7ce8ea873
better test framework. + ClientServerTestRunner
2019-02-23 02:43:15 +02:00
lganzzzo
1c4fb11296
ClientServerTestRunner draft
2019-02-22 19:18:59 +02:00
lganzzzo
ba4d22e1af
UnitTest::onRun return void
2019-02-22 15:48:34 +02:00
lganzzzo
75eaa09263
remove ',' in license header
2019-02-16 23:38:47 +02:00
lganzzzo
6dc0898ef7
module restructuring
2019-01-21 05:03:23 +02:00