Files
libkiwix/test
Veloman Yunkan e93ccd18d4 Robust test data in ServerTest.404WithBodyTesting
Before this change the meaning of test data in the ServerTest.404WithBodyTesting
unit test entirely depended on the number of entries:

- 2 entries: url, expected body
- 4 entries: url, book name, book title and expected body

This was fragile and non scalable (if other combinations of expected
response data are needed).

This commit defines a mini-DSL taking advantage of operator overloading
that allows to define test data in a robust way with the help of the compiler.

Some code in `TestContentIn404HtmlResponse` is obsoleted by this change
however it is not removed in this commit so that the change is easier to
understand. That will be done next.
2022-03-11 22:53:38 +04:00
..
2022-01-11 17:53:29 +01:00
2022-01-12 18:07:46 +01:00
2021-11-16 09:39:56 +01:00
2020-01-20 17:00:18 +01:00
2021-11-30 18:20:27 +04:00
2022-01-13 14:23:29 +01:00
2021-06-30 18:27:00 +02:00
2021-07-07 14:43:13 +02:00
2020-10-28 16:03:18 +01:00
2020-01-20 17:00:18 +01:00