Home
last modified time | relevance | path

Searched refs:keyA (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/napi/test/unittest/cj_native/
H A Dtest_ark_interop.cpp142 auto keyA = ARKTS_CreateUtf8(env, "a", 1); in TEST_F() local
143 EXPECT_FALSE(ARKTS_HasOwnProperty(env, obj, keyA)); in TEST_F()
144 auto valueA = ARKTS_GetProperty(env, obj, keyA); in TEST_F()
147 ARKTS_SetProperty(env, obj, keyA, valueA); in TEST_F()
148 EXPECT_TRUE(ARKTS_HasOwnProperty(env, obj, keyA)); in TEST_F()
149 auto receivedA = ARKTS_GetProperty(env, obj, keyA); in TEST_F()
157 EXPECT_TRUE(ARKTS_StrictEqual(env, keyA, key)); in TEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_data_operation_syncdb_test.cpp735 Key keyA; in TestSnapshotEntryPut() local
738 DistributedDBToolsUnitTest::GetRandomKeyValue(keyA); in TestSnapshotEntryPut()
743 * @tc.steps: step2. Obtain the keyA data through the Get interface of the snapshotA. in TestSnapshotEntryPut()
746 snapshotA->Get(keyA, g_valueCallback); in TestSnapshotEntryPut()
750 * @tc.steps: step3. Insert the data of keyA and valueA through the Put interface of the delegate. in TestSnapshotEntryPut()
752 g_kvDelegatePtr->Put(keyA, valueA); in TestSnapshotEntryPut()
761 * interface of the delegate. Obtain the keyA data through the Get interface of the snapshotB. in TestSnapshotEntryPut()
762 * @tc.expected: step5. Return a non-empty snapshot. The value of keyA is valueA.. in TestSnapshotEntryPut()
768 * @tc.steps: step4. Obtain the keyA data through the Get interface of the snapshotA. in TestSnapshotEntryPut()
771 snapshotA->Get(keyA, g_valueCallbac in TestSnapshotEntryPut()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_subscribe_query_test.cpp84 Key keyA = {'K', i}; in PreSetData() local
93 EXPECT_EQ(g_kvNbDelegatePtr->Put(keyA, value), OK); in PreSetData()

Completed in 4 milliseconds