Home
last modified time | relevance | path

Searched refs:cases (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/napi/test/unittest/cj_native/
H A Dtest_ark_interop.cpp173 PropCase cases[] { in TEST_F()
177 constexpr auto totalCases = std::size(cases); in TEST_F()
181 keys[i] = ARKTS_CreateUtf8(env, &cases[i].k, 1); in TEST_F()
183 (cases[i].writable ? N_WRITABLE : 0) | in TEST_F()
184 (cases[i].enumerable ? N_ENUMERABLE : 0) | in TEST_F()
185 (cases[i].configurable ? N_CONFIGURABLE : 0) in TEST_F()
200 if (cases[i].writable && cases[i].configurable) { in TEST_F()
208 if (cases[i].configurable) { in TEST_F()
/foundation/multimodalinput/input/examples/input_device_display_bind/src/
H A Dinput_device_display_bind.cpp123 int32_t cases = 0; in HandleOptions() local
124 if ((cases = getopt_long(argc, argv, "qs:h?", headOptions, &optionIndex)) != -1) { in HandleOptions()
125 switch (cases) { in HandleOptions()
/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_test_ng.cpp356 * @tc.cases: case1. Before Image load and ImagePattern windowHide, Image doesn't need resetLoading. in HWTEST_F()
366 * @tc.cases: case2. ImagePattern windowShow and OnNotifyMemoryLevel function will return. in HWTEST_F()
372 * @tc.cases: case3. After Image load and ImagePattern windowHide, pattern will clean data and reset params. in HWTEST_F()
401 * @tc.cases: case1. When SrcImage and AltImage load failed, it will still Create Image NodePaintMethod. in HWTEST_F()
405 * @tc.cases: case2. When SrcImage load successfully, it will Create SrcImage's NodePaintMethod. in HWTEST_F()
410 * @tc.cases: case3. When AltImage load successfully and altImage Rect is valid, it will Create AltImage's in HWTEST_F()
1363 * @tc.cases: case1. layoutWrapper->GetGeometryNode()->GetContent() == nullptr, func will return. in HWTEST_F()
1368 * @tc.cases: case2. layoutWrapper->GetGeometryNode()->GetContent() is true, func success. in HWTEST_F()
1576 std::vector<SizeF> cases = { { 1, 1 }, { 1, Infinity<float>() }, { Infinity<float>(), 1 }, in HWTEST_F() local
1580 layoutConstraintSize.maxSize.SetSizeT(cases[ in HWTEST_F()
1612 std::vector<std::vector<SizeF>> cases = { { { 0, 0 }, { 720, 1440 }, { 0, 0 } }, HWTEST_F() local
1832 std::vector<std::vector<int>> cases = { HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_change_callback_test_ng.cpp1806 std::vector<std::vector<int>> cases = { { 1, 1, 2, 2 }, { 1, 2, 2, 2 }, { 1, 1, 1, 2 }, { 1, 2, 1, 2 } }; in HWTEST_F() local
1807 for (uint32_t i = 0; i < cases.size(); ++i) { in HWTEST_F()
1808 richEditorPattern->HandleSurfaceChanged(cases[i][0], cases[i][1], cases[i][2], cases[i][3]); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testthree_ng.cpp124 * @tc.steps: step3. construct 3 groups cases and corresponding expected results. in HWTEST_F()
127 std::vector<Offset> cases = { Offset(1, 1), Offset(21, 21) }; in HWTEST_F() local
129 for (uint32_t turn = 0; turn < cases.size(); ++turn) { in HWTEST_F()
130 EXPECT_EQ(pattern->BetweenSelectedPosition(cases[turn]), exceptResults[turn]); in HWTEST_F()
156 * @tc.steps: step3. construct 3 groups cases and corresponding expected results. in HWTEST_F()
184 * @tc.steps: step3. construct 3 groups cases and corresponding expected results. in HWTEST_F()

Completed in 11 milliseconds