mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve tests
This commit is contained in:
parent
f05f57ddf2
commit
53b90a52d0
@ -1,6 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2022/05/19
|
||||
* 完善func\_json\_save\_ex(感谢国文提供补丁)。
|
||||
* 完善测试程序 (感谢俊圣提供补丁)
|
||||
|
||||
2022/05/18
|
||||
* 完善Windows下utf8转换。按照utf16的规则,对大于0x10000的字符值进行正确的编码 (感谢俊圣提供补丁)
|
||||
|
@ -749,6 +749,7 @@ TEST(Widget, load_widget) {
|
||||
ASSERT_STREQ(w->name, "test_view");
|
||||
|
||||
widget_add_child(win, w);
|
||||
locale_info_change(locale_info(), "zh", "CN");
|
||||
widget_dispatch(button, paint_event_init(&e, EVT_BEFORE_PAINT, w, NULL));
|
||||
ASSERT_STREQ(button->text.str, L"确定");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user