Android-cuttlefish cvd tool
Namespaces | Macros | Functions
ConfirmationUITranslations-test.cpp File Reference
#include <teeui/localization/ConfirmationUITranslations.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for ConfirmationUITranslations-test.cpp:

Namespaces

namespace  teeui
 
namespace  teeui::localization
 

Macros

#define ASSERT_STR(str1, str2)
 

Functions

int teeui::localization::langIdMatch (const char *const *lang_ids, const char *lang_id)
 
static const char * test_lang_id_match (const char *lang_ids[], const char *lang_id)
 
int main ()
 

Macro Definition Documentation

◆ ASSERT_STR

#define ASSERT_STR (   str1,
  str2 
)
Value:
do { \
if (strcmp(str1, str2) != 0) { \
printf("%s:%d: Assertion failed: '%s' != '%s'\n", \
__FILE__, __LINE__, str1, str2); \
return 1; \
} \
} while (0)

Function Documentation

◆ main()

int main ( )

◆ test_lang_id_match()

static const char * test_lang_id_match ( const char *  lang_ids[],
const char *  lang_id 
)
static