Home
last modified time | relevance | path

Searched refs:testInfo (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_sdk_publish_test.cpp239 testInfo.medium = BLE;
285 testInfo.dataLen = 0;
292 testInfo.dataLen = 0;
299 testInfo.dataLen = 0;
371 testInfo.freq = MID;
377 testInfo.freq = HIGH;
423 testInfo.freq = MID;
475 testInfo.freq = MID;
527 testInfo.freq = MID;
718 testInfo.freq = MID;
[all …]
H A Dbus_center_sdk_refresh_small_test.cpp151 testInfo.medium = COAP;
161 testInfo.freq = LOW;
208 testInfo.medium = COAP;
218 testInfo.freq = LOW;
265 testInfo.medium = COAP;
275 testInfo.freq = LOW;
332 testInfo.freq = LOW;
389 testInfo.freq = LOW;
446 testInfo.freq = LOW;
503 testInfo.freq = LOW;
[all …]
H A Dbus_center_sdk_refresh_test.cpp167 testInfo.freq = MID;
173 testInfo.freq = HIGH;
220 testInfo.freq = MID;
226 testInfo.freq = HIGH;
357 testInfo.freq = MID;
363 testInfo.freq = HIGH;
410 testInfo.freq = MID;
416 testInfo.freq = HIGH;
480 testInfo.freq = LOW;
755 testInfo.freq = MID;
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
H A Daccount_mgr_service_test.cpp143 OhosAccountInfo testInfo; variable
146 ret = (testInfo.uid_ == TEST_EXPECTED_UID);
148 ret = (testInfo.name_ == TEST_ACCOUNT_NAME);
181 OhosAccountInfo testInfo; variable
184 ret = (testInfo.uid_ == TEST_EXPECTED_UID);
186 ret = (testInfo.name_ == TEST_ACCOUNT_NAME);
228 OhosAccountInfo testInfo; variable
266 OhosAccountInfo testInfo; variable
269 ret = (testInfo.uid_ == TEST_EXPECTED_UID);
283 ret = (testInfo.uid_ == TEST_EXPECTED_UID);
[all …]
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dco_auth_stub_test.cpp48 CoAuthInterface::ExecutorRegisterInfo testInfo = {}; variable
49 testInfo.authType = PIN;
50 testInfo.executorRole = SCHEDULER;
51 testInfo.executorSensorHint = 0;
52 testInfo.executorMatcher = 0;
53 testInfo.esl = ESL1;
54 testInfo.maxTemplateAcl = 0;
55 testInfo.publicKey = {'a', 'b', 'c', 'd'};
71 EXPECT_EQ(info.esl, testInfo.esl); in __anond791e3d40102()
78 EXPECT_TRUE(data.WriteInt32(testInfo.authType));
[all …]
/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Dco_auth_client_test.cpp45 ExecutorInfo testInfo = {}; variable
50 testInfo.authType = PIN;
51 testInfo.executorRole = COLLECTOR;
52 testInfo.executorSensorHint = 11;
53 testInfo.executorMatcher = 22;
54 testInfo.esl = ESL1;
55 testInfo.publicKey = {1, 2, 3, 4};
69 EXPECT_EQ(testInfo.authType, info.authType); in __anon0a7644260102()
73 EXPECT_EQ(testInfo.esl, info.esl); in __anon0a7644260102()
117 ExecutorInfo testInfo = {}; variable
[all …]
H A Dco_auth_proxy_test.cpp49 CoAuthInterface::ExecutorRegisterInfo testInfo = {}; variable
50 testInfo.authType = PIN;
51 testInfo.executorRole = COLLECTOR;
52 testInfo.executorSensorHint = 11;
53 testInfo.executorMatcher = 22;
54 testInfo.esl = ESL1;
55 testInfo.publicKey = {1, 2, 3, 4};
72 EXPECT_EQ(testInfo.authType, info.authType); in __anon49e51fa90102()
73 EXPECT_EQ(testInfo.executorRole, info.executorRole); in __anon49e51fa90102()
76 EXPECT_EQ(testInfo.esl, info.esl); in __anon49e51fa90102()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/
H A Ddisc_manager_test.cpp330 testInfo.medium = COAP;
335 testInfo.freq = LOW;
567 testInfo.medium = COAP;
572 testInfo.freq = LOW;
739 testInfo.freq = LOW;
959 testInfo.freq = LOW;
1467 testInfo.freq = LOW;
1550 testInfo.freq = LOW;
1583 testInfo.freq = LOW;
1616 testInfo.freq = LOW;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test.cpp35 const ::testing::TestInfo* const testInfo = in ShouldRunCurrentTest() local
38 testInfo->test_case_name(), testInfo->name()); in ShouldRunCurrentTest()
42 testInfo->test_case_name(), testInfo->name()); in ShouldRunCurrentTest()
98 const ::testing::TestInfo* const testInfo = in TearDown() local
101 testInfo->test_case_name(), testInfo->name()); in TearDown()
106 …LOGE("RSGraphicTest no testinfo %{public}s-%{public}s", testInfo->test_case_name(), testInfo->name… in TearDown()
116 filename += testInfo->test_case_name() + std::string("_"); in TearDown()
117 filename += testInfo->name() + std::string(".png"); in TearDown()
123 testInfo->test_case_name(), testInfo->name()); in TearDown()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/
H A Ddisc_sdk_test.cpp208 PublishInfo testInfo = { variable
233 testInfo.medium = COAP;
241 testInfo.freq = LOW;
243 testInfo.capabilityData = nullptr;
248 testInfo.dataLen = ERRO_CAPDATA_LEN;
494 SubscribeInfo testInfo = { variable
520 testInfo.medium = COAP;
528 testInfo.freq = LOW;
530 testInfo.capabilityData = nullptr;
1012 PublishInfo testInfo = { variable
[all …]
/ohos5.0/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Dmock_domain_plugin.cpp185 DomainAccountInfo testInfo; in OnAccountBound() local
189 testInfo = info; in OnAccountBound()
190 testInfo.Marshalling(parcel); in OnAccountBound()
193 testInfo.accountName_ = info.accountName_; in OnAccountBound()
194 testInfo.Marshalling(parcel); in OnAccountBound()
202 DomainAccountInfo testInfo; in OnAccountUnBound() local
205 testInfo = info; in OnAccountUnBound()
206 testInfo.Marshalling(parcel); in OnAccountUnBound()
209 testInfo.accountName_ = info.accountName_; in OnAccountUnBound()
210 testInfo.Marshalling(parcel); in OnAccountUnBound()
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp190 LockInfo testInfo; in SetLockStateTestFunc() local
191 testInfo.lockType = LockType::PIN_LOCK; in SetLockStateTestFunc()
192 testInfo.password = Str8ToStr16("1234"); in SetLockStateTestFunc()
202 LockInfo testInfo; in SetLockStateTestFunc1() local
203 testInfo.lockType = LockType::PIN_LOCK; in SetLockStateTestFunc1()
204 testInfo.password = Str8ToStr16("1234"); in SetLockStateTestFunc1()
213 LockInfo testInfo; in SetFDNStateTestFunc() local
214 testInfo.lockType = LockType::FDN_LOCK; in SetFDNStateTestFunc()
215 testInfo.password = Str8ToStr16("1234"); in SetFDNStateTestFunc()
225 LockInfo testInfo; in SetFDNStateTestFunc1() local
[all …]
/ohos5.0/base/useriam/user_auth_framework/test/unittest/executors/
H A Dexecutor_unit_test.cpp77 const ExecutorInfo testInfo = { variable
108 info.esl = testInfo.esl; in __anon0f00ab690202()
109 info.publicKey.assign(testInfo.publicKey.begin(), testInfo.publicKey.end()); in __anon0f00ab690202()
120 const ExecutorInfo testInfo = { variable
150 info.esl = testInfo.esl; in __anon0f00ab690402()
151 info.publicKey.assign(testInfo.publicKey.begin(), testInfo.publicKey.end()); in __anon0f00ab690402()
162 const ExecutorInfo testInfo = { variable
181 const ExecutorInfo testInfo = { variable
205 const ExecutorInfo testInfo = { variable
220 info.esl = testInfo.esl; in __anon0f00ab690602()
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/getauthenticatorinfo_fuzzer/
H A Dgetauthenticatorinfo_fuzzer.cpp35 AuthenticatorInfo testInfo; in GetAuthenticatorInfoFuzzTest() local
36 testInfo.owner = testOwner; in GetAuthenticatorInfoFuzzTest()
37 result = AppAccountManager::GetAuthenticatorInfo(testOwner, testInfo); in GetAuthenticatorInfoFuzzTest()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/
H A Ddevice_manager_agent_sup_test.cpp340 DmDeviceInfo testInfo; variable
343 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_BAD_VALUE);
349 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_BAD_VALUE);
362 DmDeviceInfo testInfo = { variable
375 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_BAD_VALUE);
382 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_BAD_VALUE);
389 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_BAD_VALUE);
402 DmDeviceInfo testInfo = { variable
415 EXPECT_EQ(testPtr->IsSupportedDevice(testInfo), FileManagement::ERR_OK);
/ohos5.0/base/request/request/test/unittest/cpp_test/fwkTest/src/
H A Dmodule_init_test.cpp53 const testing::TestInfo *testInfo = test->current_test_info(); in SetUp() local
54 ASSERT_NE(testInfo, nullptr); in SetUp()
55 string testCaseName = string(testInfo->name()); in SetUp()
H A Drequest_sync_load_callback_test.cpp63 const testing::TestInfo *testInfo = test->current_test_info(); in SetUp() local
64 ASSERT_NE(testInfo, nullptr); in SetUp()
65 string testCaseName = string(testInfo->name()); in SetUp()
H A Druncount_notify_stub_test.cpp62 const testing::TestInfo *testInfo = test->current_test_info(); in SetUp() local
63 ASSERT_NE(testInfo, nullptr); in SetUp()
64 string testCaseName = string(testInfo->name()); in SetUp()
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_callback_proxy_test.cpp128 PrinterInfo testInfo; variable
130 testInfo.SetPrinterId(testPrinterId);
133 Matcher<const PrinterInfo&>(PrinterInfoMatcher(testInfo)))).Times(1).WillOnce(Return(true));
140 EXPECT_TRUE(proxy->OnCallback(testState, testInfo));
159 PrinterInfo testInfo; variable
161 testInfo.SetPrinterId(testPrinterId);
164 … Matcher<const PrinterInfo&>(PrinterInfoMatcher(testInfo)))).Times(1).WillOnce(Return(false));
171 EXPECT_FALSE(proxy->OnCallback(testState, testInfo));
H A Dprint_service_stub_test.cpp468 PrinterInfo testInfo; variable
470 testInfo.SetPrinterId(testPrinterId);
472 printerInfos.emplace_back(testInfo);
597 PrinterInfo testInfo; variable
601 printerInfos.emplace_back(testInfo);
1384 PrinterInfo testInfo; variable
1389 testInfo.Marshalling(data);
1410 PrinterInfo testInfo; variable
1415 testInfo.Marshalling(data);
1461 PrinterInfo testInfo; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxychannel_manager_test.cpp948 ProxyChannelInfo testInfo; variable
950 testInfo.myId = TEST_NUMBER_ZERO;
951 testInfo.peerId = TEST_NUMBER_ZERO;
955 (void)strcpy_s(testInfo.identity, sizeof(testInfo.identity), TEST_CHANNEL_INDENTITY);
1064 ProxyChannelInfo testInfo; variable
1066 testInfo.myId = 0;
1067 testInfo.peerId = 0;
1068 testInfo.appInfo.encrypt = 2;
1069 testInfo.appInfo.algorithm = 2;
1070 testInfo.appInfo.crc = 2;
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_callback_stub_test.cpp127 PrinterInfo testInfo; variable
129 testInfo.SetPrinterId(testPrinterId);
133 EXPECT_TRUE(testInfo.Marshalling(data));
137 Matcher<const PrinterInfo&>(PrinterInfoMatcher(testInfo)))).Times(1).WillOnce(Return(true));
/ohos5.0/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/
H A Dbroadcast_manager_test.cpp71 BroadcastInfo testInfo; variable
72 bool ret = BroadcastManager::GetInstance().SendBroadcast(testInfo, params);
/ohos5.0/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/
H A Dstatic_subscriber_manager_unit_test.cpp947 manager->AddToValidSubscribers(testEventName, testInfo);
1112 manager->AddToValidSubscribers(testEventName, testInfo);
1143 manager->AddToValidSubscribers(testEventName, testInfo);
1174 manager->AddToValidSubscribers(testEventName, testInfo);
1593 info0.emplace_back(testInfo);
1647 info0.emplace_back(testInfo);
2209 info0.emplace_back(testInfo);
2778 info0.emplace_back(testInfo);
2849 info0.emplace_back(testInfo);
2919 info0.emplace_back(testInfo);
[all …]
/ohos5.0/drivers/peripheral/input/hal/src/
H A Dinput_controller.c411 CapacitanceTestInfo testInfo; in RunCapacitanceTest() local
419 (void)memset_s(&testInfo, sizeof(CapacitanceTestInfo), 0, sizeof(CapacitanceTestInfo)); in RunCapacitanceTest()
420 testInfo.testType = testType; in RunCapacitanceTest()
427 …if (IoServiceOps(pos->service, RUN_CAPAC_TEST, &testInfo.testType, testInfo.testResult, SELF_TEST_… in RunCapacitanceTest()
433 if (strncpy_s(result, length, testInfo.testResult, SELF_TEST_RESULT_LEN - 1) != EOK) { in RunCapacitanceTest()

12