/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbStoreDistributedJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 28 console.info(TAG + 'beforeAll') 35 console.log(TAG + "create rdb store success") 43 console.log(TAG + "create table employee success") 45 console.log(TAG + "create table employee failed") 57 console.log(TAG + "create table product success") 60 console.log(TAG + "create table product failed") 64 console.log(TAG + "create rdb store failed") 71 console.info(TAG + 'beforeEach') 75 console.info(TAG [all...] |
H A D | RdbStoreTransaction.test.js | 22 const TAG = "[RELATIONAL_STORE_TRANSACTION_JSKITS_TEST]" 35 console.info(TAG + 'beforeAll') 42 console.info(TAG + 'beforeEach') 47 console.info(TAG + 'afterEach') 51 console.info(TAG + 'afterAll') 56 console.log(TAG + "*************Unit Test Begin*************"); 67 console.log(TAG + "************* testTransactionInsert0001 start *************"); 82 console.log(TAG + "testTransactionInsert0001 result count " + resultSet.rowCount) 88 console.log(TAG + e); 90 console.log(TAG [all...] |
H A D | RdbStoreTransInsertJsunit.test.js | 22 const TAG = "[RELATIONAL_STORE_TRANSACTION_JSKITS_TEST]" 35 console.info(TAG + 'beforeAll') 41 console.info(TAG + 'beforeEach') 46 console.info(TAG + 'afterEach') 51 console.info(TAG + 'afterAll') 56 console.log(TAG + "*************Unit Test Begin*************"); 60 console.log(TAG + "************* testRdbTransInsert0001 start *************"); 74 console.log(TAG + "testRdbTransInsert0001 result count " + resultSet.rowCount); 78 console.log(TAG + e); 80 console.log(TAG [all...] |
H A D | RdbstoreCallBackJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_CALLBACK_TEST]" 33 console.info(TAG, 'beforeAll') 37 console.info(TAG, 'beforeEach') 41 console.info(TAG, 'afterEach') 45 console.info(TAG, 'afterAll') 48 console.info(TAG, "*************Unit Test Begin*************"); 61 console.info(TAG, "************* testRdbStoreCallBackTest0001 start *************"); 65 console.error(TAG, "Get RdbStore failed, err: code=" + err.code + " message=" + err.message) 68 console.info(TAG, "Get RdbStore successfully.") 99 console.error(TAG, "Delet [all...] |
H A D | RdbStoreTransJsunit.test.js | 22 const TAG = "[RELATIONAL_STORE_TRANSACTION_JSKITS_TEST]" 34 const TAG = "[RELATIONAL_STORE_JS_KITS_TEST]" 38 console.log(TAG + 'insertInThread after createTrans'); 51 console.log(TAG + 'insertInThread after commit'); 57 console.error(TAG + "************* testRdbTransInsert error thread insert *************"); 58 console.error(TAG + JSON.stringify(err)); 64 const TAG = "[RELATIONAL_STORE_JS_KITS_TEST]" 78 console.error(TAG + "************* testRdbTransInsert error thread insert *************"); 79 console.error(TAG + JSON.stringify(err)); 86 console.info(TAG [all...] |
H A D | RdbStoreQueryByStepSync.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST] " 48 console.info(TAG + 'beforeAll') 56 console.error(TAG + `create database failed, err code:${err.code}, message:${err.message}`) 66 console.error(TAG + `create table test failed, err code:${err.code}, message:${err.message}`) 73 console.error(TAG + `insert data into table test failed, err code:${err.code}, message:${err.message}`) 79 console.info(TAG + 'beforeEach'); 83 console.info(TAG + 'afterEach'); 87 console.info(TAG + 'afterAll'); 93 console.info(TAG, "insertTest data start"); 118 console.info(TAG, "insertTes [all...] |
H A D | RdbstoreAfterCloseJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]"; 46 console.info(TAG + 'beforeAll') 50 console.info(TAG + 'beforeEach'); 54 console.info(TAG + 'afterEach'); 58 console.info(TAG + 'afterAll'); 67 console.log(TAG + "************* testRdbAfterClose0001 start *************"); 72 console.info(`${TAG} close succeeded`); 74 console.error(`${TAG} close failed, code is ${err.code},message is ${err.message}`); 81 console.log(TAG + "catch err: failed, err: code=" + err.code + " message=" + err.message) 86 console.log(TAG [all...] |
H A D | RdbstoreLockRowJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 80 console.info(TAG + 'beforeAll') 91 console.log(TAG + "set test to be distributed table success"); 93 console.log(TAG + "set test to be distributed table failed"); 99 console.info(TAG + 'beforeEach') 103 console.info(TAG + 'afterEach') 107 console.info(TAG + 'afterAll') 118 console.log(TAG + `checkStatus success, status: `+ resultSet.getLong(0) + ', expert is ' + status) 121 console.log(TAG + `checkStatus failed, err: ${JSON.stringify(err)}`) 127 console.log(TAG [all...] |
H A D | RdbstorePredicatesJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 88 console.info(TAG + 'beforeAll') 97 console.info(TAG + 'beforeEach') 101 console.info(TAG + 'afterEach') 105 console.info(TAG + 'afterAll') 111 console.log(TAG + "buildAllDataType1 start"); 116 console.log(TAG + "buildAllDataType2 start"); 121 console.log(TAG + "buildAllDataType3 start"); 125 console.log(TAG + "*************Unit Test Begin*************"); 134 console.log(TAG [all...] |
H A D | RdbstorePromiseJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 33 console.info(TAG, 'beforeAll') 37 console.info(TAG, 'beforeEach') 41 console.info(TAG, 'afterEach') 45 console.info(TAG, 'afterAll') 48 console.log(TAG + "*************Unit Test Begin*************"); 61 console.info(TAG, "************* testRdbStorePromiseTest0001 start *************"); 64 console.info(TAG, "Get RdbStore successfully.") 93 console.info(TAG, "Delete rows: " + rows) 96 console.info(TAG, "Delet [all...] |
H A D | RdbStoreQueryByStep.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST] " 48 console.info(TAG + 'beforeAll') 56 console.error(TAG + `create database failed, err code:${err.code}, message:${err.message}`) 66 console.error(TAG + `create table test failed, err code:${err.code}, message:${err.message}`) 73 console.error(TAG + `insert data into table test failed, err code:${err.code}, message:${err.message}`) 79 console.info(TAG + 'beforeEach'); 83 console.info(TAG + 'afterEach'); 87 console.info(TAG + 'afterAll'); 93 console.info(TAG, "insertTest data start"); 118 console.info(TAG, "insertTes [all...] |
H A D | RdbstoreAfterCloseSyncJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]"; 46 console.info(TAG + 'beforeAll') 50 console.info(TAG + 'beforeEach') 54 console.info(TAG + 'afterEach') 58 console.info(TAG + 'afterAll') 67 console.log(TAG + "************* testSyncRdbAfterClose0001 start *************"); 72 console.info(`${TAG} close succeeded`); 74 console.error(`${TAG} close failed, code is ${err.code},message is ${err.message}`); 81 console.log(TAG + "catch err: failed, err: code=" + err.code + " message=" + err.message) 86 console.log(TAG [all...] |
H A D | RdbStoreValueType.test.js | 22 const TAG = "[VALUE_TYPE_TEST]" 35 console.info(TAG + 'beforeAll'); 41 console.info(TAG + 'beforeEach'); 47 console.info(TAG + 'afterEach') 52 console.info(TAG + 'afterAll'); 57 console.log(TAG + "*************Unit Test Begin*************"); 65 console.log(TAG + "************* testValueType0001 start *************"); 71 console.log(TAG + "insert(bigint_table," + bucket + ")"); 73 console.log(TAG + "insert():=>" + rowid); 75 console.log(TAG [all...] |
H A D | RdbstoreTransactionJsunit.test.js | 21 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 34 console.info(TAG + 'beforeAll') 40 console.info(TAG + 'beforeEach') 45 console.info(TAG + 'afterEach') 50 console.info(TAG + 'afterAll') 55 console.log(TAG + "*************Unit Test Begin*************"); 66 console.log(TAG + "************* testRdbStoreInsert0001 start *************"); 82 console.log(TAG + "testRdbTransactionInsert0001 result count " + resultSet.rowCount) 86 console.log(TAG + e); 88 console.log(TAG [all...] |
H A D | RdbstoreDeleteJsunit.test.js | 20 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 33 console.info(TAG + 'beforeAll') 37 console.info(TAG + 'beforeEach') 43 console.info(TAG + 'afterEach') 49 console.info(TAG + 'afterAll') 52 console.log(TAG + "*************Unit Test Begin*************"); 60 console.log(TAG + "************* testRdbStoreDelete0001 start *************"); 94 console.log(TAG + "Delete done: " + ret) 101 console.log(TAG + "************* testRdbStoreDelete0001 end *************"); 112 console.log(TAG [all...] |
H A D | RdbStoreResultSetJsunit.test.js | 21 const TAG = "[RELATIONAL_STORE_JSKITS_TEST]" 33 console.info(TAG + 'beforeAll') 40 console.info(TAG + 'beforeEach') 44 console.info(TAG + 'afterEach') 48 console.info(TAG + 'afterAll') 55 console.log(TAG + "createTest data start"); 86 console.log(TAG + "createTest data end"); 132 console.log(TAG + "************* testGetBlob0001 start *************"); 139 console.log(TAG + "id=" + id + ", data4=" + data4); 151 console.log(TAG [all...] |
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/ |
H A D | RdbStoreDistributedJsunit.test.js | 19 const TAG = "[RDB_JSKITS_TEST_Distributed]" 24 console.info(TAG + devices + " dataChange"); 30 console.info(TAG + 'beforeAll') 36 console.log(TAG + "create rdb store success") 44 console.log(TAG + "create table employee success") 46 console.log(TAG + "create table employee failed") 58 console.log(TAG + "create table product success") 61 console.log(TAG + "create table product failed") 65 console.log(TAG + "create rdb store failed") 72 console.info(TAG [all...] |
H A D | RdbstorePredicatesJsunit.test.js | 18 const TAG = "[RDB_JSKITS _TEST]" 35 console.info(TAG + 'beforeAll') 44 console.info(TAG + 'beforeEach') 48 console.info(TAG + 'afterEach') 52 console.info(TAG + 'afterAll') 58 console.log(TAG + "buildAllDataType1 start"); 78 console.log(TAG + "buildAllDataType2 start"); 98 console.log(TAG + "buildAllDataType3 start"); 117 console.log(TAG + "*************Unit Test Begin*************"); 125 console.log(TAG [all...] |
H A D | RdbstoreRdbstoreJsunit.test.js | 19 const TAG = "[RDB_JSKITS_TEST]" 29 console.info(TAG + 'beforeAll') 33 console.info(TAG + 'beforeEach') 37 console.info(TAG + 'afterEach') 42 console.info(TAG + 'afterAll') 45 console.log(TAG + "*************Unit Test Begin*************"); 53 console.log(TAG + "************* testRdbStore0001 start *************"); 59 console.log(TAG + "************* testRdbStore0001 end *************"); 68 console.log(TAG + "************* testRdbStore0002 start *************"); 73 console.log(TAG [all...] |
H A D | RdbstoreTransactionJsunit.test.js | 19 const TAG = "[RDB_JSKITS_TEST]" 31 console.info(TAG + 'beforeAll') 37 console.info(TAG + 'beforeEach') 42 console.info(TAG + 'afterEach') 47 console.info(TAG + 'afterAll') 52 console.log(TAG + "*************Unit Test Begin*************"); 60 console.log(TAG + "************* testRdbStoreInsert0001 start *************"); 76 console.log(TAG + "testRdbTransactionInsert0001 result count " + resultSet.rowCount) 80 console.log(TAG + e); 82 console.log(TAG [all...] |
H A D | RdbstoreInsertJsunit.test.js | 19 const TAG = "[RDB_JSKITS_TEST]" 31 console.info(TAG + 'beforeAll') 37 console.info(TAG + 'beforeEach') 42 console.info(TAG + 'afterEach') 46 console.info(TAG + 'afterAll') 51 console.log(TAG + "*************Unit Test Begin*************"); 59 console.log(TAG + "************* testRdbStoreInsert0001 start *************"); 93 console.log(TAG + "resultSet query done"); 100 console.log(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType); 115 console.log(TAG [all...] |
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/test/unittest/src/ |
H A D | ObjectStoreJsunit.test.js | 21 const TAG = "OBJECTSTORE_TEST"; 27 console.info(TAG + "data changed !" + element); 37 console.info(TAG + "data changed !"); 44 console.info(TAG + "statusCallback1" + " " + sessionId); 49 console.info(TAG + "statusCallback2" + " " + sessionId); 54 console.info(TAG + "statusCallback3" + " " + sessionId); 59 console.info(TAG + "statusCallback4" + " " + sessionId); 85 console.info(TAG + 'beforeEach') 89 console.info(TAG + 'afterEach') 93 console.info(TAG [all...] |
/foundation/distributeddatamgr/relational_store/test/js/dataability/unittest/src/ |
H A D | DataAbilityPredicatesJsunit.test.js | 19 const TAG = "[RDB_JSKITS _TEST]" 37 console.info(TAG + 'beforeAll') 46 console.info(TAG + 'beforeEach') 50 console.info(TAG + 'afterEach') 54 console.info(TAG + 'afterAll') 71 console.log(TAG + "buildAllDataType1 start"); 91 console.log(TAG + "buildAllDataType2 start"); 111 console.log(TAG + "buildAllDataType3 start"); 130 console.log(TAG + "*************Unit Test Begin*************"); 138 console.log(TAG [all...] |
/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudShareTest.js | 21 const TAG = "[CLOUD_SHARE_JSKITS_TEST]" 67 console.log(TAG + "create rdb store success") 73 console.log(TAG + "create table employee success") 85 console.log(TAG + "create rdb store failed" + `, error code is ${err.code}, message is ${err.message}`) 112 console.log(TAG + "************* allocResourceAndShareTest001 start *************"); 119 console.log(TAG + `allocate resource and share failed, errcode:${err.code}, message ${err.message}.`); 127 console.log(TAG + "************* allocResourceAndShareTest001 end *************"); 136 console.log(TAG + "************* allocResourceAndShareTest002 start *************"); 141 console.log(TAG + `allocate resource and share failed, errcode:${err.code}, message ${err.message}.`); 149 console.log(TAG [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_socket.c | 27 #define TAG "nStackXSocket" macro 47 LOGE(TAG, "getsockopt SO_SNDBUF failed"); in GetTcpSocketBufSize() 50 LOGD(TAG, "SO_SNDBUF = %d", bufSize); in GetTcpSocketBufSize() 54 LOGE(TAG, "getsockopt SO_RCVBUF failed"); in GetTcpSocketBufSize() 57 LOGD(TAG, "SO_RCVBUF = %d", bufSize); in GetTcpSocketBufSize() 72 LOGE(TAG, "setsockopt SO_SNDBUF failed"); in SetTcpSocketBufSize() 75 LOGD(TAG, "setsockopt SO_SNDBUF = %d", bufSize); in SetTcpSocketBufSize() 79 LOGE(TAG, "setsockopt SO_RCVBUF failed"); in SetTcpSocketBufSize() 82 LOGD(TAG, "setsockopt SO_RCVBUF = %d", bufSize); in SetTcpSocketBufSize() 94 LOGE(TAG, "socke in ConnectTcpServerWithTargetDev() [all...] |