/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/common/ |
H A D | common.h | 155 decltype(res1) res2 = (expect); \ 157 std::string str2 = res2; \ 158 if (::strcmp(res1, res2) != 0) { \ 160 "assert equal failed, expect is %{public}s and result is %{public}s", res2, res1); \ 170 decltype(res1) res2 = (expect); \ 172 std::string str2 = res2; \ 173 if (::strcmp(res1, res2) == 0) { \ 175 "assert not equal failed, expect is %{public}s and result is %{public}s", res2, res1); \
|
/test/xts/acts/arkui/ace_c_arkui_test_api13/entry/src/main/cpp/common/ |
H A D | common.h | 155 decltype(res1) res2 = (expect); \ 157 std::string str2 = res2; \ 158 if (::strcmp(res1, res2) != 0) { \ 160 "assert equal failed, expect is %{public}s and result is %{public}s", res2, res1); \ 170 decltype(res1) res2 = (expect); \ 172 std::string str2 = res2; \ 173 if (::strcmp(res1, res2) == 0) { \ 175 "assert not equal failed, expect is %{public}s and result is %{public}s", res2, res1); \
|
/test/xts/acts/distributeddatamgr/preferencesjstest/hap/entry/src/ohosTest/js/test/ |
H A D | PreferencesFlushJsunit.test.js | 92 await mPreferences.get(KEY_TEST_INT_ELEMENT, 1).then((res2) => { 93 expect(1).assertEqual(res2); 94 console.log(TAG + "res2 = " + res2 + "get res2 succeed. test0100end"); 97 console.log(TAG + "get res2 failed error message = " + err + "error code = " + err.code); 139 await mPreferences.get(KEY_TEST_LONG_ELEMENT, 111).then((res2) => { 140 expect(111).assertEqual(res2); 141 console.log(TAG + "res2 = " + res2 [all...] |
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/ohosTest/ets/workers/ |
H A D | newworker_031.js | 21 let res2 = ""; 25 res2 = workerPort.callGlobalCallObjectMethod("obj1", "getMessageWithInput", 0, "WithInput"); 31 if (res1 == "TestObj" && res2 == "TestObjWithInput" && res3 == "done") {
|
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/ |
H A D | nativeimage.cpp | 567 int res2 = OH_NativeImage_AttachContext(nativeImage, NULL);
in OHNativeImageAttachContextNullptr() local 568 if (res2 != 0) {
in OHNativeImageAttachContextNullptr() 613 int res2 = OH_NativeImage_AttachContext(nativeImage, textureId);
in OHNativeImageAttachContextNormal() local 614 if (res2 == 0) {
in OHNativeImageAttachContextNormal() 644 int res2 = OH_NativeImage_AttachContext(nativeImage, textureId);
in OHNativeImageDetachContextNormal() local 645 if (res2 == 0) {
in OHNativeImageDetachContextNormal() 680 int res2 = OH_NativeImage_GetSurfaceId(nullptr, NULL);
in OHNativeImageGetSurfaceIdNullptr() local 681 if (res2 != 0 && surfaceId == NUMBER_99999) {
in OHNativeImageGetSurfaceIdNullptr() 752 int res2 = OH_NativeImage_GetTransformMatrix(nativeImage, NULL);
in OHNativeImageGetTransformMatrixNullptr() local 753 if (res2 in OHNativeImageGetTransformMatrixNullptr() 780 int res2 = OH_NativeImage_GetTransformMatrixV2(nativeImage, NULL); OHNativeImageGetTransformMatrixV2Nullptr() local 995 int res2 = OH_NativeImage_SetOnFrameAvailableListener(nativeImage1, listener1); OHNativeImageSetOnFrameAvailableListenerNormal() local 1051 int res2 = OH_NativeImage_SetOnFrameAvailableListener(nativeImage1, listener1); OHNativeImageUnsetOnFrameAvailableListenerNormal() local [all...] |
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/ |
H A D | softwareNdk.cpp | 38 bool res2 = false;
in GetBool() local 42 napi_create_int32(env, res2 ? 0 : 1, &num2);
in GetBool()
|
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksAESBasicCallbackJsunit.test.js | 484 huks.hasKeyItem(srcKeyAlias, huksOptions, (err, res2) => { 485 expect(!res2).assertTrue();
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/arkApi/ |
H A D | arkUIAPi.cpp | 21 #define res2 ((int)-1)
macro 135 ASSERT_EQ(getDirection, res2);
in testArkUI013()
|
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/ |
H A D | util.test.js | 8785 let res2 = 0; 8789 res2 = arg2; 8794 expect(res2).assertEqual(111); 8810 let res2 = ""; 8813 res2 = new MyClass().msg; 8817 expect(res2).assertEqual('msg123');
|
/test/xts/acts/resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/ |
H A D | ffrtndk.cpp | 3039 int res2 = ffrt_loop_destroy(loop); in ffrt_loop_abnormal_0002() local 3040 if (res2 != -1) { in ffrt_loop_abnormal_0002() 3516 int res2 = ffrt_loop_run(loop); in ffrt_loop_abnormal_0003() local 3517 if (res2 != -1) { in ffrt_loop_abnormal_0003() 3560 int res2 = ffrt_loop_timer_start(loop, timeout2, data, g_cb, false); in ffrt_loop_normal_0003() member 3579 if (res2 != 1 or res1 != 0 or result2 != testNumber3 or result1 != testNumber1 or in ffrt_loop_normal_0003()
|
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/ |
H A D | napi_init.cpp | 1026 int res2 = OH_UdmfRecordProvider_SetData(nullptr, context, GetDataCallbackFunc, nullptr);
in OH_UdmfRecordProvider_SetData0200() local 1027 NAPI_ASSERT(env, res2 == UDMF_E_INVALID_PARAM, "OH_UdmfRecordProvider_SetData is fail");
in OH_UdmfRecordProvider_SetData0200()
|
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktestHvigor/entry/src/main/cpp/ |
H A D | napi_init.cpp | 2007 int res2 = 2;
in OH_Rdb_DBType_Enum_0100() local 2010 NAPI_ASSERT(env, res2 == Rdb_DBType::RDB_CAYLEY, "RDB_CAYLEY is fail.");
in OH_Rdb_DBType_Enum_0100()
|
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/ |
H A D | RpcClientJsunit.test.js | 14317 let res2 = object.queryLocalInterface('Test2');
14318 expect(res2 != null).assertTrue();
14418 let res2 = object.getLocalInterface('Test2');
14419 expect(res2 != null).assertTrue();
|