Home
last modified time | relevance | path

Searched refs:span (Results 1 - 16 of 16) sorted by relevance

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/span/
H A Dspan_fontweight_test.cpp21 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontWeight001()
25 auto ret = nodeAPI->setAttribute(span, NODE_FONT_WEIGHT, &value_item); in TestSpanFontWeight001()
27 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestSpanFontWeight001()
33 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontWeight002()
37 auto ret = nodeAPI->setAttribute(span, NODE_FONT_WEIGHT, &value_item); in TestSpanFontWeight002()
39 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestSpanFontWeight002()
45 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontWeight003()
49 auto ret = nodeAPI->setAttribute(span, NODE_FONT_WEIGHT, &value_item); in TestSpanFontWeight003()
51 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W300); in TestSpanFontWeight003()
57 NAPI_START(span, ARKUI_NODE_SPA in TestSpanFontWeight004()
[all...]
H A Dspan_decoration_test.cpp22 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanDecoration001()
28 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_DECORATION, &decoration_item); in TestSpanDecoration001()
30 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_DECORATION)->value[PARAM_0].i32, decorationType); in TestSpanDecoration001()
31 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_DECORATION)->value[PARAM_1].u32, color); in TestSpanDecoration001()
37 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanDecoration002()
43 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_DECORATION, &decoration_item); in TestSpanDecoration002()
45 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_DECORATION)->value[PARAM_0].i32, decorationType); in TestSpanDecoration002()
46 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_DECORATION)->value[PARAM_1].u32, color); in TestSpanDecoration002()
52 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanDecoration003()
58 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_DECORATIO in TestSpanDecoration003()
[all...]
H A Dspan_textcase_test.cpp22 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanTextCase001()
27 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_CASE, &text_case_item); in TestSpanTextCase001()
29 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_CASE)->value[PARAM_0].i32, textCase); in TestSpanTextCase001()
35 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanTextCase002()
40 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_CASE, &text_case_item); in TestSpanTextCase002()
42 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_CASE)->value[PARAM_0].i32, textCase); in TestSpanTextCase002()
48 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanTextCase003()
53 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_CASE, &text_case_item); in TestSpanTextCase003()
55 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_CASE)->value[PARAM_0].i32, textCase); in TestSpanTextCase003()
61 NAPI_START(span, ARKUI_NODE_SPA in TestSpanTextCase004()
[all...]
H A Dspan_fontstyle_test.cpp21 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontStyle001()
25 auto ret = nodeAPI->setAttribute(span, NODE_FONT_STYLE, &value_item); in TestSpanFontStyle001()
27 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_STYLE)->value[PARAM_0].i32, ARKUI_FONT_STYLE_NORMAL); in TestSpanFontStyle001()
33 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontStyle002()
37 auto ret = nodeAPI->setAttribute(span, NODE_FONT_STYLE, &value_item); in TestSpanFontStyle002()
39 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_STYLE)->value[PARAM_0].i32, ARKUI_FONT_STYLE_ITALIC); in TestSpanFontStyle002()
45 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontStyle003()
50 auto ret = nodeAPI->setAttribute(span, NODE_FONT_STYLE, &value_item); in TestSpanFontStyle003()
52 if (nodeAPI->getAttribute(span, NODE_FONT_STYLE) != nullptr) { in TestSpanFontStyle003()
53 ASSERT_NE(nodeAPI->getAttribute(span, NODE_FONT_STYL in TestSpanFontStyle003()
[all...]
H A Dspan_fontsize_test.cpp21 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontSize001()
26 auto ret = nodeAPI->setAttribute(span, NODE_FONT_SIZE, &value_item); in TestSpanFontSize001()
28 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestSpanFontSize001()
34 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontSize002()
39 auto ret = nodeAPI->setAttribute(span, NODE_FONT_SIZE, &value_item); in TestSpanFontSize002()
41 if (nodeAPI->getAttribute(span, NODE_FONT_SIZE) != nullptr) { in TestSpanFontSize002()
42 ASSERT_NE(nodeAPI->getAttribute(span, NODE_FONT_SIZE)->value[PARAM_0].f32, fontSize); in TestSpanFontSize002()
49 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontSize003()
53 auto ret = nodeAPI->setAttribute(span, NODE_FONT_SIZE, &value_item); in TestSpanFontSize003()
55 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_SIZ in TestSpanFontSize003()
[all...]
H A Dspan_lineheight_test.cpp24 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLineHeight001()
29 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LINE_HEIGHT, &lineHeight_item); in TestSpanLineHeight001()
31 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LINE_HEIGHT)->value[PARAM_0].f32, lineHeight); in TestSpanLineHeight001()
37 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLineHeight002()
42 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LINE_HEIGHT, &lineHeight_item); in TestSpanLineHeight002()
44 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LINE_HEIGHT)->value[PARAM_0].f32, lineHeight); in TestSpanLineHeight002()
50 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLineHeight003()
55 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LINE_HEIGHT, &lineHeight_item); in TestSpanLineHeight003()
57 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LINE_HEIGHT)->value[PARAM_0].f32, lineHeight); in TestSpanLineHeight003()
H A Dspan_letterspacing_test.cpp22 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLetterSpacing001()
28 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LETTER_SPACING, &letterspacing_item); in TestSpanLetterSpacing001()
30 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LETTER_SPACING)->value[PARAM_0].f32, letterSpacing); in TestSpanLetterSpacing001()
36 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLetterSpacing002()
42 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LETTER_SPACING, &letterspacing_item); in TestSpanLetterSpacing002()
44 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LETTER_SPACING)->value[PARAM_0].f32, letterSpacing); in TestSpanLetterSpacing002()
50 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanLetterSpacing003()
56 auto ret = nodeAPI->setAttribute(span, NODE_TEXT_LETTER_SPACING, &letterspacing_item); in TestSpanLetterSpacing003()
58 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_TEXT_LETTER_SPACING)->value[PARAM_0].f32, letterSpacing); in TestSpanLetterSpacing003()
H A Dspan_fontcolor_test.cpp21 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontColor001()
26 auto ret = nodeAPI->setAttribute(span, NODE_FONT_COLOR, &value_item); in TestSpanFontColor001()
28 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_COLOR)->value[PARAM_0].u32, colorTransparent); in TestSpanFontColor001()
34 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontColor002()
38 auto ret = nodeAPI->setAttribute(span, NODE_FONT_COLOR, &value_item); in TestSpanFontColor002()
40 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestSpanFontColor002()
46 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanFontColor003()
50 auto ret = nodeAPI->setAttribute(span, NODE_FONT_COLOR, &value_item); in TestSpanFontColor003()
52 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_COLOR)->value[PARAM_0].u32, COLOR_WHITE); in TestSpanFontColor003()
H A Dspan_content_test.cpp22 NAPI_START(span, ARKUI_NODE_SPAN); in TestSpanContent001()
26 auto ret = nodeAPI->setAttribute(span, NODE_SPAN_CONTENT, &valueItem); in TestSpanContent001()
28 ASSERT_STREQ(nodeAPI->getAttribute(span, NODE_SPAN_CONTENT)->string, STR_TEXT); in TestSpanContent001()
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/
H A DpopoverCheckBox.js31 <span :title="item">{{ item }}</span>
41 <span ref="arrowRef" class="arrow">
45 </span>
H A DsuiteTable.js28 <span :style="[scope.row.failed > 0 ? {'color':'red'}:{}]">{{ scope.row.failed }}</span>
32 <span :style="[scope.row.blocked > 0 ? {'color':'#ffb400'}:{}]">{{ scope.row.blocked }}</span>
H A DcaseTable.js54 <span class="span-error">{{scope.row.error.replace(/<br>/g, " ")}}</span>
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Djsunit_parser_lite.py89 _, status_end_index = re.match(pattern, filter_message).span()
157 _, index = re.match(r".*\[suite start\]", message).span()
H A Djsunit_parser.py97 _, status_end_index = match.span()
188 _, index = re.match(r".*\[suite start]", message).span()
H A Dc_parser_lite.py92 line).span()
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Djsunit_driver.py218 span()
248 _, pos = re.match(".+\\[suites info]", line).span()

Completed in 6 milliseconds