Stefan Weil
|
a7a729f6c3
|
Disable CI checks which are no longer valid with NFC normalization
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-10-27 19:15:44 +02:00 |
|
Stefan Weil
|
87707bb8b0
|
unittest: Remove dependency on absl::StrSplit()
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-08-06 20:59:09 +02:00 |
|
Egor Pugin
|
a792b67983
|
Basic usage of new Image class. Only pixDestroy is wrapped at the moment.
Add new methods to Image class and replace them in non-public code.
|
2021-03-31 22:39:43 +03:00 |
|
Stefan Weil
|
fbaac9dc9d
|
Modernize code (clang-tidy -checks='-*,google-readability-braces-around-statements')
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-03-22 09:03:51 +01:00 |
|
Stefan Weil
|
77ed2886a7
|
Modernize code (clang-tidy -checks='-*,modernize-loop-convert')
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-03-22 09:02:51 +01:00 |
|
Stefan Weil
|
576c09bf31
|
Replace remaining STRING by std::string in unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-03-15 09:11:41 +01:00 |
|
Egor Pugin
|
bcebf04f8e
|
[unittest] Use more smart ptrs, more std::make_unique instead of .reset(new T()).
|
2021-03-14 23:06:19 +03:00 |
|
Stefan Weil
|
c9f0da49ca
|
Replace more STRING by std::string
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-03-13 21:15:52 +01:00 |
|
Egor Pugin
|
1d5b083447
|
[clang-format] Format unit tests.
|
2021-03-13 00:06:34 +03:00 |
|
Stefan Weil
|
bc69e28de3
|
Update include statements for external header file allheaders.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-02-13 10:17:20 +01:00 |
|
Stefan Weil
|
a522377993
|
Fix stringrenderer_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2021-01-10 23:22:45 +01:00 |
|
Egor Pugin
|
e6b00e6579
|
[test] Init fontconfig early.
|
2021-01-05 20:48:09 +03:00 |
|
Egor Pugin
|
e3dcfb648a
|
Reorder includes.
|
2021-01-04 18:11:23 +03:00 |
|
Egor Pugin
|
c86325e2f7
|
Use TESS_API for every public symbol. Public symbol is exported from the library. This also applies to unit test and training symbols. Users will be limited to public api, but set of exported symbols will be wider still.
Remove TESS_LOCAL.
Fix several symbol issues that made visible with these changes.
All build systems must set -fvisibility-hidden for *nix systems.
|
2020-12-31 16:32:29 +03:00 |
|
Egor Pugin
|
3a66282e92
|
Remove GOOGLE_TESSERACT ifdefs.
|
2020-12-31 14:23:52 +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
|
b7df4bc1dd
|
[test] Create tmp dir in more tests.
|
2020-12-30 16:44:59 +03:00 |
|
Stefan Weil
|
4043204c2b
|
Use old genericvector.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-30 07:10:29 +01:00 |
|
Stefan Weil
|
90af3e7b5c
|
Remove strngs.h from public API
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
64e902ddf7
|
Remove genericvector.h from public API
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01: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
|
2bfa52d517
|
Force fontconfig pangocairo backend for stringrenderer_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-23 12:59:57 +01:00 |
|
Stefan Weil
|
e3e7a9bf33
|
Use #include <tesseract/*.h> for unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-10-29 18:01:18 +01:00 |
|
Stefan Weil
|
26ba7e2f81
|
Fix #include path of public headers for unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-10-29 08:41:47 +01:00 |
|
Stefan Weil
|
eec9c96767
|
Remove member functions STRING::string and StringParam::string (continued)
Commit 994ec697d8 did not update unittest.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-09-25 10:07:51 +02:00 |
|
Stefan Weil
|
639781b5c8
|
stringrenderer_test: Get system locale only once
This fixes a runtime exception on macOS.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-05-18 13:24:13 +02: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
|
aaf8c50a12
|
unittest: Use range-for-loops
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-03-25 09:36:32 +01:00 |
|
Shree Devi Kumar
|
51604dd170
|
Disable ligature related subtest in stringrenderer
|
2019-01-24 18:51:33 +00:00 |
|
Stefan Weil
|
4b24d8cdf6
|
Fix and enable stringrenderer_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2019-01-23 13:55:13 +01: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 |
|