Include dependency graph for test_translations.cpp:Macros | |
| #define | CONTEXT L"context" |
| #define | TEXTDOMAIN_PO L"translation_po" |
| #define | TEST_PO_NAME "translation_po.de.po" |
| #define | TEST_MO_NAME "translation_mo.de.mo" |
| #define | REQUIRE_FORM_SIZE(x) {REQUIRE(form); REQUIRE(form->size() == (x));} |
Functions | |
| static std::string | read_translation_file (const std::string &filename) |
| TEST_CASE ("test translations") | |
| #define CONTEXT L"context" |
Referenced by TEST_CASE().
Referenced by TEST_CASE().
| #define TEST_MO_NAME "translation_mo.de.mo" |
Referenced by TEST_CASE().
| #define TEST_PO_NAME "translation_po.de.po" |
Referenced by TEST_CASE().
| #define TEXTDOMAIN_PO L"translation_po" |
Referenced by TEST_CASE().
|
static |
References DIR_DELIM, findSubgame(), and fs::ReadFile().
Referenced by TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function:| TEST_CASE | ( | "test translations" | ) |
References CHECK, CONTEXT, Translations::getPluralTranslation(), Translations::getTranslation(), Translations::loadTranslation(), GettextPluralForm::parseHeaderLine(), read_translation_file(), REQUIRE_FORM_SIZE, Translations::size(), TEST_MO_NAME, TEST_PO_NAME, and TEXTDOMAIN_PO.
Here is the call graph for this function: