提交 6cadd1b6 编写于 作者: Y y00314596

add by yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 bd75a293
{ {
"strings": { "strings": {
"hello": "Hello", "hello": "Global",
"world": "World" "world": "System"
} }
} }
\ No newline at end of file
{ {
"strings": { "strings": {
"hello": "您好", "hello": "全球化",
"world": "世界" "world": "子系统"
} }
} }
\ No newline at end of file
...@@ -49,7 +49,7 @@ describe('CustTest', function () { ...@@ -49,7 +49,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_001 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_001
* @tc.name test getCfgFiles method in callback mode * @tc.name test getCfgFiles method in callback mode with not exist param
* @tc.desc get getCfgFiles in callback mode * @tc.desc get getCfgFiles in callback mode
*/ */
it('getCfgFiles_test_001', 0, async function (done) { it('getCfgFiles_test_001', 0, async function (done) {
...@@ -63,7 +63,7 @@ describe('CustTest', function () { ...@@ -63,7 +63,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_002 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_002
* @tc.name test getCfgFiles method in callback mode * @tc.name test getCfgFiles method in callback mode with low priority param
* @tc.desc get getCfgFiles in callback mode * @tc.desc get getCfgFiles in callback mode
*/ */
it('getCfgFiles_test_002', 0, async function (done) { it('getCfgFiles_test_002', 0, async function (done) {
...@@ -77,7 +77,7 @@ describe('CustTest', function () { ...@@ -77,7 +77,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_003 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_003
* @tc.name test getCfgFiles method in callback mode * @tc.name test getCfgFiles method in callback mode both exist param
* @tc.desc get getCfgFiles in callback mode * @tc.desc get getCfgFiles in callback mode
*/ */
it('getCfgFiles_test_003', 0, async function (done) { it('getCfgFiles_test_003', 0, async function (done) {
...@@ -91,7 +91,7 @@ describe('CustTest', function () { ...@@ -91,7 +91,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_004 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_004
* @tc.name test getCfgFiles method in callback mode * @tc.name test getCfgFiles method in callback mode with high priority param
* @tc.desc get getCfgFiles in callback mode * @tc.desc get getCfgFiles in callback mode
*/ */
it('getCfgFiles_test_004', 0, async function (done) { it('getCfgFiles_test_004', 0, async function (done) {
...@@ -105,7 +105,7 @@ describe('CustTest', function () { ...@@ -105,7 +105,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_005 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_005
* @tc.name test getCfgFiles method in promise mode * @tc.name test getCfgFiles method in promise mode with not exist param
* @tc.desc get getCfgFiles in promise mode * @tc.desc get getCfgFiles in promise mode
*/ */
it('getCfgFiles_test_005', 0, async function (done) { it('getCfgFiles_test_005', 0, async function (done) {
...@@ -119,7 +119,7 @@ describe('CustTest', function () { ...@@ -119,7 +119,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_006 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_006
* @tc.name test getCfgFiles method in promise mode * @tc.name test getCfgFiles method in promise mode with low priority param
* @tc.desc get getCfgFiles in promise mode * @tc.desc get getCfgFiles in promise mode
*/ */
it('getCfgFiles_test_006', 0, async function (done) { it('getCfgFiles_test_006', 0, async function (done) {
...@@ -133,7 +133,7 @@ describe('CustTest', function () { ...@@ -133,7 +133,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_007 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_007
* @tc.name test getCfgFiles method in promise mode * @tc.name test getCfgFiles method in promise mode with both exist param
* @tc.desc get getCfgFiles in promise mode * @tc.desc get getCfgFiles in promise mode
*/ */
it('getCfgFiles_test_007', 0, async function (done) { it('getCfgFiles_test_007', 0, async function (done) {
...@@ -147,7 +147,7 @@ describe('CustTest', function () { ...@@ -147,7 +147,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETFILES_JS_008 * @tc.number SUB_GLOBAL_CUST_GETFILES_JS_008
* @tc.name test getCfgFiles method in promise mode * @tc.name test getCfgFiles method in promise mode with high priority param
* @tc.desc get getCfgFiles in promise mode * @tc.desc get getCfgFiles in promise mode
*/ */
it('getCfgFiles_test_008', 0, async function (done) { it('getCfgFiles_test_008', 0, async function (done) {
...@@ -161,7 +161,7 @@ describe('CustTest', function () { ...@@ -161,7 +161,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_001 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_001
* @tc.name test getOneCfgFile method in callback mode * @tc.name test getOneCfgFile method in callback mode with not exist param
* @tc.desc get getOneCfgFile in callback mode * @tc.desc get getOneCfgFile in callback mode
*/ */
it('getOneCfgFile_test_001', 0, async function (done) { it('getOneCfgFile_test_001', 0, async function (done) {
...@@ -175,7 +175,7 @@ describe('CustTest', function () { ...@@ -175,7 +175,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_002 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_002
* @tc.name test getOneCfgFile method in callback mode * @tc.name test getOneCfgFile method in callback mode with low priority param
* @tc.desc get getOneCfgFile in callback mode * @tc.desc get getOneCfgFile in callback mode
*/ */
it('getOneCfgFile_test_002', 0, async function (done) { it('getOneCfgFile_test_002', 0, async function (done) {
...@@ -189,7 +189,7 @@ describe('CustTest', function () { ...@@ -189,7 +189,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_003 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_003
* @tc.name test getOneCfgFile method in callback mode * @tc.name test getOneCfgFile method in callback mode with both exist param
* @tc.desc get getOneCfgFile in callback mode * @tc.desc get getOneCfgFile in callback mode
*/ */
it('getOneCfgFile_test_003', 0, async function (done) { it('getOneCfgFile_test_003', 0, async function (done) {
...@@ -203,7 +203,7 @@ describe('CustTest', function () { ...@@ -203,7 +203,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_004 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_004
* @tc.name test getOneCfgFile method in callback mode * @tc.name test getOneCfgFile method in callback mode with high priority param
* @tc.desc get getOneCfgFile in callback mode * @tc.desc get getOneCfgFile in callback mode
*/ */
it('getOneCfgFile_test_004', 0, async function (done) { it('getOneCfgFile_test_004', 0, async function (done) {
...@@ -217,7 +217,7 @@ describe('CustTest', function () { ...@@ -217,7 +217,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_005 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_005
* @tc.name test getOneCfgFile method in promise mode * @tc.name test getOneCfgFile method in promise mode with not exist param
* @tc.desc get getOneCfgFile in promise mode * @tc.desc get getOneCfgFile in promise mode
*/ */
it('getOneCfgFile_test_005', 0, async function (done) { it('getOneCfgFile_test_005', 0, async function (done) {
...@@ -231,7 +231,7 @@ describe('CustTest', function () { ...@@ -231,7 +231,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_006 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_006
* @tc.name test getOneCfgFile method in promise mode * @tc.name test getOneCfgFile method in promise mode with low priority param
* @tc.desc get getOneCfgFile in promise mode * @tc.desc get getOneCfgFile in promise mode
*/ */
it('getOneCfgFile_test_006', 0, async function (done) { it('getOneCfgFile_test_006', 0, async function (done) {
...@@ -246,8 +246,8 @@ describe('CustTest', function () { ...@@ -246,8 +246,8 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_007 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_007
* @tc.name test getOneCfgFile method in promise mode * @tc.name test getOneCfgFile method in promise mode with both exist param
* @tc.desc get getOneCfgFile in promise mode * @tc.desc get getOneCfgFile in promise mode and return the high priority file
*/ */
it('getOneCfgFile_test_007', 0, async function (done) { it('getOneCfgFile_test_007', 0, async function (done) {
...@@ -261,7 +261,7 @@ describe('CustTest', function () { ...@@ -261,7 +261,7 @@ describe('CustTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_008 * @tc.number SUB_GLOBAL_CUST_GETONEFILE_JS_008
* @tc.name test getOneCfgFile method in promise mode * @tc.name test getOneCfgFile method in promise mode with high priority param
* @tc.desc get getOneCfgFile in promise mode * @tc.desc get getOneCfgFile in promise mode
*/ */
it('getOneCfgFile_test_008', 0, async function (done) { it('getOneCfgFile_test_008', 0, async function (done) {
......
{ {
"strings": { "strings": {
"hello": "Hello", "hello": "Global",
"world": "World" "world": "System"
}, },
"Files": { "Files": {
} }
......
{ {
"strings": { "strings": {
"hello": "您好", "hello": "全球化",
"world": "世界" "world": "子系统"
}, },
"Files": { "Files": {
} }
......
...@@ -22,11 +22,17 @@ describe('LangTest', function () { ...@@ -22,11 +22,17 @@ describe('LangTest', function () {
let initPreferredLang = I18n.getPreferredLanguageList(); let initPreferredLang = I18n.getPreferredLanguageList();
let initLen = initPreferredLang.length; let initLen = initPreferredLang.length;
/* *
* get the current preferred language list
*/
function getCurrentPreferredLang(){ function getCurrentPreferredLang(){
let value = I18n.getPreferredLanguageList(); let value = I18n.getPreferredLanguageList();
return value; return value;
} }
/* *
* judge if the lang is in the preferred language list or not
*/
function isContainLang(langList, lang){ function isContainLang(langList, lang){
let len = langList.length; let len = langList.length;
for (let i = 0; i < len; i++){ for (let i = 0; i < len; i++){
...@@ -37,6 +43,9 @@ describe('LangTest', function () { ...@@ -37,6 +43,9 @@ describe('LangTest', function () {
return false return false
} }
/* *
* clear the preferred language list if exists
*/
function clearLang(langList){ function clearLang(langList){
let len = langList.length; let len = langList.length;
while(len > 0){ while(len > 0){
...@@ -50,6 +59,9 @@ describe('LangTest', function () { ...@@ -50,6 +59,9 @@ describe('LangTest', function () {
console.log('i18n_test_preferredlanguage_clearLang ' + I18n.getPreferredLanguageList()); console.log('i18n_test_preferredlanguage_clearLang ' + I18n.getPreferredLanguageList());
} }
/* *
* execute this step after every testcase
*/
function restoreLang(){ function restoreLang(){
for(let j = 0; j < initLen; j++){ for(let j = 0; j < initLen; j++){
let value = I18n.addPreferredLanguage(initPreferredLang[j], j); let value = I18n.addPreferredLanguage(initPreferredLang[j], j);
...@@ -65,10 +77,16 @@ describe('LangTest', function () { ...@@ -65,10 +77,16 @@ describe('LangTest', function () {
console.log('i18n_test_preferredlanguage_restoreLang ' + I18n.getPreferredLanguageList()); console.log('i18n_test_preferredlanguage_restoreLang ' + I18n.getPreferredLanguageList());
} }
/* *
* execute this step before every testcase
*/
beforeEach(function(){ beforeEach(function(){
console.log('i18n_test_preferredlanguage_beforeEach ' + getCurrentPreferredLang()); console.log('i18n_test_preferredlanguage_beforeEach ' + getCurrentPreferredLang());
}) })
/* *
* execute this step after every testcase
*/
afterEach(function(){ afterEach(function(){
let currLang = getCurrentPreferredLang(); let currLang = getCurrentPreferredLang();
console.log('i18n_test_preferredlanguage_afterEach ' + currLang); console.log('i18n_test_preferredlanguage_afterEach ' + currLang);
...@@ -91,7 +109,7 @@ describe('LangTest', function () { ...@@ -91,7 +109,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_CLOCK_0200 * @tc.number SUB_GLOBAL_I18N_JS_CLOCK_0200
* @tc.name test the set24HourClock interface with false param * @tc.name test the set24HourClock interface with true param
* @tc.desc check the value of set24HourClock method * @tc.desc check the value of set24HourClock method
*/ */
it('i18n_test_clock_0200', 0, function () { it('i18n_test_clock_0200', 0, function () {
...@@ -106,7 +124,7 @@ describe('LangTest', function () { ...@@ -106,7 +124,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_CLOCK_0300 * @tc.number SUB_GLOBAL_I18N_JS_CLOCK_0300
* @tc.name test the set24HourClock interface with true param * @tc.name test the set24HourClock interface with false param
* @tc.desc check the value of set24HourClock method * @tc.desc check the value of set24HourClock method
*/ */
it('i18n_test_clock_0300', 0, function () { it('i18n_test_clock_0300', 0, function () {
...@@ -138,7 +156,7 @@ describe('LangTest', function () { ...@@ -138,7 +156,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0100 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0100
* @tc.name test the getPreferredLanguageList interface * @tc.name test the getPreferredLanguageList interface with default value
* @tc.desc check the value of getPreferredLanguageList method * @tc.desc check the value of getPreferredLanguageList method
*/ */
it('i18n_test_preferredlanguage_0100', 0, function () { it('i18n_test_preferredlanguage_0100', 0, function () {
...@@ -225,7 +243,7 @@ describe('LangTest', function () { ...@@ -225,7 +243,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0400 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0400
* @tc.name test the addPreferredLanguage interface * @tc.name test the addPreferredLanguage interface with en and index 1 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of addPreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0400', 0, function () { it('i18n_test_preferredlanguage_0400', 0, function () {
...@@ -240,7 +258,7 @@ describe('LangTest', function () { ...@@ -240,7 +258,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0500 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0500
* @tc.name test the addPreferredLanguage interface * @tc.name test the addPreferredLanguage interface with ja and index -1 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of addPreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0500', 0, function () { it('i18n_test_preferredlanguage_0500', 0, function () {
...@@ -255,7 +273,7 @@ describe('LangTest', function () { ...@@ -255,7 +273,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0600 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0600
* @tc.name test the addPreferredLanguage interface * @tc.name test the addPreferredLanguage interface with ko and index 100 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of addPreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0600', 0, function () { it('i18n_test_preferredlanguage_0600', 0, function () {
...@@ -270,8 +288,8 @@ describe('LangTest', function () { ...@@ -270,8 +288,8 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0700 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0700
* @tc.name test the addPreferredLanguage interface * @tc.name test the removePreferredLanguage interface with 0 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of removePreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0700', 0, function () { it('i18n_test_preferredlanguage_0700', 0, function () {
console.log('i18n_test_preferredlanguage_0700 ' + 'start'); console.log('i18n_test_preferredlanguage_0700 ' + 'start');
...@@ -300,8 +318,8 @@ describe('LangTest', function () { ...@@ -300,8 +318,8 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0800 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0800
* @tc.name test the addPreferredLanguage interface * @tc.name test the removePreferredLanguage interface with -1 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of removePreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0800', 0, function () { it('i18n_test_preferredlanguage_0800', 0, function () {
console.log('i18n_test_preferredlanguage_0800 ' + 'start'); console.log('i18n_test_preferredlanguage_0800 ' + 'start');
...@@ -315,7 +333,7 @@ describe('LangTest', function () { ...@@ -315,7 +333,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0820 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0820
* @tc.name test the removePreferredLanguage interface with -1 param * @tc.name test the removePreferredLanguage interface with -1 param after add ja
* @tc.desc check the value of removePreferredLanguage method * @tc.desc check the value of removePreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0820', 0, function () { it('i18n_test_preferredlanguage_0820', 0, function () {
...@@ -333,8 +351,8 @@ describe('LangTest', function () { ...@@ -333,8 +351,8 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0900 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0900
* @tc.name test the addPreferredLanguage interface * @tc.name test the removePreferredLanguage interface with 0 param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of removePreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0900', 0, function () { it('i18n_test_preferredlanguage_0900', 0, function () {
console.log('i18n_test_preferredlanguage_0900 ' + 'start'); console.log('i18n_test_preferredlanguage_0900 ' + 'start');
...@@ -352,7 +370,7 @@ describe('LangTest', function () { ...@@ -352,7 +370,7 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0920 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0920
* @tc.name test the addPreferredLanguage interface * @tc.name test the addPreferredLanguage interface with it param
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of addPreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0920', 0, function () { it('i18n_test_preferredlanguage_0920', 0, function () {
...@@ -375,8 +393,8 @@ describe('LangTest', function () { ...@@ -375,8 +393,8 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0940 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_0940
* @tc.name test the addPreferredLanguage interface * @tc.name test the mixed interface with preferredlanguage
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of preferredLanguage method
*/ */
it('i18n_test_preferredlanguage_0940', 0, function () { it('i18n_test_preferredlanguage_0940', 0, function () {
let value = I18n.addPreferredLanguage('it'); let value = I18n.addPreferredLanguage('it');
...@@ -421,8 +439,8 @@ describe('LangTest', function () { ...@@ -421,8 +439,8 @@ describe('LangTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_1000 * @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_1000
* @tc.name test the addPreferredLanguage interface * @tc.name test the getFirstPreferredLanguage interface
* @tc.desc check the value of addPreferredLanguage method * @tc.desc check the value of getFirstPreferredLanguage method
*/ */
it('i18n_test_preferredlanguage_1000', 0, function () { it('i18n_test_preferredlanguage_1000', 0, function () {
console.log('i18n_test_preferredlanguage_1000 ' + 'start'); console.log('i18n_test_preferredlanguage_1000 ' + 'start');
......
{ {
"strings": { "strings": {
"hello": "Hello", "hello": "Global",
"world": "World" "world": "System"
} }
} }
\ No newline at end of file
{ {
"strings": { "strings": {
"hello": "您好", "hello": "全球化",
"world": "世界" "world": "子系统"
} }
} }
\ No newline at end of file
...@@ -326,5 +326,20 @@ describe('resMgrTest', function () { ...@@ -326,5 +326,20 @@ describe('resMgrTest', function () {
done(); done();
}) })
/* *
* @tc.number SUB_GLOBAL_RESMGR_JS_1900
* @tc.name test release method
* @tc.desc get the release function
*/
it('release_test_001', 0, async function (done) {
resmgr.getResourceManager((error, mgr) => {
mgr.getString(0x1000000, (err, value) => {
expect(value !== null).assertTrue();
})
mgr.release();
})
done();
})
console.log('*************end ResmgrTest*************'); console.log('*************end ResmgrTest*************');
}) })
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>
</mirror>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册