未验证 提交 a22c2595 编写于 作者: O openharmony_ci 提交者: Gitee

!18399 uitest.md 说明代码一致性修改

Merge pull request !18399 from lijialang/master
......@@ -1605,7 +1605,7 @@ assertComponentExist(on: On): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000003 | Component existence assertion failed. |
| 17000003 | if the assertion failed. |
**示例:**
......@@ -2521,7 +2521,7 @@ getBundleName(): Promise\<string>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2554,7 +2554,7 @@ getBounds(): Promise\<Rect>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2587,7 +2587,7 @@ getTitle(): Promise\<string>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2620,7 +2620,7 @@ getWindowMode(): Promise\<WindowMode>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2653,7 +2653,7 @@ isFocused(): Promise\<boolean>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2686,7 +2686,7 @@ isActived(): Promise\<boolean>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2713,7 +2713,7 @@ focus(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
**示例:**
......@@ -2747,7 +2747,7 @@ moveTo(x: number, y: number): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2783,7 +2783,7 @@ resize(wide: number, height: number, direction: ResizeDirection): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2811,7 +2811,7 @@ split(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2839,7 +2839,7 @@ maximize(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2867,7 +2867,7 @@ minimize(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2895,7 +2895,7 @@ resume(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......@@ -2923,7 +2923,7 @@ close(): Promise\<void>
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 17000002 | if the async function was not called with await. |
| 17000004 | if the component is invisible or destroyed. |
| 17000004 | if the window is invisible or destroyed. |
| 17000005 | if the action is not supported on this window. |
**示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册