提交 a6a8ba32 编写于 作者: X xdmal

Signed-off-by: xdmal <1114560882@qq.com>

 On branch master
 Your branch is up to date with 'origin/master'.
上级 a7dc1ac2
......@@ -15,6 +15,7 @@
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/lite'
import process from '@ohos.process'
describe('ChildProcessTest', function () {
/**
* @tc.name: testRunCmd001
* @tc.desc: Return a child process object and spawns a new ChildProcess to run the command.
......@@ -2046,7 +2047,8 @@ describe('ChildProcessTest', function () {
/**
* @tc.name: testGetstartrealtime001
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process.
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of
the system to the start of the process.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
......@@ -2064,7 +2066,8 @@ describe('ChildProcessTest', function () {
/**
* @tc.name: testGetstartrealtime002
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process.
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of
the system to the start of the process.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
......@@ -2079,7 +2082,8 @@ describe('ChildProcessTest', function () {
/**
* @tc.name: testGetstartrealtime003
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process.
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of
the system to the start of the process.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
......@@ -2097,7 +2101,8 @@ describe('ChildProcessTest', function () {
/**
* @tc.name: testGetstartrealtime004
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of the system to the start of the process.
* @tc.desc: Returns the elapsed real time (in milliseconds) taken from the start of
the system to the start of the process.
* @tc.require: AR000GFB04
* @tc.author: liwenqiang
*/
......
......@@ -15,6 +15,7 @@
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/lite'
import Uri from '@ohos.uri'
describe('UriTest', function () {
/**
* @tc.name: testConstructor001
* @tc.desc: Constructs a URI by parsing the given string.
......@@ -309,7 +310,8 @@ describe('UriTest', function () {
* @tc.author: zhaoduwei
*/
it('testConstructor019', 0, function () {
let gaogao = new Uri.URI('http://gg:gaogao@[fe80:0000:0001:0000:0440:44ff:1233:5678]:99/path/path?query#fagment');
let gaogao =
new Uri.URI('http://gg:gaogao@[fe80:0000:0001:0000:0440:44ff:1233:5678]:99/path/path?query#fagment');
expect(gaogao.scheme).assertEqual("http");
expect(gaogao.authority).assertEqual("gg:gaogao@[fe80:0000:0001:0000:0440:44ff:1233:5678]:99");
expect(gaogao.ssp).assertEqual("//gg:gaogao@[fe80:0000:0001:0000:0440:44ff:1233:5678]:99/path/path?query");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册