Stefan Weil
b0e0e27abf
Fix build for unittests
...
Commit 29f2cff203
was the wrong fix
for the compiler warnings because it broke the unittest build.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-06-16 18:31:42 +02:00
Stefan Weil
fdb3f58c6c
unittest: Remove unused methods
...
This fixes compiler warnings.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-06-16 18:31:01 +02:00
Stefan Weil
ce6b0c024c
Fix more build error for compilation without legacy engine
...
Skip the tests which need the legacy code.
Add also code to those tests to use the user's locale to test that, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-05-16 20:24:54 +02:00
Shree Devi Kumar
57f74d2b73
Fix file location for unicharset for mastertrainer_test
2019-01-21 17:36:08 +01:00
Stefan Weil
2916dc86dd
unittest: Add mastertrainer_test (only works partially)
...
The test currently has subtests which fail because of missing files.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 16:23:13 +02:00
Stefan Weil
4ec9c86226
unittest: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-29 09:27:12 +02:00
Stefan Weil
9e66fb918f
unittest: Format code
...
It was formatted with clang-format-7 -i unittest/*.{c*,h}.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-29 09:19:13 +02:00
Stefan Weil
2b7df59187
Add more unittests from Google
...
They were provided by Jeff Breidenbach <jbreiden@google.com>.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00