Peter Keresztes Schmidt
545f0dbb96
utils: cleanup Base64Encode
2021-04-04 00:39:40 +02:00
Peter Keresztes Schmidt
e330f8553d
utils: cleanup Split and Join
2021-04-04 00:30:18 +02:00
Peter Keresztes Schmidt
39a896f5b6
utils: cleanup StartsWith
2021-04-03 23:51:12 +02:00
Peter Keresztes Schmidt
3dbf13e00b
utils: cleanup ReplaceAll
2021-04-03 23:50:35 +02:00
Peter Keresztes Schmidt
664cd649f8
utils: cleanup Trim (was trimSet) and TrimSpaces
2021-04-03 23:30:59 +02:00
Peter Keresztes Schmidt
3968a411a0
tests/utils: Add tests for QueryString
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
fa7c420442
tests/utils: Add tests for UriDecode
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
46a4b615c8
tests/utils: Add tests for base64Encode
...
Test vectors according to RFC4648
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
bbc4afcf1b
tests/utils: Add tests for join
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
e54c10fdb4
tests/utils: Add tests for StringVector split(const std::string&, const std::string&, int limit=0)
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
64cf69ebc1
tests/utils: Add tests for int split(const char*, const char, std::vector<std::string>&)
2021-04-03 22:37:44 +02:00
Peter Keresztes Schmidt
bde0bde066
tests/utils: Add tests for startsWith
2021-04-03 22:35:03 +02:00
Peter Keresztes Schmidt
13f91b5826
tests/utils: Add tests for replaceAll
2021-04-03 22:35:03 +02:00
Peter Keresztes Schmidt
6150ceeb17
tests/utils: Add tests for trimSpaces
2021-04-03 22:35:03 +02:00
Peter Keresztes Schmidt
4529e59b1d
tests/utils: Add tests for trimSet
2021-04-03 22:35:03 +02:00
Peter Keresztes Schmidt
00104b020c
Build: Link our libs and executable targets against zm-core-interface
2021-02-08 23:08:22 +01:00
Peter Keresztes Schmidt
bb067c065b
tests: Add unit tests for JWT validation
2021-02-04 18:53:58 +01:00
Peter Keresztes Schmidt
bef4e4032f
Add Catch2 as C++ test framework
...
Use -DCMAKE_BUILD_TEST_SUITE=1 during CMake invocation to activate building the tests.
The 'tests' target builds the unit tests which can then be executed using the 'test' target.
We depend on the Catch2 version of the system.
Since development normally takes place on current OSs, this shouldn't pose a problem.
2021-02-04 18:53:54 +01:00