提交 9dd36ffd 编写于 作者: Y yanglifeng1217

<modified>

Signed-off-by: Nyanglifeng1217 <yanglifeng5@huawei.com>
上级 57cdfae5
...@@ -1932,12 +1932,12 @@ describe('queryTest', function() { ...@@ -1932,12 +1932,12 @@ describe('queryTest', function() {
}) })
/** /**
* @tc.number: SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0200 * @tc.number: SUB_DDM_DKV_QUERY_SETSUGGESTINDEX_PROMISE_0200
* @tc.desc: Test Js Api Query.SetSuggestIndex() testcase 002 * @tc.desc: Test Js Api Query.SetSuggestIndex() testcase 002
* @tc.type: FUNC * @tc.type: FUNC
* @tc.name Test Js Api Query.SetSuggestIndex() testcase 002 * @tc.name Test Js Api Query.SetSuggestIndex() testcase 002
*/ */
it('SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0200', 0, async function(done) { it('SUB_DDM_DKV_QUERY_SETSUGGESTINDEX_PROMISE_0200', 0, async function(done) {
var query = null; var query = null;
try { try {
query = new ddm.Query(); query = new ddm.Query();
...@@ -1953,12 +1953,12 @@ describe('queryTest', function() { ...@@ -1953,12 +1953,12 @@ describe('queryTest', function() {
}) })
/** /**
* @tc.number: SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0300 * @tc.number: SUB_DDM_DKV_QUERY_SETSUGGESTINDEX_PROMISE_0300
* @tc.desc: Test Js Api Query.SetSuggestIndex() testcase 003 * @tc.desc: Test Js Api Query.SetSuggestIndex() testcase 003
* @tc.type: FUNC * @tc.type: FUNC
* @tc.name Test Js Api Query.SetSuggestIndex() testcase 003 * @tc.name Test Js Api Query.SetSuggestIndex() testcase 003
*/ */
it('SUB_DDM_DKV_QUERY_PREFIXKEY_PROMISE_0300', 0, async function(done) { it('SUB_DDM_DKV_QUERY_SETSUGGESTINDEX_PROMISE_0300', 0, async function(done) {
var query = null; var query = null;
try { try {
query = new ddm.Query(); query = new ddm.Query();
......
...@@ -2337,7 +2337,6 @@ describe('SingleKvStoreCallbackTest', function () { ...@@ -2337,7 +2337,6 @@ describe('SingleKvStoreCallbackTest', function () {
*/ */
it('SUB_DDM_DKV_SINGLEKVSTORE_CLOSERESULT_CALLBACK_8200', 0, async function (done) { it('SUB_DDM_DKV_SINGLEKVSTORE_CLOSERESULT_CALLBACK_8200', 0, async function (done) {
console.info('SingleKvStoreCloseResultSetCallbackTest004'); console.info('SingleKvStoreCloseResultSetCallbackTest004');
try{ try{
kvStore.closeResultSet("",(err, data) => { kvStore.closeResultSet("",(err, data) => {
console.info('SingleKvStoreCloseResultSetCallbackTest004 close result finish') console.info('SingleKvStoreCloseResultSetCallbackTest004 close result finish')
......
...@@ -2263,8 +2263,6 @@ describe('singleKvStoreCallbackTest', function () { ...@@ -2263,8 +2263,6 @@ describe('singleKvStoreCallbackTest', function () {
*/ */
it('testSingleKvStoreCloseResultSet104', 0, async function (done) { it('testSingleKvStoreCloseResultSet104', 0, async function (done) {
console.info('SingleKvStoreCloseResultSetCallbackTest004'); console.info('SingleKvStoreCloseResultSetCallbackTest004');
kvStore.closeResultSet("",(err, data) => { kvStore.closeResultSet("",(err, data) => {
if(err != undefined){ if(err != undefined){
console.info(`SingleKvStoreCloseResultSetCallbackTest004 close result error, error is ${err}`) console.info(`SingleKvStoreCloseResultSetCallbackTest004 close result error, error is ${err}`)
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册