tesseract v5.3.3.20231005
baseapi_thread_test.cc File Reference
#include <functional>
#include <memory>
#include <string>
#include <allheaders.h>
#include <tesseract/baseapi.h>
#include "commandlineflags.h"
#include "include_gunit.h"
#include "log.h"
#include "image.h"

Go to the source code of this file.

Classes

class  tesseract::BaseapiThreadTest
 

Namespaces

namespace  tesseract
 

Functions

 BOOL_PARAM_FLAG (test_tesseract, true, "Test tesseract instances")
 
 BOOL_PARAM_FLAG (test_cube, true, "Test Cube instances")
 
 INT_PARAM_FLAG (reps, 1, "Num of parallel test repetitions to run.")
 
 INT_PARAM_FLAG (max_concurrent_instances, 0, "Maximum number of instances to run in parallel at any given " "instant. The number of concurrent instances cannot exceed " "reps * number_of_langs_tested, which is also the default value.")
 
 tesseract::TEST_F (BaseapiThreadTest, TestBasicSanity)
 
 tesseract::TEST_F (BaseapiThreadTest, TestInit)
 
 tesseract::TEST_F (BaseapiThreadTest, TestRecognition)
 
 tesseract::TEST_F (BaseapiThreadTest, TestAll)
 

Function Documentation

◆ BOOL_PARAM_FLAG() [1/2]

BOOL_PARAM_FLAG ( test_cube  ,
true  ,
"Test Cube instances"   
)

◆ BOOL_PARAM_FLAG() [2/2]

BOOL_PARAM_FLAG ( test_tesseract  ,
true  ,
"Test tesseract instances"   
)

◆ INT_PARAM_FLAG() [1/2]

INT_PARAM_FLAG ( max_concurrent_instances  ,
,
"Maximum number of instances to run in parallel at any given " "instant. The number of concurrent instances cannot exceed " "reps *  number_of_langs_tested,
which is also the default value."   
)

◆ INT_PARAM_FLAG() [2/2]

INT_PARAM_FLAG ( reps  ,
,
"Num of parallel test repetitions to run."   
)