#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>
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) | |
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.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 246 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
ByteResourceUnit | |||
) |
Definition at line 195 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
BytesResourceSerializUnit | |||
) |
Definition at line 239 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
GeneralResourceLocatorUnit1 | |||
) |
Definition at line 105 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
GeneralResourceLocatorUnit2 | |||
) |
Definition at line 150 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
SimpleLocatedResourceSerializUnit | |||
) |
Definition at line 232 of file resource_locator_unit.cpp.
TEST | ( | ResourceLocatorUnit | , |
SimpleResourceLocatorUnit | |||
) |
Definition at line 67 of file resource_locator_unit.cpp.