From a660f6a5c75da271bafc8fc2c5a5136bf9522fd3 Mon Sep 17 00:00:00 2001 From: hu0475 Date: Thu, 13 Jul 2023 15:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90graphic=E5=AD=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9FDisplay=E6=A8=A1=E5=9D=97=E7=9A=84=E8=B7=A8=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=B5=8B=E8=AF=95=E5=A5=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu0475 --- .../src/main/ets/test/Display.test.ets | 100 ------------------ 1 file changed, 100 deletions(-) diff --git a/graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/Display.test.ets b/graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/Display.test.ets index 534ee5f3a..eeaefc87a 100644 --- a/graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/Display.test.ets +++ b/graphic/crossplatform/graphicDisplayetstest/src/main/ets/test/Display.test.ets @@ -62,106 +62,6 @@ export default function DisplayTest() { } }); - /** - * @tc.number: TEST_RECT_LEFT_001 - * @tc.name : testRect_Left001 - * @tc.desc : To test value of RECT. - * @tc.size : MediumTest - * @tc.type : Field - * @tc.level : Level 1 - */ - it('testRect_Left001', 0, async function (done) { - try { - var rect = { - left : 20, - top : 40, - width : 100, - height : 200 - } - expect(rect.left).assertEqual(20); - done(); - } catch (err) { - console.error('test value of rect error :' + JSON.stringify(err)); - expect().assertFail(); - done(); - } - }); - - /** - * @tc.number: TEST_RECT_TOP_001 - * @tc.name : testRect_Top001 - * @tc.desc : To test value of RECT. - * @tc.size : MediumTest - * @tc.type : Field - * @tc.level : Level 1 - */ - it('testRect_Top001', 0, async function (done) { - try { - var rect = { - left : 20, - top : 40, - width : 100, - height : 200 - } - expect(rect.top).assertEqual(40); - done(); - } catch (err) { - console.error('test value of rect error :' + JSON.stringify(err)); - expect().assertFail(); - done(); - } - }); - - /** - * @tc.number: TEST_RECT_WIDTH_001 - * @tc.name : testRect_Width001 - * @tc.desc : To test value of RECT. - * @tc.size : MediumTest - * @tc.type : Field - * @tc.level : Level 1 - */ - it('testRect_Width001', 0, async function (done) { - try { - var rect = { - left : 20, - top : 40, - width : 100, - height : 200 - } - expect(rect.width).assertEqual(100); - done(); - } catch (err) { - console.error('test value of rect error :' + JSON.stringify(err)); - expect().assertFail(); - done(); - } - }); - - /** - * @tc.number: TEST_RECT_HEIGHT_001 - * @tc.name : testRect_Height001 - * @tc.desc : To test value of RECT. - * @tc.size : MediumTest - * @tc.type : Field - * @tc.level : Level 1 - */ - it('testRect_Height001', 0, async function (done) { - try { - var rect = { - left : 20, - top : 40, - width : 100, - height : 200 - } - expect(rect.height).assertEqual(200); - done(); - } catch (err) { - console.error('test value of rect error :' + JSON.stringify(err)); - expect().assertFail(); - done(); - } - }); - /** * @tc.number: TEST_DISPLAY_ORIENTATION_001 * @tc.name : testDisplay_Orientation001 -- GitLab