Home
last modified time | relevance | path

Searched refs:REPORT_JSON_OUTPUT_PATH (Results 1 – 1 of 1) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dhiperf_libreport_test.cpp43 constexpr const char *REPORT_JSON_OUTPUT_PATH = "./perf.json"; variable
347 unlink(REPORT_JSON_OUTPUT_PATH);
348 EXPECT_NE(access(REPORT_JSON_OUTPUT_PATH, F_OK), 0);
350 EXPECT_EQ(::ReportJson(PERF_DATA_INPUT_PATH, REPORT_JSON_OUTPUT_PATH), 0);
351 EXPECT_EQ(access(REPORT_JSON_OUTPUT_PATH, F_OK), 0);
353 EXPECT_EQ(ReadFileToString(REPORT_JSON_OUTPUT_PATH, content), true);
359 unlink(REPORT_JSON_OUTPUT_PATH);
360 EXPECT_NE(access(REPORT_JSON_OUTPUT_PATH, F_OK), 0);
362 EXPECT_NE(::ReportJson(PERF_DATA_ERROR_FORMAT_INPUT_PATH, REPORT_JSON_OUTPUT_PATH), 0);
363 if (access(REPORT_JSON_OUTPUT_PATH, F_OK) == 0) {
[all …]