!14676 uitest api lint 问题整改

Merge pull request !14676 from chen828/master
This commit is contained in:
openharmony_ci 2024-11-15 00:40:03 +00:00 committed by Gitee
commit c8620fa9d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

24
api/@ohos.UiTest.d.ts vendored
View File

@ -996,6 +996,7 @@ declare interface Point {
* The x-coordinate of the coordinate point. * The x-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1003,6 +1004,7 @@ declare interface Point {
* The x-coordinate of the coordinate point. * The x-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @since 10 * @since 10
@ -1011,6 +1013,7 @@ declare interface Point {
* The x-coordinate of the coordinate point. * The x-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1021,6 +1024,7 @@ declare interface Point {
* The y-coordinate of the coordinate point. * The y-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1028,6 +1032,7 @@ declare interface Point {
* The y-coordinate of the coordinate point. * The y-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @since 10 * @since 10
@ -1036,6 +1041,7 @@ declare interface Point {
* The y-coordinate of the coordinate point. * The y-coordinate of the coordinate point.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1073,6 +1079,7 @@ declare interface Rect {
* The x-coordinate of the top left corner of the rectangle. * The x-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1080,6 +1087,7 @@ declare interface Rect {
* The x-coordinate of the top left corner of the rectangle. * The x-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1088,6 +1096,7 @@ declare interface Rect {
* The x-coordinate of the top left corner of the rectangle. * The x-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1098,6 +1107,7 @@ declare interface Rect {
* The y-coordinate of the top left corner of the rectangle. * The y-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1105,6 +1115,7 @@ declare interface Rect {
* The y-coordinate of the top left corner of the rectangle. * The y-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1113,6 +1124,7 @@ declare interface Rect {
* The y-coordinate of the top left corner of the rectangle. * The y-coordinate of the top left corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1123,6 +1135,7 @@ declare interface Rect {
* The x-coordinate at the bottom right corner of the rectangle. * The x-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1130,6 +1143,7 @@ declare interface Rect {
* The x-coordinate at the bottom right corner of the rectangle. * The x-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1138,6 +1152,7 @@ declare interface Rect {
* The x-coordinate at the bottom right corner of the rectangle. * The x-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1148,6 +1163,7 @@ declare interface Rect {
* The y-coordinate at the bottom right corner of the rectangle. * The y-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 9 * @since 9
*/ */
@ -1155,6 +1171,7 @@ declare interface Rect {
* The y-coordinate at the bottom right corner of the rectangle. * The y-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1163,6 +1180,7 @@ declare interface Rect {
* The y-coordinate at the bottom right corner of the rectangle. * The y-coordinate at the bottom right corner of the rectangle.
* *
* @type { number } * @type { number }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -1288,6 +1306,7 @@ declare interface UIElementInfo {
/** /**
* The bundle name of the host application. * The bundle name of the host application.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 10 * @since 10
* @test * @test
@ -1295,6 +1314,7 @@ declare interface UIElementInfo {
/** /**
* The bundle name of the host application. * The bundle name of the host application.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1304,6 +1324,7 @@ declare interface UIElementInfo {
/** /**
* The component type, set it as 'window' if it's a window. * The component type, set it as 'window' if it's a window.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 10 * @since 10
* @test * @test
@ -1311,6 +1332,7 @@ declare interface UIElementInfo {
/** /**
* The component type, set it as 'window' if it's a window. * The component type, set it as 'window' if it's a window.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11
@ -1320,6 +1342,7 @@ declare interface UIElementInfo {
/** /**
* The text of component, set it as window's title if it's a window. * The text of component, set it as window's title if it's a window.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @since 10 * @since 10
* @test * @test
@ -1327,6 +1350,7 @@ declare interface UIElementInfo {
/** /**
* The text of component, set it as window's title if it's a window. * The text of component, set it as window's title if it's a window.
* @type { string } * @type { string }
* @readonly
* @syscap SystemCapability.Test.UiTest * @syscap SystemCapability.Test.UiTest
* @atomicservice * @atomicservice
* @since 11 * @since 11