tesseract/unittest
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
..
apiexample_test.cc Fix whitespace issues 2018-08-01 13:19:52 +02:00
applybox_test.cc unittest: Fix and enable applybox_test 2018-08-28 21:03:49 +02:00
baseapi_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
baseapi_thread_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
bitvector_test.cc unittest: Fix and enable bitvector_test 2018-08-25 18:16:46 +02:00
cleanapi_test.cc unittest: Fix and enable cleanapi_test 2018-08-25 18:16:46 +02:00
colpartition_test.cc unittest: Fix and enable colpartition_test 2018-08-25 18:16:46 +02:00
commandlineflags_test.cc unittest: Fix and enable commandlineflags_test 2018-08-27 11:55:23 +02:00
dawg_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
denorm_test.cc unittest: Fix and enable denorm_test 2018-08-25 18:16:46 +02:00
equationdetect_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
fileio_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
heap_test.cc unittest: Fix and enable heap_test 2018-08-25 18:39:40 +02:00
imagedata_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
include_gunit.h unittest: Fix and enable stats_test 2018-08-26 19:15:06 +02:00
indexmapbidi_test.cc unittest: Fix and enable indexmapbidi_test 2018-08-25 18:39:40 +02:00
intfeaturemap_test.cc unittest: Fix and enable intfeaturemap_test 2018-08-25 18:39:41 +02:00
intsimdmatrix_test.cc Clean more include files and include statements 2018-06-24 19:45:12 +02:00
lang_model_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
layout_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
ligature_table_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
linlsq_test.cc unittest: Fix and enable linlsq_test 2018-08-26 19:15:06 +02:00
loadlang_test.cc Fix whitespace issues 2018-08-01 13:19:52 +02:00
log.h Add unit test for OSD, update apiexample test (#1359) 2018-03-04 14:52:27 +01:00
lstm_recode_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
lstm_squashed_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
lstm_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
lstmtrainer_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
Makefile.am unittest: Fix and enable applybox_test 2018-08-28 21:03:49 +02:00
mastertrainer_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
matrix_test.cc remove duplicate - gunit.h 2017-09-10 14:50:59 +05:30
networkio_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
normstrngs_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
nthitem_test.cc unittest: Fix and enable nthitem_test 2018-08-26 19:15:06 +02:00
osd_test.cc Fix whitespace issues 2018-08-01 13:19:52 +02:00
pagesegmode_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
pango_font_info_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
paragraphs_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
params_model_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
progress_test.cc Fix CID 1393240 (Missing return statement) 2018-06-20 17:14:53 +02:00
qrsequence_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
README.md remove duplicate - gunit.h 2017-09-10 14:50:59 +05:30
recodebeam_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
rect_test.cc unittest: Fix and enable rect_test 2018-08-26 19:15:06 +02:00
resultiterator_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
scanutils_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
shapetable_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
stats_test.cc unittest: Fix and enable stats_test 2018-08-26 19:15:06 +02:00
stridemap_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
stringrenderer_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
tablefind_test.cc unittest: Fix and enable tablefind_test 2018-08-26 19:15:06 +02:00
tablerecog_test.cc unittest: Fix and enable tablerecog_test 2018-08-26 19:15:06 +02:00
tabvector_test.cc unittest: Fix and enable tabvector_test 2018-08-26 19:15:06 +02:00
tatweel_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
textlineprojection_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
tfile_test.cc unittest: Fix and enable tfile_test 2018-08-26 19:15:06 +02:00
unichar_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
unicharcompress_test.cc unittest: Replace NULL by nullptr 2018-04-22 17:42:36 +02:00
unicharset_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
validate_grapheme_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
validate_indic_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
validate_khmer_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
validate_myanmar_test.cc Add more unittests from Google 2018-08-25 18:16:46 +02:00
validator_test.cc unittest: Fix and enable validator_test 2018-08-27 11:45:35 +02:00

Unit Testing for Tesseract

To run the tests, do the following in tesseract folder

autoreconf -fiv
git submodule update --init
export TESSDATA_PREFIX=/prefix/to/path/to/tessdata
make check