/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | custom_utd_store_test.cpp | 103 TypeDescriptorCfg type1 = *(typesCfg.begin()); in HWTEST_F() local 104 EXPECT_EQ(type1.typeId, "com.example.utdtest.document"); in HWTEST_F() 105 EXPECT_EQ(*(type1.belongingToTypes.begin()), "com.example.utdtest2.document"); in HWTEST_F() 106 EXPECT_EQ(*(type1.filenameExtensions.begin()), ".mydocument"); in HWTEST_F() 107 EXPECT_EQ(*(type1.mimeTypes.begin()), "application/my-document"); in HWTEST_F() 108 EXPECT_EQ(type1.description, "My document."); in HWTEST_F() 109 EXPECT_EQ(type1.referenceURL, "http://www.mycompany.com/my-document.html"); in HWTEST_F() 110 EXPECT_EQ(type1.iconFile, "resources/my-document.png"); in HWTEST_F() 111 EXPECT_EQ(*(type1.installerBundles.begin()), "com.example.utdtest"); in HWTEST_F() 112 EXPECT_EQ(type1 in HWTEST_F() [all...] |
H A D | custom_utd_json_parser_test.cpp | 84 TypeDescriptorCfg type1 = *(typesCfg1.begin()); in HWTEST_F() local 86 EXPECT_EQ(type1.typeId, "com.example.utdtest.document"); in HWTEST_F() 87 EXPECT_EQ(*(type1.belongingToTypes.begin()), "com.example.utdtest2.document"); in HWTEST_F() 88 EXPECT_EQ(*(type1.filenameExtensions.begin()), ".mydocument"); in HWTEST_F() 89 EXPECT_EQ(*(type1.mimeTypes.begin()), "application/my-document"); in HWTEST_F() 90 EXPECT_EQ(type1.description, "My document."); in HWTEST_F() 91 EXPECT_EQ(type1.referenceURL, "http://www.mycompany.com/my-document.html"); in HWTEST_F() 92 EXPECT_EQ(type1.iconFile, "resources/my-document.png"); in HWTEST_F()
|
/foundation/ability/ability_base/test/unittest/want/ |
H A D | skills_test.cpp | 954 std::string type1 = base_->GetType(0); in HWTEST_F() local 955 EXPECT_EQ(patternStr, type1); in HWTEST_F() 1052 std::string type1 = "this is type"; in HWTEST_F() local 1053 bool result1 = base_->FindMimeType(type1); in HWTEST_F()
|
H A D | want_params_test.cpp | 1204 int type1 = 50; in HWTEST_F() local 1205 bool result2 = wantParams.ReadFromParcelParam(parcel, key, type1, 1); in HWTEST_F()
|
/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag.cpp | 85 napi_value type1 = nullptr;
in RegisterEnumNfcForumType() local 90 napi_create_int32(env, static_cast<int32_t>(EmNfcForumType::NFC_FORUM_TYPE_1), &type1);
in RegisterEnumNfcForumType() 96 DECLARE_NAPI_STATIC_PROPERTY("NFC_FORUM_TYPE_1", type1),
in RegisterEnumNfcForumType()
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | buffer_queue_test.cpp | 818 std::string type1 = "AAAAABBBBBCCCCCDDDDDEEEEEFFFFFGGGGGAAAAABBBBBCCCCCDDDDDEEEEEFFFFFGGGGG"; in HWTEST_F() local 819 ret = bq->SetSurfaceAppFrameworkType(type1); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_particle_animation_test.cpp | 77 ParticleType type1 = ParticleType::IMAGES; in SetUp() local 82 emitRate1, emitShape1, position1, emitSize1, particleCount1, lifeTime1, type1, radius1, image1, imageSize1); in SetUp()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_network_manager_test.cpp | 153 ConnectionAddrType type1 = CONNECTION_ADDR_ETH; in HWTEST_F() local 154 ret = LnnGetAddrTypeByIfName("ETH", &type1); in HWTEST_F()
|
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/ |
H A D | udmf_test.cpp | 289 char type1[] = "general.plain-text";
in HWTEST_F() local 290 int hasType1 = OH_UdmfData_HasType(unifiedData, type1);
in HWTEST_F() 1474 char type1[] = "ApplicationDefined-myType1";
in HWTEST_F() local 1476 int buildRes = OH_UdmfRecord_AddArrayBuffer(record1, type1, buffer1);
in HWTEST_F() 1484 int getRes2 = OH_UdmfRecord_GetArrayBuffer(record1, type1, buffer2);
in HWTEST_F()
|
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_session_impl_test.cpp | 290 WindowType type1 = WindowType::WINDOW_TYPE_POINTER; in HWTEST_F() local 291 option->SetWindowType(type1); in HWTEST_F() 2079 WindowType type1 = WindowType::APP_MAIN_WINDOW_BASE; in HWTEST_F() local 2080 option->SetWindowType(type1); in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/ |
H A D | distributed_want_params_test.cpp | 987 int type1 = 50; in HWTEST_F() local 988 bool result2 = wantParams.ReadFromParcelParam(parcel, key, type1); in HWTEST_F()
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want_params.cpp | 293 int type1 = WantParams::GetDataType(itthis.second); in operator ==() local 295 if (type1 != type2) { in operator ==() 298 if (!CompareInterface(itother->second, itthis.second, type1)) { in operator ==()
|
/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_device.cpp | 921 napi_valuetype type1; in GetSignalLevel() local 923 napi_typeof(env, argv[0], &type1); in GetSignalLevel() 925 WIFI_NAPI_ASSERT(env, type1 == napi_number, WIFI_OPT_INVALID_PARAM, SYSCAP_WIFI_STA); in GetSignalLevel()
|