int main(void) { int ret = 0; #ifdef LCUI_BUILD_IN_WIN32 Logger_SetHandler(LoggerHandler); Logger_SetHandlerW(LoggerHandlerW); #endif ret += test_charset(); ret += test_string(); ret += test_thread(); ret += test_font_load(); ret += test_image_reader(); ret += test_css_parser(); ret += test_xml_parser(); ret += test_widget_layout(); ret += test_widget_flex_layout(); ret += test_widget_inline_block_layout(); ret += test_widget_opacity(); ret += test_widget_rect(); ret += test_textview_resize(); PRINT_TEST_RESULT(ret); return ret; }
void test_plugins(void) { test_xml_parser(); }