Classes | Functions
resource_locator_unit.cpp File Reference
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <iostream>
#include <fstream>
#include <tesseract_common/resource_locator.h>
#include <tesseract_common/types.h>
#include <tesseract_common/unit_test_utils.h>
Include dependency graph for resource_locator_unit.cpp:

Go to the source code of this file.

Classes

class  TestResourceLocator
 Resource locator implementation using a provided function to locate file resources. More...
 

Functions

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP std::size_t findSeparator (const std::string &str)
 
int main (int argc, char **argv)
 
 TEST (ResourceLocatorUnit, ByteResourceUnit)
 
 TEST (ResourceLocatorUnit, BytesResourceSerializUnit)
 
 TEST (ResourceLocatorUnit, GeneralResourceLocatorUnit1)
 
 TEST (ResourceLocatorUnit, GeneralResourceLocatorUnit2)
 
 TEST (ResourceLocatorUnit, SimpleLocatedResourceSerializUnit)
 
 TEST (ResourceLocatorUnit, SimpleResourceLocatorUnit)
 

Function Documentation

◆ findSeparator()

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP std::size_t findSeparator ( const std::string &  str)

Definition at line 12 of file resource_locator_unit.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 246 of file resource_locator_unit.cpp.

◆ TEST() [1/6]

TEST ( ResourceLocatorUnit  ,
ByteResourceUnit   
)

Definition at line 195 of file resource_locator_unit.cpp.

◆ TEST() [2/6]

TEST ( ResourceLocatorUnit  ,
BytesResourceSerializUnit   
)

Definition at line 239 of file resource_locator_unit.cpp.

◆ TEST() [3/6]

TEST ( ResourceLocatorUnit  ,
GeneralResourceLocatorUnit1   
)

Definition at line 105 of file resource_locator_unit.cpp.

◆ TEST() [4/6]

TEST ( ResourceLocatorUnit  ,
GeneralResourceLocatorUnit2   
)

Definition at line 150 of file resource_locator_unit.cpp.

◆ TEST() [5/6]

TEST ( ResourceLocatorUnit  ,
SimpleLocatedResourceSerializUnit   
)

Definition at line 232 of file resource_locator_unit.cpp.

◆ TEST() [6/6]

TEST ( ResourceLocatorUnit  ,
SimpleResourceLocatorUnit   
)

Definition at line 67 of file resource_locator_unit.cpp.



tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40