From 56da5c7f6c8454e5add7c0b19f97a3a6d297d694 Mon Sep 17 00:00:00 2001 From: ustblx Date: Tue, 22 Aug 2023 16:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90distributeddatamgr=E3=80=91=E3=80=90UD?= =?UTF-8?q?MF=E3=80=91add=20and=20modify=20UDMF=20api=20test=20case.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ustblx Change-Id: I8a0e233c784efb96e7781fe5b24c717af7b381df --- .../UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets b/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets index 098aaa51a..9221d51a8 100644 --- a/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets +++ b/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets @@ -19,7 +19,7 @@ import uniformTypeDescriptor from '@ohos.data.uniformTypeDescriptor'; export default function UDMFApiTest() { describe('UDMFApiTest', function () { - console.info('---start UDMFApiTest--'); + console.info('start UDMFApiTest'); let text = new unifiedDataChannel.Text(); text.details = { title:"标题", @@ -191,7 +191,7 @@ export default function UDMFApiTest() { console.info('SUB_DistributedData_Udmf_API003 start'); let unifiedData = new unifiedDataChannel.UnifiedData(link); let records = unifiedData.getRecords(); - let record = (records[0]); + let record = (records[0]); expect(records.length).assertEqual(1); expect(record.details.title).assertEqual('标题'); expect(record.details.content).assertEqual('内容'); @@ -213,7 +213,7 @@ export default function UDMFApiTest() { console.info('SUB_DistributedData_Udmf_API004 start'); let unifiedData = new unifiedDataChannel.UnifiedData(html); let records = unifiedData.getRecords(); - let record = (records[0]); + let record = (records[0]); expect(records.length).assertEqual(1); expect(record.details.title).assertEqual('标题'); expect(record.details.content).assertEqual('内容'); -- GitLab