Searched refs:tokenRead (Results 1 - 2 of 2) sorted by relevance
/test/xts/acts/applications/kitframework_ipcamera/ |
H A D | kitfwk_oem_api_test.cpp | 250 char* tokenRead = (char*)malloc(len + 1);
in HWTEST_F() local 251 if (tokenRead == nullptr) {
in HWTEST_F() 257 int ret = ReadToken(tokenRead, len);
in HWTEST_F() 260 LOG("old token in device:%s", tokenRead);
in HWTEST_F() 265 ret = ReadToken(tokenRead, len);
in HWTEST_F() 267 tokenRead[len] = 0;
in HWTEST_F() 268 ASSERT_STREQ(TEST_TOKEN1, tokenRead) << "token not match" << "\n";
in HWTEST_F() 273 ret = ReadToken(tokenRead, len);
in HWTEST_F() 275 tokenRead[len] = 0;
in HWTEST_F() 276 ASSERT_STREQ(TEST_TOKEN2, tokenRead) << "toke in HWTEST_F() 331 char* tokenRead = (char*)malloc(len + 1); HWTEST_F() local [all...] |
/test/xts/acts/applications/kitframework/ |
H A D | kitfwk_oem_api_test.c | 259 char* tokenRead = malloc(len + 1);
variable 260 if (tokenRead == NULL) {
266 int ret = ReadToken(tokenRead, len);
269 LOG("old token in device:%s", tokenRead);
274 ret = ReadToken(tokenRead, len);
276 tokenRead[len] = 0;
277 TEST_ASSERT_EQUAL_STRING_MESSAGE(TEST_TOKEN1, tokenRead, "token not match");
282 ret = ReadToken(tokenRead, len);
284 tokenRead[len] = 0;
285 TEST_ASSERT_EQUAL_STRING_MESSAGE(TEST_TOKEN2, tokenRead, "toke 292 free(tokenRead); global() variable 342 char* tokenRead = malloc(len + 1); global() variable 354 free(tokenRead); global() variable [all...] |
Completed in 2 milliseconds