Home
last modified time | relevance | path

Searched refs:expectCount (Results 1 – 10 of 10) sorted by relevance

/test/xts/acts/multimedia/medialibrary/mediaLibrary_fileResult/entry/src/main/ets/test/
DfetchFileResultCallback.test.ets47 const checkAssetCount = async function (done, testNum, fetchOp, expectCount) {
50 let checkResult = await checkAssetsCount(testNum, fetchFileResult, expectCount);
70 let expectCount = 4;
71 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
92 const checkGetAllObject = async function (done, testNum, expectCount) {
95 order: FILEKEY.DATE_ADDED + ` DESC LIMIT 0,${expectCount}`,
100 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
109 expect(targetObjects.length).assertEqual(expectCount);
131 let expectCount = 1;
135 await checkAssetCount(done, testNum, currentFetchOp, expectCount);
[all …]
DfetchFileResultPromise.test.ets38 const checkAssetCount = async function (done, testNum, fetchOp, expectCount) {
41 let checkResult = await checkAssetsCount(testNum, fetchFileResult, expectCount);
60 let expectCount = 4;
61 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
75 const checkGetAllObject = async function (done, testNum, expectCount) {
78 order: FILEKEY.DATE_ADDED + ` DESC LIMIT 0,${expectCount}`,
83 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
86 expect(targetObjects.length).assertEqual(expectCount);
107 let expectCount = 1;
111 await checkAssetCount(done, testNum, currentFetchOp, expectCount);
[all …]
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelper/
DgetAssets.ets27 function getAssetsCallbackTest (done, testNum, fetchOps, expectCount) {
35 expect(fetchResult.getCount()).assertEqual(expectCount);
73 async function getAssetsPromiseTest (done, testNum, fetchOps, expectCount) {
76 expect(fetchResult.getCount()).assertEqual(expectCount);
110 const expectCount = 1;
111 await getAssetsCallbackTest(done, testNum, fetchOps, expectCount);
125 const expectCount = 0;
126 await getAssetsCallbackTest(done, testNum, fetchOps, expectCount);
154 const expectCount = 1;
155 await getAssetsPromiseTest(done, testNum, fetchOps, expectCount);
[all …]
/test/xts/acts/multimedia/medialibrary/mediaLibrary_fileAsset/entry/src/main/ets/test/
DfileAssetTestCallback.test.ets47 const rwOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
52 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
99 const rOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
104 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
135 const wOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
140 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
238 let expectCount = 2;
239 await rwOpenTest(done, testNum, fetchOp, assetProps, expectCount);
257 let expectCount = 2;
258 await rOpenTest(done, testNum, fetchOp, assetProps, expectCount);
[all …]
DfileAssetTestPromise.test.ets47 const rwOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
52 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
89 const rOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
94 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
121 const wOpenTest = async function (done, testNum, fetchOp, assetProps, expectCount) {
126 … let checkAssetCountPass = await checkAssetsCount(testNum, fetchFileResult, expectCount);
201 let expectCount = 2;
202 await rwOpenTest(done, testNum, fetchOp, assetProps, expectCount);
220 let expectCount = 2;
221 await rOpenTest(done, testNum, fetchOp, assetProps, expectCount);
[all …]
/test/xts/acts/multimedia/medialibrary/
Dcommon.js214 const checkAssetsCount = async function(testNum, fetchFileResult, expectCount) { argument
220 if (count !== expectCount) {
221 console.info(`${testNum}:: count:expectCount - ${count} : ${expectCount}`);
223 return count === expectCount;
226 const checkAlbumsCount = function(testNum, albumList, expectCount) { argument
232 if (albumsCount !== expectCount) {
233 console.info(`${testNum}:: albumsCount: expectCount - ${albumsCount} : ${expectCount}`);
235 return albumsCount === expectCount;
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
DDeviceTest.cpp80 uint32_t expectCount = 1; variable
81 EXPECT_LE(expectCount, count);
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DDeviceTest.cpp80 uint32_t expectCount = 1; variable
81 EXPECT_LE(expectCount, count);
/test/xts/dcts/communication/softbus_standard/common/
Dnet_trans_common.c1015 int WaitNodeCount(int timeout, WaitNodeStateType state, int expectCount) in WaitNodeCount() argument
1017 LOG("Wait4Node,timeout:%d, type:%d, exp count:%d", timeout, state, expectCount); in WaitNodeCount()
1023 if (g_nodeOnlineCount == expectCount) { in WaitNodeCount()
1029 if (g_nodeOfflineCount == expectCount) { in WaitNodeCount()
1046 if (g_nodeOnlineCount != expectCount) { in WaitNodeCount()
1047 LOG("Wait4Node[online] fail[exp:%d, real:%d]", expectCount, g_nodeOnlineCount); in WaitNodeCount()
1052 if (g_nodeOfflineCount != expectCount) { in WaitNodeCount()
1053 LOG("Wait4Node[offline] fail[exp:%d, real:%d]", expectCount, g_nodeOfflineCount); in WaitNodeCount()
Dnet_trans_common.h194 int WaitNodeCount(int timeout, WaitNodeStateType state, int expectCount);