From 873f63a6b6ded8114d698dccb2578b76ddaa3a4e Mon Sep 17 00:00:00 2001 From: limeng151 Date: Fri, 10 Sep 2021 14:21:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E6=8E=89=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: limeng151 Change-Id: Id12282749ed8d2c5ffb9b97ec90d04d9446d9923 --- .../js/default/test/ParametersJsUnit.test.js | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/startup/startup_standard/src/main/js/default/test/ParametersJsUnit.test.js b/startup/startup_standard/src/main/js/default/test/ParametersJsUnit.test.js index 64dc08006..c0cfeb6a0 100644 --- a/startup/startup_standard/src/main/js/default/test/ParametersJsUnit.test.js +++ b/startup/startup_standard/src/main/js/default/test/ParametersJsUnit.test.js @@ -115,33 +115,6 @@ describe('SystemParameterTest', function () { console.info('system_parameter_test_0120 : end'); }) - /** - * @tc.number SUB_STARTUP_JS_SYSTEM_PARAMETER_0140 - * @tc.name testSet0140 - * @tc.desc Set the value for the given key. - */ - it('system_parameter_test_0140', 0, async function (done) { - console.info('system_parameter_test_0140 start'); - let ret = false; - try { - systemparameter.set('ro.secure', '10.20.30.4', function (err, data) { - if (err == undefined) { - ret = true; - console.info('system_parameter_test_0140 set callback ro.secure value success:' + data); - done(); - } else { - console.info('system_parameter_test_0140 set callback ro.secure value err:' + err.code); - } - }); - } catch (e) { - console.info('system_parameter_test_0140 set callback ro.secure unexpect err:' + e) - } - setTimeout(function(){ - expect(ret).assertTrue(); - }, '1000'); - console.info('system_parameter_test_0140 : end'); - }) - /** * @tc.number SUB_STARTUP_JS_SYSTEM_PARAMETER_0200 * @tc.name testSet0200 -- GitLab