Home
last modified time | relevance | path

Searched refs:expectValue (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_touchEvent_injector_test.cpp112 EXPECT_EQ(touchAction, expectValue);
114 expectValue = MMI::PointerEvent::POINTER_ACTION_UP;
116 EXPECT_EQ(touchAction, expectValue);
143 EXPECT_EQ(touchAction, expectValue);
172 EXPECT_EQ(touchAction, expectValue);
202 EXPECT_EQ(touchAction, expectValue);
203 expectValue = MMI::PointerEvent::POINTER_ACTION_MOVE;
205 EXPECT_EQ(touchAction, expectValue);
207 EXPECT_EQ(touchAction, expectValue);
208 expectValue = MMI::PointerEvent::POINTER_ACTION_UP;
[all …]
H A Daccessibility_touch_guider_test.cpp70 int32_t expectValue = MMI::PointerEvent::POINTER_ACTION_MOVE; in PointerEventTest() local
72 EXPECT_EQ(touchAction, expectValue); in PointerEventTest()
81 EXPECT_EQ(touchAction, expectValue); in PointerEventTest()
89 EXPECT_EQ(touchAction, expectValue); in PointerEventTest()
278 EXPECT_EQ(touchAction, expectValue);
670 int32_t expectValue = MMI::PointerEvent::BUTTON_NONE; variable
672 EXPECT_EQ(touchAction, expectValue);
715 int32_t expectValue= MMI::PointerEvent::POINTER_ACTION_MOVE; variable
717 EXPECT_EQ(touchAction, expectValue);
933 EXPECT_EQ(touchAction, expectValue);
[all …]
H A Daccessibility_mouse_key_test.cpp236 int32_t expectValue = MMI::PointerEvent::POINTER_ACTION_BUTTON_UP; variable
237 EXPECT_EQ(touchAction, expectValue);
292 int32_t expectValue = MMI::PointerEvent::POINTER_ACTION_BUTTON_UP; variable
293 EXPECT_EQ(touchAction, expectValue);
348 int32_t expectValue = MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN; variable
349 EXPECT_EQ(touchAction, expectValue);
404 int32_t expectValue = MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN; variable
405 EXPECT_EQ(touchAction, expectValue);
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/
H A Dchain_rule_test.cpp80 std::string expectValue = "192.168.6.1-192.168.6.254"; variable
83 EXPECT_EQ(expectValue, value);
87 expectValue = "";
90 EXPECT_EQ(expectValue, value);
111 std::string expectValue = " 192.168.6.1-192.168.6.254"; variable
114 EXPECT_EQ(expectValue, value);
118 expectValue = "";
121 EXPECT_EQ(expectValue, value);
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/unittest/
H A Devent_controller_test.cpp70 int64_t expectValue = 2; variable
72 EventControllerTest::AssertValue(EventController::GetInstance().value_, expectValue);
95 int64_t expectValue = 3; variable
97 EventControllerTest::AssertValue(EventController::GetInstance().value_, expectValue);
116 int64_t expectValue = 1; variable
118 EventControllerTest::AssertValue(EventController::GetInstance().value_, expectValue);
136 int64_t expectValue = 0; variable
138 EventControllerTest::AssertValue(EventController::GetInstance().value_, expectValue);
156 int64_t expectValue = 1; variable
158 EventControllerTest::AssertValue(EventController::GetInstance().value_, expectValue);
[all …]
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dvcard_test.cpp516 EXPECT_EQ(value, expectValue);
530 EXPECT_EQ(value, expectValue);
554 auto expectValue = variable
559 EXPECT_EQ(value, expectValue);
585 EXPECT_EQ(value, expectValue);
612 EXPECT_EQ(value, expectValue);
638 EXPECT_EQ(value, expectValue);
697 EXPECT_EQ(value, expectValue);
702 EXPECT_EQ(value, expectValue);
857 auto expectValue = variable
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dslider_tdd_test.cpp119 const int expectValue = 100; in ComponentSliderAttributeValueTest003() local
122 jerry_value_t value = jerry_create_number(expectValue); in ComponentSliderAttributeValueTest003()
131 if (sliderView->GetValue() == expectValue) { in ComponentSliderAttributeValueTest003()
136 EXPECT_EQ(sliderView->GetValue(), expectValue); in ComponentSliderAttributeValueTest003()
/ohos5.0/base/startup/init/test/unittest/param/
H A Dclient_unittest.cpp25 static void ClientCheckParamValue(const char *name, const char *expectValue) in ClientCheckParamValue() argument
30 …AM_LOGI("ClientCheckParamValue name %s value: \'%s\' expectValue:\'%s\' ", name, tmp, expectValue); in ClientCheckParamValue()
33 if (expectValue != nullptr) { in ClientCheckParamValue()
34 EXPECT_EQ(strcmp(tmp, expectValue), 0); in ClientCheckParamValue()
H A Dparamservice_unittest.cpp32 static int CheckServerParamValue(const char *name, const char *expectValue) in CheckServerParamValue() argument
37 printf("CheckParamValue name %s value: \'%s\' expectValue:\'%s\' \n", name, tmp, expectValue); in CheckServerParamValue()
39 if (expectValue != nullptr) { in CheckServerParamValue()
40 EXPECT_EQ(strcmp(tmp, expectValue), 0); in CheckServerParamValue()
H A Dparam_unittest.cpp38 static int CheckServerParamValue(const char *name, const char *expectValue) in CheckServerParamValue() argument
43 printf("CheckParamValue name %s value: \'%s\' expectValue:\'%s\' \n", name, tmp, expectValue); in CheckServerParamValue()
45 if (expectValue != nullptr) { in CheckServerParamValue()
46 EXPECT_EQ(strcmp(tmp, expectValue), 0); in CheckServerParamValue()
/ohos5.0/drivers/peripheral/audio/test/systemtest/adm/audio_adm_interface/src/
H A Daudio_adm_interface_test.cpp220 int32_t expectValue = 5; variable
233 ret = ReadCtrlInfo(service, elemValue.id, expectValue);
245 int32_t expectValue = MIN_GAIN_VALUE; variable
271 int32_t expectValue = MAX_GAIN_VALUE; variable
317 int32_t expectValue = AUDIO_CHANNEL_NORMAL; variable
342 int32_t expectValue = AUDIO_CHANNEL_BOTH_LEFT; variable
367 int32_t expectValue = AUDIO_CHANNEL_BOTH_RIGHT; variable
602 int32_t expectValue = MIDDLE_VOLUME; variable
628 int32_t expectValue = MIN_VOLUME; variable
653 int32_t expectValue = MAX_VOLUME; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_test.cpp321 Value expectValue = {'v'}; variable
339 EXPECT_EQ(actualValue, expectValue);
446 Value expectValue = {'v'}; variable
476 Value expectValue = {'v'}; variable
764 Value expectValue = {'v'}; variable
958 Value expectValue = {'v'}; variable
2590 Value expectValue = {'k', '1'}; variable
2607 Value expectValue = {'v'}; variable
2631 Value expectValue = {'v'}; variable
2670 Value expectValue = {'v'}; variable
[all …]
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp305 std::string expectValue = (it -> second).expectValue; in IsBatteryConfigSupported() local
308 supportPath.c_str(), type.c_str(), expectValue.c_str()); in IsBatteryConfigSupported()
315 value = ret == HDF_SUCCESS ? expectValue == temp : false; in IsBatteryConfigSupported()
H A Dbattery_config.cpp290 Json::Value expectValue = GetValue(valueObj, "support.expect_value"); in ParseChargeSceneSupport() local
296 config.expectValue = isValidJsonString(expectValue) ? expectValue.asString() : ""; in ParseChargeSceneSupport()
/ohos5.0/foundation/distributeddatamgr/kv_store/test/distributedtest/single_kvstore_client/
H A Ddistributed_test_agent.cpp43 int argsLen, const std::string &expectValue, int expectValueLen) override;
164 const std::string &args, int argsLen, const std::string &expectValue, int expectValueLen) in OnProcessCmd() argument
173 return DistributedAgent::OnProcessCmd(command, len, args, argsLen, expectValue, expectValueLen); in OnProcessCmd()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dnavigation_lifecycle_test_ng.cpp50 static void SetEvent(NavDestinationLifecycle lifecycle, int8_t expectValue,
91 void NavigationLifecycleTestNg::SetEvent(NavDestinationLifecycle lifecycle, int8_t expectValue, in SetEvent() argument
96 std::function<void()>&& callback = [stack = stack, expectValue = expectValue]() { in SetEvent()
98 EXPECT_EQ(lifecycleIndex, expectValue); in SetEvent()
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_3da_player_fast.h27 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE()
29 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
30 … return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_player_fast.h33 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE()
35 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
36 … return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_video_player_fast_3.h51 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE()
53 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
54 … return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/include/
H A Dthermal_action_report_test.h34 static int32_t GetThermalLevel(int32_t expectValue);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dconcat_three_inputs_test.cpp222 int64_t expectValue = mindspore::lite::MindIR_Concat_GetAxis(primitive.get()); variable
223 EXPECT_EQ(expectValue, 0);
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/adm_common/include/
H A Daudio_adm_common.h104 int32_t ReadCtrlInfo(struct HdfIoService *service, struct AudioCtlElemId id, int32_t expectValue);
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/adm_common/src/
H A Daudio_adm_common.cpp256 int32_t ReadCtrlInfo(struct HdfIoService *service, struct AudioCtlElemId id, int32_t expectValue) in ReadCtrlInfo() argument
280 if (ret < 0 || expectValue != readElemValue.value[0]) { in ReadCtrlInfo()
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/audio_player/
H A DTestFastPlayer.cpp45 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in CheckTimeEquality() argument
47 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in CheckTimeEquality()
48 … return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in CheckTimeEquality()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h51 std::string expectValue; member

12