Stefan Weil
cb80eb6963
Modernize code (clang-tidy -checks='-*,modernize-use-override')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:13 +01:00
Egor Pugin
1d5b083447
[clang-format] Format unit tests.
2021-03-13 00:06:34 +03:00
Stefan Weil
f7d7aa6b95
Make tmp directory for all unit tests
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-30 18:17:58 +01:00
Egor Pugin
3817fed897
[test] Reorder includes.
2020-12-30 03:33:38 +03:00
Egor Pugin
dc9bfde8ec
[test] Fix mkdir on unix in dawg test.
2020-12-30 03:33:28 +03:00
Egor Pugin
f8957ebcc5
[test] Fix dawg.
2020-12-30 02:38:11 +03:00
Stefan Weil
a61d7ac2ee
Add / fix namespace tesseract for unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-27 10:54:43 +01:00
Stefan Weil
e66243fcea
Fix unittest for flag training build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-21 16:24:02 +01:00
Stefan Weil
8e7b1119b5
Run more unittests with the user's locale
...
Hopefully this improves the test coverage.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-05-16 18:12:55 +02:00
Stefan Weil
2c0ddb4220
Update file paths in dawg_test
...
Get unicharset and wordlist files from test/testing and use the latest
test submodule which provides those files.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-21 20:08:11 +01:00
Stefan Weil
4edc61fd3f
unittest: Add missing license headers for dawg_test and layout_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-21 17:36:08 +01:00
Stefan Weil
05cdbc7c9c
Fix and enable dawg_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-21 17:36:08 +01:00
Shree Devi Kumar
0f0eaa9f30
Partial fix for layout_test and dawg_test
2019-01-21 17:36:08 +01: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