Home
last modified time | relevance | path

Searched refs:testNum (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/permission/
H A Dtrans_dynamic_permission_test.cpp126 int testNum = 99; variable
132 for (int i = 0; i < testNum; i++) {
140 for (int i = 0; i < testNum; i++) {
157 for (int i = 0; i < testNum; i++) {
175 int testNum = 100; variable
177 for (int i = 0; i < testNum; i++) {
192 for (int i = 0; i < testNum; i++) {
214 int testNum = 100; variable
217 for (int i = 0; i < testNum; i++) {
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dexecutor_pool_test.cpp175 std::atomic<int> testNum = 1; variable
176 auto delayTask = [&testNum] { in __anon319724040702()
177 testNum++; in __anon319724040702()
179 auto task = [&testNum] { in __anon319724040802()
180 testNum += 2; in __anon319724040802()
183 ASSERT_EQ(testNum, 1);
186 ASSERT_EQ(testNum, 3);
188 ASSERT_EQ(testNum, 4);
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dperformance-optimization-practical-guidance.md476 @Prop testNum: Book; // @Prop装饰状态变量会深拷贝
479 Text(`PropChild testNum ${this.testNum.c}`)
486 @State testNum: Book[] = [new Book(1)];
490 Text(`Parent testNum ${this.testNum[0].c}`)
492 this.testNum[0].c += 1;
495 PropChild({ testNum: this.testNum[0] })
516 Text(`PropChild testNum ${this.testNum.c}`)
523 @State testNum: Book[] = [new Book(1)];
527 Text(`Parent testNum ${this.testNum[0].c}`)
529 this.testNum[0].c += 1;
[all …]
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-state-management-best-practices.md24 The @Prop testNum: ClassA; // @Prop makes a deep copy.
27 Text(`PropChild testNum ${this.testNum.c}`)
34 @State testNum: ClassA[] = [new ClassA(1)];
38 Text(`Parent testNum ${this.testNum[0].c}`)
40 this.testNum[0].c += 1;
44 PropChild({ testNum: this.testNum[0] })
69 Text(`PropChild testNum ${this.testNum.c}`)
76 @State testNum: ClassA[] = [new ClassA(1)];
80 Text(`Parent testNum ${this.testNum[0].c}`)
82 this.testNum[0].c += 1;
[all …]
H A Darkts-link.md669 @Link testNum: number;
672 Text(`LinkChild testNum ${this.testNum}`)
683 Text(`Parent testNum ${this.testNum.c}`)
685 this.testNum.c += 1;
688 LinkChild({ testNum: this.testNum.c })
710 @Link testNum: ClassA;
713 Text(`LinkChild testNum ${this.testNum?.c}`)
715 this.testNum.c += 1;
727 Text(`Parent testNum ${this.testNum.c}`)
729 this.testNum.c += 1;
[all …]
H A Darkts-observed-and-objectlink.md997 @ObjectLink testNum: Info;
1000 Text(`ObjectLinkChild testNum ${this.testNum.info}`)
1003 this.testNum = new Info(47);
1015 Text(`Parent testNum ${this.testNum[0].info}`)
1020 ObjectLinkChild({ testNum: this.testNum[0] })
1029 this.testNum = new Info(47);
1048 @ObjectLink testNum: Info;
1051 Text(`ObjectLinkChild testNum ${this.testNum.info}`)
1054 this.testNum.info = 47;
1066 Text(`Parent testNum ${this.testNum[0].info}`)
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-link.md670 @Link testNum: number;
673 Text(`LinkChild testNum ${this.testNum}`)
684 Text(`Parent testNum ${this.info.age}`)
689 LinkChild({ testNum: this.info.age })
695testNum: number从父组件的LinkChild({testNum:this.info.age})初始化。\@Link的数据源必须是装饰器装饰的状态变量,简而言之,\@Link装饰的数据…
711 @Link testNum: Info;
714 Text(`LinkChild testNum ${this.testNum?.age}`)
716 this.testNum.age += 1;
728 Text(`Parent testNum ${this.info.age}`)
733 LinkChild({ testNum: this.info })
H A Darkts-observed-and-objectlink.md996 @ObjectLink testNum: Info;
999 Text(`ObjectLinkChild testNum ${this.testNum.info}`)
1002 this.testNum = new Info(47);
1014 Text(`Parent testNum ${this.testNum[0].info}`)
1019 ObjectLinkChild({ testNum: this.testNum[0] })
1028 this.testNum = new Info(47);
1047 @ObjectLink testNum: Info;
1050 Text(`ObjectLinkChild testNum ${this.testNum.info}`)
1053 this.testNum.info = 47;
1065 Text(`Parent testNum ${this.testNum[0].info}`)
[all …]
H A Darkts-state-management-best-practices.md27 Text(`PropChild testNum ${this.testClass.num}`)
38 Text(`Parent testNum ${this.testClass[0].num}`)
69 Text(`PropChild testNum ${this.testClass.num}`)
80 Text(`Parent testNum ${this.testClass[0].num}`)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_notification_chain_test.cpp165 int testNum = 2048; variable
166 g_notificationChain->NotifyEvent(COMMIT_EVENT, &testNum);
167 EXPECT_TRUE(g_onEventTestNum == testNum);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdilayerinfo_test.cpp452 float testNum = 1.0f; variable
453 std::vector<float> cornerRadiusInfo = {testNum, testNum, testNum, testNum,
454 testNum, testNum, testNum, testNum};
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dutils_test.cpp57 int testNum = 10; member in OHOS::Test::BlockIntegerTest
101 blockInteger = testNum;
102 ASSERT_EQ(blockInteger, testNum);
/ohos5.0/base/theme/screenlock_mgr/test/unittest/
H A Dscreenlock_client_test.cpp142 int testNum = 0; variable
143 int32_t result = ScreenLockAppManager::GetInstance()->SendScreenLockEvent("test", testNum);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/create_delete_directory_test/src/
H A Dcreate_delete_directory_test.cpp91 static int32_t TrashDir(string &&testNum) in TrashDir() argument
96 valuesBucket.Put(MEDIA_DATA_DB_NAME, testNum + ".jpg"); in TrashDir()
97 string relativePath = "Pictures/" + testNum + "/"; in TrashDir()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_interactive_implict_animator_test.cpp388 int testNum = 0; variable
390 testNum = 1; in __anon9497677b1702()
400 EXPECT_TRUE(testNum == 1);
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dvcard_test.cpp1273 int testNum = 20; variable
1280 for (int i = 0; i < testNum; i++) {
1304 int testNum = 5; variable
1307 for (int i = 0; i < testNum; i++) {
1320 int testNum = 10; variable
1321 WriteBigTestData(inputString, testNum);
/ohos5.0/docs/zh-cn/device-dev/porting/
H A Dporting-cst85f01-combo-demo.md499 int testNum = MEMP_NUM_NETCONN;
500 dbg("testNum %d\r\n", testNum);
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-cst85f01-combo-demo.md497 int testNum = MEMP_NUM_NETCONN;
498 dbg("testNum %d\r\n", testNum);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Djs-apis-webview.md1644 testNumber(testNum:number): number {
1645 console.log('Web Component number' + testNum);
1646 return testNum;
6726 testNumber(testNum: number): number {
6727 …console.log('Web Component number' + testNum + " url " + this.mycontroller.getLastJavascriptProxyC…
6728 return testNum;
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/
H A Djs-apis-webview.md1644 testNumber(testNum:number): number {
1645 console.log('Web Component number' + testNum);
1646 return testNum;
6732 testNumber(testNum: number): number {
6733 …console.log('Web Component number' + testNum + " url " + this.mycontroller.getLastJavascriptProxyC…
6734 return testNum;