Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
bd75a293
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bd75a293
编写于
2月 19, 2022
作者:
Y
y00314596
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify by yangqing3@huawei.com
Signed-off-by:
N
y00314596
<
yangqing3@huawei.com
>
上级
a06b3953
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
278 addition
and
192 deletion
+278
-192
global/cust/custjs/src/main/js/default/test/Cust.test.js
global/cust/custjs/src/main/js/default/test/Cust.test.js
+277
-0
global/cust/custjs/src/main/js/default/test/GetCfgDirList.test.js
...ust/custjs/src/main/js/default/test/GetCfgDirList.test.js
+0
-47
global/cust/custjs/src/main/js/default/test/GetCfgFiles.test.js
.../cust/custjs/src/main/js/default/test/GetCfgFiles.test.js
+0
-71
global/cust/custjs/src/main/js/default/test/GetOneCfgFile.test.js
...ust/custjs/src/main/js/default/test/GetOneCfgFile.test.js
+0
-71
global/cust/custjs/src/main/js/default/test/List.test.js
global/cust/custjs/src/main/js/default/test/List.test.js
+1
-3
未找到文件。
global/cust/custjs/src/main/js/default/test/Cust.test.js
0 → 100755
浏览文件 @
bd75a293
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
configPolicy
from
'
@ohos.configPolicy
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
describe
(
'
CustTest
'
,
function
()
{
console
.
log
(
'
*************start CustTest*************
'
);
/* *
* @tc.number SUB_GLOBAL_CUST_GETLIST_JS_001
* @tc.name test getCfgDirList method in callback mode
* @tc.desc get getCfgDirList in callback mode
*/
it
(
'
getCfgDirList_test_001
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgDirList
((
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgDirList_test_001:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgDirList_test_001:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETLIST_JS_002
* @tc.name test getCfgDirList method in promise mode
* @tc.desc get getCfgDirList in promise mode
*/
it
(
'
getCfgDirList_test_002
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgDirList
().
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgDirList_test_002:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgDirList_test_002:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_001
* @tc.name test getCfgFiles method in callback mode
* @tc.desc get getCfgFiles in callback mode
*/
it
(
'
getCfgFiles_test_001
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/none.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_001, none.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_001, none.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_002
* @tc.name test getCfgFiles method in callback mode
* @tc.desc get getCfgFiles in callback mode
*/
it
(
'
getCfgFiles_test_002
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/system.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_002, system.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_002, system.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_003
* @tc.name test getCfgFiles method in callback mode
* @tc.desc get getCfgFiles in callback mode
*/
it
(
'
getCfgFiles_test_003
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/both.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_003, both.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_003, both.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_004
* @tc.name test getCfgFiles method in callback mode
* @tc.desc get getCfgFiles in callback mode
*/
it
(
'
getCfgFiles_test_004
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/user.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_004, user.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_004, user.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_005
* @tc.name test getCfgFiles method in promise mode
* @tc.desc get getCfgFiles in promise mode
*/
it
(
'
getCfgFiles_test_005
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/none.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_005, none.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_005, none.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_006
* @tc.name test getCfgFiles method in promise mode
* @tc.desc get getCfgFiles in promise mode
*/
it
(
'
getCfgFiles_test_006
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/system.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_006, system.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_006, system.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_007
* @tc.name test getCfgFiles method in promise mode
* @tc.desc get getCfgFiles in promise mode
*/
it
(
'
getCfgFiles_test_007
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/both.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_007, both.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_007, both.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_008
* @tc.name test getCfgFiles method in promise mode
* @tc.desc get getCfgFiles in promise mode
*/
it
(
'
getCfgFiles_test_008
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/user.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_008, user.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getCfgFiles_test_008, user.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_001
* @tc.name test getOneCfgFile method in callback mode
* @tc.desc get getOneCfgFile in callback mode
*/
it
(
'
getOneCfgFile_test_001
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/none.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_001, none.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_001, none.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_002
* @tc.name test getOneCfgFile method in callback mode
* @tc.desc get getOneCfgFile in callback mode
*/
it
(
'
getOneCfgFile_test_002
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/system.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_002, system.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_002, system.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_003
* @tc.name test getOneCfgFile method in callback mode
* @tc.desc get getOneCfgFile in callback mode
*/
it
(
'
getOneCfgFile_test_003
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/both.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_003, both.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_003, both.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_004
* @tc.name test getOneCfgFile method in callback mode
* @tc.desc get getOneCfgFile in callback mode
*/
it
(
'
getOneCfgFile_test_004
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/user.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_004, user.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_004, user.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_005
* @tc.name test getOneCfgFile method in promise mode
* @tc.desc get getOneCfgFile in promise mode
*/
it
(
'
getOneCfgFile_test_005
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/none.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_005, none.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_005, none.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_006
* @tc.name test getOneCfgFile method in promise mode
* @tc.desc get getOneCfgFile in promise mode
*/
it
(
'
getOneCfgFile_test_006
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/system.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_006, system.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_006, system.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_007
* @tc.name test getOneCfgFile method in promise mode
* @tc.desc get getOneCfgFile in promise mode
*/
it
(
'
getOneCfgFile_test_007
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/both.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_007, both.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_007, both.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_008
* @tc.name test getOneCfgFile method in promise mode
* @tc.desc get getOneCfgFile in promise mode
*/
it
(
'
getOneCfgFile_test_008
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/user.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_008, user.xml:
'
+
value
.
length
);
console
.
log
(
'
CustTest getOneCfgFile_test_008, user.xml:
'
+
value
);
});
done
();
})
console
.
log
(
'
*************end CustTest*************
'
);
})
global/cust/custjs/src/main/js/default/test/GetCfgDirList.test.js
已删除
100755 → 0
浏览文件 @
a06b3953
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
configPolicy
from
'
@ohos.configPolicy
'
describe
(
'
GetCfgDirListTest
'
,
function
()
{
/* *
* @tc.number SUB_CUST_JS_005
* @tc.name test getCfgDirList method in callback mode
* @tc.desc get getCfgDirList in callback mode
*/
it
(
'
getCfgDirList_test_005
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgDirList
((
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgDirList_test_005:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_CUST_JS_006
* @tc.name test getCfgDirList method in promise mode
* @tc.desc get getCfgDirList in promise mode
*/
it
(
'
getCfgDirList_test_006
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgDirList
().
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgDirList_test_006:
'
+
value
);
});
done
();
})
})
global/cust/custjs/src/main/js/default/test/GetCfgFiles.test.js
已删除
100755 → 0
浏览文件 @
a06b3953
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
configPolicy
from
'
@ohos.configPolicy
'
describe
(
'
GetCfgFilesTest
'
,
function
()
{
/* *
* @tc.number SUB_CUST_JS_003
* @tc.name test getCfgFiles method in callback mode
* @tc.desc get getCfgFiles in callback mode
*/
it
(
'
getCfgFiles_test_003
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/none.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_003, none.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/system.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_003, system.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/both.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_003, both.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/user.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_003, user.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_CUST_JS_004
* @tc.name test getCfgFiles method in promise mode
* @tc.desc get getCfgFiles in promise mode
*/
it
(
'
getCfgFiles_test_004
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getCfgFiles
(
'
custxmltest/none.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_004, none.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/system.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_004, system.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/both.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_004, both.xml:
'
+
value
);
});
configPolicy
.
getCfgFiles
(
'
custxmltest/user.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getCfgFiles_test_004, user.xml:
'
+
value
);
});
done
();
})
})
global/cust/custjs/src/main/js/default/test/GetOneCfgFile.test.js
已删除
100755 → 0
浏览文件 @
a06b3953
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
configPolicy
from
'
@ohos.configPolicy
'
describe
(
'
GetOneCfgFileTest
'
,
function
()
{
/* *
* @tc.number SUB_CUST_JS_001
* @tc.name test getOneCfgFile method in callback mode
* @tc.desc get getOneCfgFile in callback mode
*/
it
(
'
getOneCfgFile_test_001
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/none.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_001, none.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/system.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_001, system.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/both.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_001, both.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/user.xml
'
,
(
error
,
value
)
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_001, user.xml:
'
+
value
);
});
done
();
})
/* *
* @tc.number SUB_CUST_JS_002
* @tc.name test getOneCfgFile method in promise mode
* @tc.desc get getOneCfgFile in promise mode
*/
it
(
'
getOneCfgFile_test_002
'
,
0
,
async
function
(
done
)
{
configPolicy
.
getOneCfgFile
(
'
custxmltest/none.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
==
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_002, none.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/system.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_002, system.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/both.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_002, both.xml:
'
+
value
);
});
configPolicy
.
getOneCfgFile
(
'
custxmltest/user.xml
'
).
then
(
value
=>
{
expect
(
value
.
length
!=
0
).
assertTrue
();
console
.
log
(
'
CustTest getOneCfgFile_test_002, user.xml:
'
+
value
);
});
done
();
})
})
global/cust/custjs/src/main/js/default/test/List.test.js
浏览文件 @
bd75a293
...
...
@@ -13,6 +13,4 @@
* limitations under the License.
*/
require
(
'
./GetOneCfgFile.test.js
'
)
require
(
'
./GetCfgFiles.test.js
'
)
require
(
'
./GetCfgDirList.test.js
'
)
\ No newline at end of file
require
(
'
./Cust.test.js
'
)
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录