Stefan Weil
a6da64234e
unittest: Fix and enable validate_myanmar_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-23 13:54:27 +01:00
Stefan Weil
d67287a5d9
unittest: Fix and enable validate_khmer_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-23 13:54:27 +01:00
Stefan Weil
611d5e6358
unittest: Fix and enable validate_indic_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-23 13:54:27 +01:00
Stefan Weil
d97f67da63
unittest: Fix and enable validate_grapheme_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-23 13:54:27 +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
Stefan Weil
4b821b2c6b
Fix and enable layout_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-21 17:36:08 +01:00
Shree Devi Kumar
0d6d8108c8
Add sources for layout_test and dawg_test to Makefile
2019-01-21 17:36:08 +01:00
Stefan Weil
0ae8fdc859
Fix build for unicharcompress_test
...
* Add abseil library
* Add minimalistic implementation for WriteStringToFile
* Add missing namespace for std::string
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-19 08:34:00 +01:00
Shree Devi Kumar
9e599e1e54
Partial fix for unicharcompress_test
2019-01-19 05:13:03 +00:00
Shree Devi Kumar
20ed60b31f
Fix unicharset_test
2019-01-18 16:41:29 +00:00
Stefan Weil
7fc7d28dd0
Compile files for AVX, AVX2 or SSE only when needed
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-14 21:34:37 +01:00
Stefan Weil
5d3d251267
Fix build for unittest
...
Debug builds failed because libpthread (needed for googletest) was missing.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-14 17:56:35 +01:00
Stefan Weil
f4ec5beedc
Remove dummy test
...
This reverts commit 99755b0732
.
The dummy test is no longer needed as there exist a lot of real tests now.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-08 18:53:15 +01:00
Shree Devi Kumar
f5dfab1559
Add Leptonica lib for baseapi_test
2018-10-13 17:22:49 +00:00
Stefan Weil
3f5c36191f
unittest: Disable build rules for tests which still fail to build
...
This fixes warnings from autogen.sh.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 17:48:57 +02: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
f93fb9de74
unittest: Add lang_model_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
de6a759744
unittest: Add paragraphs_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 16:23:10 +02:00
Stefan Weil
53f0e7658f
unittest: Add imagedata_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 15:15:02 +02:00
Stefan Weil
420a0286fd
unittest: Add fileio_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 08:13:39 +02:00
Stefan Weil
d3cf423748
unittest: Add qrsequence_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 08:01:58 +02:00
Stefan Weil
11f82f5c1e
unittest: Add baseapi_test
...
* Add Abseil sources to build process.
* Add copyright comment.
* InitConfigOnlyTest no longer tests
hin.traineddata because it is LSTM only.
* Fix std::string.
* Deactivate tests with missing test data.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-11 22:18:58 +02:00
Shree Devi Kumar
b5d41b77eb
Add leptonica-libs for apply-boxes test
2018-08-30 04:25:28 +00:00
Stefan Weil
46f65bf0c2
unittest: Fix and enable applybox_test
...
It needs an update of the test submodule.
The tests only pass with a small modification of the ground truth texts
(kTruthTextWords, kTruthTextLine).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-28 21:03:49 +02:00
Stefan Weil
c1af1f6694
unittest: Fix and enable commandlineflags_test
...
It only works if training is enabled and built.
The test "PrintUsageAndExit" had to be disabled because it
currently fails.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-27 11:55:23 +02:00
Stefan Weil
ca7ae1c3a6
unittest: Fix and enable validator_test
...
It requires additional training libraries, so this test only works
if training is enabled and build.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-27 11:45:35 +02:00
Stefan Weil
70665721f4
unittest: Fix and enable tfile_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
8e404679c1
unittest: Fix and enable tabvector_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
aac00836d5
unittest: Fix and enable tablerecog_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
7aef7a304f
unittest: Fix and enable tablefind_test
...
This requires a local definition for macro ABSL_ARRAYSIZE
(normally defined as part of the Abseil API).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
f95725afcb
unittest: Fix and enable stats_test
...
This requires a local definition for macro ABSL_ARRAYSIZE
(normally defined as part of the Abseil API).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
6df28fb3f0
unittest: Fix and enable rect_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
3d38e8ceb7
unittest: Fix and enable nthitem_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
f876ddb084
unittest: Fix and enable linlsq_test
...
Sort also the tests alphabetically.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-26 19:15:06 +02:00
Stefan Weil
aec9ce7757
unittest: Fix and enable intfeaturemap_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:39:41 +02:00
Stefan Weil
c4eda838aa
unittest: Fix and enable indexmapbidi_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:39:40 +02:00
Stefan Weil
de7676c88e
unittest: Fix and enable heap_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:39:40 +02:00
Stefan Weil
2dc0b68147
unittest: Fix and enable denorm_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00
Stefan Weil
bb101defdb
unittest: Fix and enable colpartition_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00
Stefan Weil
68db6aa5df
unittest: Fix and enable cleanapi_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00
Stefan Weil
0dc5c8ef3f
unittest: Fix and enable bitvector_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00
Stefan Weil
6a28cce96b
Fix whitespace issues
...
* Remove whitespace (blanks, tabs, cr) at line endings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-01 13:19:52 +02:00
Shree Devi Kumar
16e45d21a0
Test load of all langs and scripts for all 3 tessdata repos
2018-06-17 05:31:32 +00:00
Stefan Weil
165622c745
Fix symbolic link in unittest
...
The unittest could not run when building out of source tree.
Fix the symbolic link and make sure that the directory for it exists.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-09 14:15:13 +02:00
Shree Devi Kumar
2563380d51
move testing and testdata to test, add unlvtests
2018-06-06 12:20:14 +00:00
Jaroslaw Kubik
e05d333378
Added tests for progress reporting API
...
The progress reporting API is now tested using googlemock tools.
2018-06-02 00:47:34 +02:00
Jaroslaw Kubik
92168c5e8b
Added googlemock building instructions
...
The googlemock tools are already present, so why not make use of
it. It can be usefull for testing callbacks.
2018-06-02 00:42:37 +02:00
Stefan Weil
a2a12a4469
Fix unittest for autotools configuration after source tree reorganisation
...
Now "make check" also works again.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-25 21:33:28 +02:00
Stefan Weil
95f39142ac
Fix unittest (missing include path)
...
Add include path for api/tess_version.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-24 13:17:57 +02:00
amitdo
c3e6083e42
Remove 'AUTOMAKE_OPTIONS' from all Makefile.am files
...
'AM_INIT_AUTOMAKE()' in configure.ac sets options globally.
2018-04-23 14:01:16 +03:00