/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_sweepgradient_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsSweepGradient001() 24 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_2].f32, defaultValue); in TestCommonAttrsSweepGradient001() 25 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_3].f32, defaultValue); in TestCommonAttrsSweepGradient001() 26 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_4].f32, defaultValue); in TestCommonAttrsSweepGradient001() 32 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsSweepGradient002() 45 auto ret = nodeAPI->setAttribute(row, NODE_SWEEP_GRADIENT, &valueItem); in TestCommonAttrsSweepGradient002() 46 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_0].f32, offsetValue); in TestCommonAttrsSweepGradient002() 47 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_1].f32, offsetValue); in TestCommonAttrsSweepGradient002() 48 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIENT)->value[PARAM_2].f32, startValue); in TestCommonAttrsSweepGradient002() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_SWEEP_GRADIEN in TestCommonAttrsSweepGradient002() [all...] |
H A D | commonattrs_borderradius_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderRadius001() 25 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_RADIUS, &value_item); in TestCommonAttrsBorderRadius001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_RADIUS)->value[PARAM_0].f32, PARAM_2); in TestCommonAttrsBorderRadius001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderRadius002() 36 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_RADIUS, &value_item); in TestCommonAttrsBorderRadius002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_RADIUS)->value[PARAM_0].f32, PARAM_2); in TestCommonAttrsBorderRadius002() 44 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderRadius003() 47 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_RADIUS, &value_item); in TestCommonAttrsBorderRadius003() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_RADIUS)->value[PARAM_0].f32, SIZE_100); in TestCommonAttrsBorderRadius003() 55 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsBorderRadius004() [all...] |
H A D | commonattrs_borderstyle_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderStyle001() 25 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_STYLE, &value_item); in TestCommonAttrsBorderStyle001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_STYLE)->value[PARAM_0].i32, ARKUI_BORDER_STYLE_SOLID); in TestCommonAttrsBorderStyle001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderStyle002() 36 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_STYLE, &value_item); in TestCommonAttrsBorderStyle002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_STYLE)->value[PARAM_0].i32, ARKUI_BORDER_STYLE_DASHED); in TestCommonAttrsBorderStyle002() 44 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderStyle003() 47 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_STYLE, &value_item); in TestCommonAttrsBorderStyle003() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_STYLE)->value[PARAM_0].i32, ARKUI_BORDER_STYLE_DOTTED); in TestCommonAttrsBorderStyle003() 55 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsBorderStyle004() [all...] |
H A D | commonattrs_alignself_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignSelf001() 25 auto ret = nodeAPI->setAttribute(row, NODE_ALIGN_SELF, &value_item); in TestCommonAttrsAlignSelf001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ALIGN_SELF)->value[PARAM_0].i32, ARKUI_ITEM_ALIGNMENT_AUTO); in TestCommonAttrsAlignSelf001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignSelf002() 36 auto ret = nodeAPI->setAttribute(row, NODE_ALIGN_SELF, &value_item); in TestCommonAttrsAlignSelf002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ALIGN_SELF)->value[PARAM_0].i32, ARKUI_ITEM_ALIGNMENT_START); in TestCommonAttrsAlignSelf002() 44 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignSelf003() 47 auto ret = nodeAPI->setAttribute(row, NODE_ALIGN_SELF, &value_item); in TestCommonAttrsAlignSelf003() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ALIGN_SELF)->value[PARAM_0].i32, ARKUI_ITEM_ALIGNMENT_CENTER); in TestCommonAttrsAlignSelf003() 55 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsAlignSelf004() [all...] |
H A D | commonattrs_borderwidth_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderWidth001() 25 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_WIDTH, &value_item); in TestCommonAttrsBorderWidth001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_WIDTH)->value[PARAM_0].f32, PARAM_5); in TestCommonAttrsBorderWidth001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderWidth002() 36 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_WIDTH, &value_item); in TestCommonAttrsBorderWidth002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_WIDTH)->value[PARAM_0].f32, PARAM_5); in TestCommonAttrsBorderWidth002() 39 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_WIDTH)->value[PARAM_1].f32, PARAM_5); in TestCommonAttrsBorderWidth002() 40 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_WIDTH)->value[PARAM_2].f32, PARAM_5); in TestCommonAttrsBorderWidth002() 41 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_WIDTH)->value[PARAM_3].f32, PARAM_5); in TestCommonAttrsBorderWidth002() 47 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsBorderWidth003() [all...] |
H A D | commonattrs_radialgradient_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsRadialGradient001() 24 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_RADIAL_GRADIENT)->value[PARAM_2].f32, defaultValue); in TestCommonAttrsRadialGradient001() 30 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsRadialGradient002() 39 auto ret = nodeAPI->setAttribute(row, NODE_RADIAL_GRADIENT, &valueItem); in TestCommonAttrsRadialGradient002() 40 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_RADIAL_GRADIENT)->value[PARAM_0].f32, offsetValue); in TestCommonAttrsRadialGradient002() 41 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_RADIAL_GRADIENT)->value[PARAM_1].f32, offsetValue); in TestCommonAttrsRadialGradient002() 42 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_RADIAL_GRADIENT)->value[PARAM_2].f32, offsetValue); in TestCommonAttrsRadialGradient002() 43 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_RADIAL_GRADIENT)->value[PARAM_3].i32, repeat); in TestCommonAttrsRadialGradient002() 50 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsRadialGradient003() 59 auto ret = nodeAPI->setAttribute(row, NODE_RADIAL_GRADIEN in TestCommonAttrsRadialGradient003() [all...] |
H A D | commonattrs_direction_test.cpp | 24 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsDirection001() 28 auto ret = nodeAPI->setAttribute(row, NODE_DIRECTION, &value_item); in TestCommonAttrsDirection001() 30 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_DIRECTION)->value[PARAM_0].u32, direction); in TestCommonAttrsDirection001() 36 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsDirection002() 40 auto ret = nodeAPI->setAttribute(row, NODE_DIRECTION, &value_item); in TestCommonAttrsDirection002() 42 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_DIRECTION)->value[PARAM_0].u32, direction); in TestCommonAttrsDirection002() 48 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsDirection003() 52 auto ret = nodeAPI->setAttribute(row, NODE_DIRECTION, &value_item); in TestCommonAttrsDirection003() 54 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_DIRECTION)->value[PARAM_0].u32, direction); in TestCommonAttrsDirection003() 60 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsDirection004() [all...] |
H A D | commonattrs_justifycontent_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsJustifyContent001() 25 auto ret = nodeAPI->setAttribute(row, NODE_ROW_JUSTIFY_CONTENT, &value_item); in TestCommonAttrsJustifyContent001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_JUSTIFY_CONTENT)->value[PARAM_0].i32, ARKUI_FLEX_ALIGNMENT_START); in TestCommonAttrsJustifyContent001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsJustifyContent002() 36 auto ret = nodeAPI->setAttribute(row, NODE_ROW_JUSTIFY_CONTENT, &value_item); in TestCommonAttrsJustifyContent002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_JUSTIFY_CONTENT)->value[PARAM_0].i32, ARKUI_FLEX_ALIGNMENT_CENTER); in TestCommonAttrsJustifyContent002() 44 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsJustifyContent003() 47 auto ret = nodeAPI->setAttribute(row, NODE_ROW_JUSTIFY_CONTENT, &value_item); in TestCommonAttrsJustifyContent003() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_JUSTIFY_CONTENT)->value[PARAM_0].i32, ARKUI_FLEX_ALIGNMENT_END); in TestCommonAttrsJustifyContent003() 55 NAPI_START(row, ARKUI_NODE_RO in TestCommonAttrsJustifyContent004() [all...] |
H A D | commonattrs_bordercolor_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderColor001() 25 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_COLOR, &value_item); in TestCommonAttrsBorderColor001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_COLOR)->value[PARAM_0].u32, COLOR_GREEN); in TestCommonAttrsBorderColor001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsBorderColor002() 36 auto ret = nodeAPI->setAttribute(row, NODE_BORDER_COLOR, &value_item); in TestCommonAttrsBorderColor002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestCommonAttrsBorderColor002() 39 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_COLOR)->value[PARAM_1].u32, COLOR_RED); in TestCommonAttrsBorderColor002() 40 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_COLOR)->value[PARAM_2].u32, COLOR_RED); in TestCommonAttrsBorderColor002() 41 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_BORDER_COLOR)->value[PARAM_3].u32, COLOR_RED); in TestCommonAttrsBorderColor002()
|
H A D | commonattrs_alignitems_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignItems001() 25 auto ret = nodeAPI->setAttribute(row, NODE_ROW_ALIGN_ITEMS, &value_item); in TestCommonAttrsAlignItems001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_ALIGN_ITEMS)->value[PARAM_0].i32, ARKUI_VERTICAL_ALIGNMENT_TOP); in TestCommonAttrsAlignItems001() 33 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignItems002() 36 auto ret = nodeAPI->setAttribute(row, NODE_ROW_ALIGN_ITEMS, &value_item); in TestCommonAttrsAlignItems002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_ALIGN_ITEMS)->value[PARAM_0].i32, ARKUI_VERTICAL_ALIGNMENT_CENTER); in TestCommonAttrsAlignItems002() 44 NAPI_START(row, ARKUI_NODE_ROW); in TestCommonAttrsAlignItems003() 47 auto ret = nodeAPI->setAttribute(row, NODE_ROW_ALIGN_ITEMS, &value_item); in TestCommonAttrsAlignItems003() 49 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_ALIGN_ITEMS)->value[PARAM_0].i32, ARKUI_VERTICAL_ALIGNMENT_BOTTOM); in TestCommonAttrsAlignItems003()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/row/ |
H A D | row_height_test.cpp | 22 NAPI_START(row, ARKUI_NODE_ROW); in TestRowHeight001() 27 auto ret = nodeAPI->setAttribute(row, NODE_HEIGHT, &value_item); in TestRowHeight001() 29 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_HEIGHT)->value[PARAM_0].f32, height); in TestRowHeight001() 35 NAPI_START(row, ARKUI_NODE_ROW); in TestRowHeight002() 40 auto ret = nodeAPI->setAttribute(row, NODE_HEIGHT, &value_item); in TestRowHeight002() 42 if (nodeAPI->getAttribute(row, NODE_HEIGHT) != nullptr) { in TestRowHeight002() 43 ASSERT_NE(nodeAPI->getAttribute(row, NODE_HEIGHT)->value[PARAM_0].f32, height); in TestRowHeight002() 50 NAPI_START(row, ARKUI_NODE_ROW); in TestRowHeight003() 55 auto ret = nodeAPI->setAttribute(row, NODE_HEIGHT, &value_item); in TestRowHeight003() 57 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_HEIGH in TestRowHeight003() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/ |
H A D | suiteTable.js | 19 template: `<el-table :data="pageSuitesList" style="width: 100%" border @sort-change="handleSortChange" class="details-table" @row-click="handleRowClick" row-class-name="table-row-clickable"> 28 <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> 41 :percentage="scope.row.passingrate" 42 :color="customColorMethod(scope.row.passingrate)" /> 119 handleRowClick(row) { [all...] |
H A D | caseTable.js | 37 :type="scope.row.result === 'Passed' ? 'success' : 'danger'" 38 >{{ scope.row.result }}</el-tag 50 <el-row class="row-error" v-html="scope.row.error"></el-row> 54 <span class="span-error">{{scope.row.error.replace(/<br>/g, " ")}}</span>
|
/test/ostest/wukong/report/src/ |
H A D | table.cpp | 27 for (uint32_t row = 0; row < rows; row++) { in Table() 28 max = record[row][col].size() > max ? record[row][col].size() : max; in Table()
|
H A D | format_json.cpp | 34 for (uint32_t row = 0; row < record.size(); row++) { in FormatDetail() 37 ss << header[col] << ":\"" << record[row][col] << "\""; in FormatDetail()
|
H A D | format_csv.cpp | 48 for (uint32_t row = 0; row < record.size(); row++) { in FormatDetail() 51 ss << record[row][col]; in FormatDetail()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | matrix3.h | 57 // Make sure that the value of row is less than 3 and col is less than 3. 58 inline double operator()(int32_t row, int32_t col) const in operator ()() argument 60 return matrix3X3_[row][col]; in operator ()() 121 // Make sure that the value of row is less than 3 and col is less than columns. 122 inline double operator()(int32_t row, int32_t col) const in operator ()() argument 124 return Matrix3n_[row][col]; in operator ()() 183 // Make sure that the value of row is less than rows and col is less than 3. 184 inline double operator()(int32_t row, int32_t col) const in operator ()() argument 186 return Matrixn3_[row][col]; in operator ()()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textarea/ |
H A D | textarea_onblur_test.cpp | 24 static ArkUI_NodeHandle row; member 48 row = nodeAPI->createNode(ARKUI_NODE_ROW); in BasicSet() 112 nodeAPI->addChild(row, textAreaCompare); in CreateNativeNode() 113 nodeAPI->addChild(row, textArea); in CreateNativeNode() 119 OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(idrow), row); in CreateNativeNode() local
|
H A D | textarea_onfocus_test.cpp | 24 static ArkUI_NodeHandle row; member 48 row = nodeAPI->createNode(ARKUI_NODE_ROW); in BasicSet() 104 nodeAPI->addChild(row, textAreaCompare); in CreateNativeNode() 105 nodeAPI->addChild(row, textArea); in CreateNativeNode() 111 OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(idRow), row); in CreateNativeNode() local
|
H A D | textarea_key_test.cpp | 24 static ArkUI_NodeHandle row; member 47 row = nodeAPI->createNode(ARKUI_NODE_ROW); in BasicSet() 111 nodeAPI->addChild(row, textAreaCompare); in CreateNativeNode() 112 nodeAPI->addChild(row, textArea); in CreateNativeNode() 118 OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(idrow), row); in CreateNativeNode() local
|
H A D | textarea_onchange_test.cpp | 24 static ArkUI_NodeHandle row; member 50 row = nodeAPI->createNode(ARKUI_NODE_ROW); in BasicSet() 87 nodeAPI->addChild(row, textArea); in CreateNativeNode() 93 OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(idRow), row); in CreateNativeNode() local
|
H A D | textarea_onpaste_test.cpp | 111 auto row = createRowNode(nodeAPI); in CreateNativeNode() local 132 nodeAPI->addChild(row, textArea); in CreateNativeNode() 133 nodeAPI->addChild(row, textAreaDisable); in CreateNativeNode() 138 if (OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(id), row) == in CreateNativeNode()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textinput/ |
H A D | textinput_key_test.cpp | 24 static ArkUI_NodeHandle row; member 48 row = nodeAPI->createNode(ARKUI_NODE_ROW); in BasicSet() 112 nodeAPI->addChild(row, textInputCompare); in CreateNativeNode() 113 nodeAPI->addChild(row, textInput); in CreateNativeNode() 119 OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(idrow), row); in CreateNativeNode() local
|
H A D | textinput_onpaste_test.cpp | 111 auto row = createRowNode(nodeAPI); in CreateNativeNode() local 132 nodeAPI->addChild(row, textInput); in CreateNativeNode() 133 nodeAPI->addChild(row, textInputDisable); in CreateNativeNode() 138 if (OH_NativeXComponent_AttachNativeRootNode(PluginManager::GetInstance()->GetNativeXComponent(id), row) == in CreateNativeNode()
|
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
H A D | templates.py | 190 for row in data: 192 for row_td in row:
|