From 8cafd47611c36e40c118c5adff24422e08824a20 Mon Sep 17 00:00:00 2001 From: huyx Date: Tue, 15 Apr 2025 19:46:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- .../test/unittest/common/hdf_gpio_test.cpp | 26 ------------------- .../test/unittest/common/hdf_i2c_test.cpp | 13 ---------- .../test/unittest/common/hdf_uart_test.cpp | 13 ---------- 3 files changed, 52 deletions(-) diff --git a/framework/support/platform/test/unittest/common/hdf_gpio_test.cpp b/framework/support/platform/test/unittest/common/hdf_gpio_test.cpp index 3082bd068..2972e561f 100644 --- a/framework/support/platform/test/unittest/common/hdf_gpio_test.cpp +++ b/framework/support/platform/test/unittest/common/hdf_gpio_test.cpp @@ -84,32 +84,6 @@ HWTEST_F(HdfGpioTest, GpioTestIrqLevel001, TestSize.Level1) EXPECT_EQ(0, GpioTestExecute(GPIO_TEST_IRQ_LEVEL)); } -/** - * @tc.name: GpioTestIrqEdge001 - * @tc.desc: gpio edge irq trigger test - * @tc.type: FUNC - * @tc.require: AR000F868H - */ -HWTEST_F(HdfGpioTest, GpioTestIrqEdge001, TestSize.Level1) -{ - struct HdfTestMsg msg = {TEST_PAL_GPIO_TYPE, GPIO_TEST_IRQ_EDGE, -1}; - EXPECT_EQ(0, HdfTestSendMsgToService(&msg)); - EXPECT_EQ(0, GpioTestExecute(GPIO_TEST_IRQ_EDGE)); -} - -/** - * @tc.name: GpioTestIrqThread001 - * @tc.desc: gpio thread irq trigger test - * @tc.type: FUNC - * @tc.require: AR000F868H - */ -HWTEST_F(HdfGpioTest, GpioTestIrqThread001, TestSize.Level1) -{ - struct HdfTestMsg msg = {TEST_PAL_GPIO_TYPE, GPIO_TEST_IRQ_THREAD, -1}; - EXPECT_EQ(0, HdfTestSendMsgToService(&msg)); - EXPECT_EQ(0, GpioTestExecute(GPIO_TEST_IRQ_THREAD)); -} - /** * @tc.name: GpioTestNumberGetByName * @tc.desc: get gpio global number test diff --git a/framework/support/platform/test/unittest/common/hdf_i2c_test.cpp b/framework/support/platform/test/unittest/common/hdf_i2c_test.cpp index 45a8f1574..fd8a8631d 100644 --- a/framework/support/platform/test/unittest/common/hdf_i2c_test.cpp +++ b/framework/support/platform/test/unittest/common/hdf_i2c_test.cpp @@ -63,19 +63,6 @@ void HdfI2cTest::TearDown() { } -/** - * @tc.name: HdfI2cTestTransfer001 - * @tc.desc: i2c transfer test - * @tc.type: FUNC - * @tc.require: AR000F8688 - */ -HWTEST_F(HdfI2cTest, HdfI2cTestTransfer001, TestSize.Level1) -{ - struct HdfTestMsg msg = {TEST_PAL_I2C_TYPE, I2C_TEST_CMD_TRANSFER, -1}; - EXPECT_EQ(0, HdfTestSendMsgToService(&msg)); - EXPECT_EQ(0, I2cTestExecute(I2C_TEST_CMD_TRANSFER)); -} - /** * @tc.name: HdfI2cTestMultiThread001 * @tc.desc: i2c multithread test diff --git a/framework/support/platform/test/unittest/common/hdf_uart_test.cpp b/framework/support/platform/test/unittest/common/hdf_uart_test.cpp index c4ce4671f..f035d152a 100644 --- a/framework/support/platform/test/unittest/common/hdf_uart_test.cpp +++ b/framework/support/platform/test/unittest/common/hdf_uart_test.cpp @@ -58,19 +58,6 @@ HWTEST_F(HdfUartTest, UartSetTransModeTest001, TestSize.Level1) EXPECT_EQ(0, UartTestExecute(UART_TEST_CMD_SET_TRANSMODE)); } -/** - * @tc.name: UartWriteTest001 - * @tc.desc: uart function test - * @tc.type: FUNC - * @tc.require: AR000F8689 - */ -HWTEST_F(HdfUartTest, UartWriteTest001, TestSize.Level1) -{ - struct HdfTestMsg msg = {TEST_PAL_UART_TYPE, UART_TEST_CMD_WRITE, -1}; - EXPECT_EQ(0, HdfTestSendMsgToService(&msg)); - EXPECT_EQ(0, UartTestExecute(UART_TEST_CMD_WRITE)); -} - /** * @tc.name: UartReadTest001 * @tc.desc: uart function test -- Gitee