Home
last modified time | relevance | path

Searched refs:expect (Results 1 - 17 of 17) sorted by relevance

/developtools/profiler/device/plugins/memory_plugin/test/unittest/
H A Dsmaps_stats_unittest.cpp251 MemUsageInfo expect = {0, 0, 4}; in HWTEST_F() local
256 EXPECT_EQ(expect.vss, target.vss); in HWTEST_F()
257 EXPECT_EQ(expect.rss, target.rss); in HWTEST_F()
258 EXPECT_EQ(expect.pss, target.pss); in HWTEST_F()
259 EXPECT_EQ(expect.uss, target.uss); in HWTEST_F()
260 EXPECT_EQ(expect.swap, target.swap); in HWTEST_F()
261 EXPECT_EQ(expect.swapPss, target.swapPss); in HWTEST_F()
262 EXPECT_EQ(expect.privateClean, target.privateClean); in HWTEST_F()
263 EXPECT_EQ(expect.privateDirty, target.privateDirty); in HWTEST_F()
264 EXPECT_EQ(expect in HWTEST_F()
277 MemUsageInfo expect = {0}; HWTEST_F() local
304 MemUsageInfo expect = {0}; HWTEST_F() local
333 MemUsageInfo expect = {0}; HWTEST_F() local
360 MemUsageInfo expect = {0}; HWTEST_F() local
386 MemUsageInfo expect = {0}; HWTEST_F() local
412 MemUsageInfo expect = {0}; HWTEST_F() local
438 MemUsageInfo expect = {0}; HWTEST_F() local
465 MemUsageInfo expect = {0}; HWTEST_F() local
492 MemUsageInfo expect = {0}; HWTEST_F() local
518 MemUsageInfo expect = {0}; HWTEST_F() local
544 MemUsageInfo expect = {0}; HWTEST_F() local
570 MemUsageInfo expect = {0}; HWTEST_F() local
[all...]
H A Dbuffer_splitter_unittest.cpp116 TestElement expect = {0, text, 4, nullptr, 0}; in HWTEST_F() local
117 EXPECT_EQ(expect.curLine, totalbuffer.CurLine()); in HWTEST_F()
118 EXPECT_EQ(expect.curLineSz, totalbuffer.CurLineSize()); in HWTEST_F()
119 EXPECT_EQ(expect.curWord, totalbuffer.CurWord()); in HWTEST_F()
120 EXPECT_EQ(expect.curWordSz, totalbuffer.CurWordSize()); in HWTEST_F()
131 TestElement expect = {0, text, 4, nullptr, 0}; in HWTEST_F() local
135 EXPECT_EQ(expect.curLine, totalbuffer.CurLine()); in HWTEST_F()
136 EXPECT_EQ(expect.curLineSz, totalbuffer.CurLineSize()); in HWTEST_F()
137 EXPECT_EQ(expect.curWord, totalbuffer.CurWord()); in HWTEST_F()
138 EXPECT_EQ(expect in HWTEST_F()
149 TestElement expect = {0, text, 4, nullptr, 0}; HWTEST_F() local
171 TestElement expect[] = {{0, text, 4, nullptr, 0}, {5, &text[5], 6, nullptr, 0}}; HWTEST_F() local
193 TestElement expect = {0, text, 5, text, 2}; HWTEST_F() local
212 TestElement expect[] = {{0, text, 6, text, 2}, {0, text, 4, &text[3], 2}}; HWTEST_F() local
234 TestElement expect = {0, text, 6, text, 6}; HWTEST_F() local
253 TestElement expect = {0, text, 6, nullptr, 0}; HWTEST_F() local
272 TestElement expect[] = { HWTEST_F() local
296 TestElement expect[] = { HWTEST_F() local
325 TestElement expect[] = { HWTEST_F() local
[all...]
/developtools/ace_js2bundle/ace-loader/test/card/
H A Dtest.js23 const expect = chai.expect;
48 expect(getActualJSON(page, 'commonAttr')).eql(getExpectJSON(page, 'commonAttr'));
52 expect(getActualJSON(page, 'event')).eql(getExpectJSON(page, 'event'));
56 expect(getActualJSON(page, 'expression')).eql(getExpectJSON(page, 'expression'));
60 expect(getActualJSON(page, 'exteriorStyl')).eql(getExpectJSON(page, 'exteriorStyl'));
64 expect(getActualJSON(page, 'ifAttr')).eql(getExpectJSON(page, 'ifAttr'));
68 expect(getActualJSON(page, 'importCSS')).eql(getExpectJSON(page, 'importCSS'));
72 expect(getActualJSON(page, 'importLess')).eql(getExpectJSON(page, 'importLess'));
76 expect(getActualJSO
[all...]
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
H A Dftrace_field_parser_test.cpp79 int expect = i + 1; in HWTEST_F() local
80 AppendInt(expect); in HWTEST_F()
82 EXPECT_EQ(actual, expect); in HWTEST_F()
94 int expect = i + 1; in HWTEST_F() local
95 AppendInt(expect); in HWTEST_F()
97 EXPECT_EQ(actual, expect); in HWTEST_F()
109 std::string expect = std::to_string(i + 1); in HWTEST_F() local
110 AppendString(expect); in HWTEST_F()
112 EXPECT_EQ(actual, expect); in HWTEST_F()
124 std::string expect in HWTEST_F() local
[all...]
/developtools/ace_js2bundle/ace-loader/test/rich/
H A Dtest.js23 const expect = chai.expect;
61 expect(JSON.parse(stringifyActual(components))).eql(expectJSON);
62 expect(components).to.include.keys($app_bootstrap$.firstCall.args[0]);
/developtools/ace_ets2bundle/compiler/test/
H A Dtest.js20 const expect = chai.expect;
84 expect(result.outputText).eql(content.expectResult);
159 expect(logmsg).to.be.equal(message);
160 expect(logtype).to.be.equal(type);
/developtools/ace_js2bundle/ace-loader/test/lite/
H A Dtest.js21 const { expect } = require('chai');
64 expect(getActualObj(viewModelOptions)).eql(
/developtools/hdc/hdc_rust/src/transfer/
H A Dusb.rs134 fn read_frame(&self, expect: usize) -> io::Result<Vec<u8>> { in read_frame()
135 let mut buf :Vec<u8> = Vec::with_capacity(expect); in read_frame()
137 let readed = ReadUsbDevEx(self.fd, buf.as_mut_ptr() as *mut libc::uint8_t, expect); in read_frame()
138 if readed != expect { in read_frame()
142 "usb read error, usb read failed: expect: {} acture: {}", in read_frame()
143 expect, in read_frame()
/developtools/syscap_codec/test/unittest/common/
H A Dsyscap_codec_test.cpp141 const char expect[][256] = {"SystemCapability.HiviewDFX.HiLogLite", in HWTEST_F() local
150 EXPECT_STREQ(result.syscap[i], expect[i]); in HWTEST_F()
/developtools/profiler/device/base/src/
H A Dschedule_task_manager.cpp46 bool expect = true; in Shutdown() local
47 if (!runScheduleThread_.compare_exchange_strong(expect, false)) { in Shutdown()
/developtools/hiperf/test/unittest/common/native/
H A Dcpu_usage_test.cpp45 void TestCpuUsage(const std::string &option, unsigned int expect, bool fixPid);
221 void CpuUsageTest::TestCpuUsage(const std::string &option, unsigned int expect, bool fixPid) in TestCpuUsage() argument
236 EXPECT_LE(cpuUsage, expect); in TestCpuUsage()
H A Dsubcommand_record_test.cpp79 static void ForkAndRunTest(const std::string& cmd, bool expect = true, bool fixPid = true);
81 static void TestRecordCommand(const std::string &option, bool expect = true, bool fixPid = true);
113 void SubCommandRecordTest::ForkAndRunTest(const std::string& cmd, bool expect, bool fixPid) in ForkAndRunTest() argument
121 TestRecordCommand(cmd, expect, fixPid); in ForkAndRunTest()
130 void SubCommandRecordTest::TestRecordCommand(const std::string &option, bool expect, bool fixPid) in TestRecordCommand() argument
150 printf("run %" PRId64 " ms return %s(expect %s)\n", (uint64_t)costMs.count(), ret ? "true" : "false", in TestRecordCommand()
151 expect ? "true" : "false"); in TestRecordCommand()
152 EXPECT_EQ(expect, ret); in TestRecordCommand()
H A Dsubcommand_dump_test.cpp43 void TestDumpCommand(const std::string &option, bool expect = true) const;
69 void SubCommandDumpTest::TestDumpCommand(const std::string &option, bool expect) const in TestDumpCommand()
87 printf("command : %s(run %" PRId64 " ms) return %s(expect %s)\n", cmdString.c_str(), in TestDumpCommand()
88 (uint64_t)costMs.count(), ret ? "true" : "false", expect ? "true" : "false"); in TestDumpCommand()
89 EXPECT_EQ(expect, ret); in TestDumpCommand()
90 if (expect) { in TestDumpCommand()
H A Dsubcommand_report_test.cpp107 auto expect = expectLines.begin(); in FileCompare() local
110 while (actual != actualLines.end() and expect != expectLines.end() and !HasFailure()) { in FileCompare()
111 EXPECT_STREQ(actual->c_str(), expect->c_str()); in FileCompare()
113 expect++; in FileCompare()
/developtools/hdc/src/daemon/
H A Ddaemon.h72 static bool IsExpectedParam(const std::string& param, const std::string& expect);
H A Ddaemon.cpp813 bool HdcDaemon::IsExpectedParam(const string& param, const string& expect) in InitMod() argument
817 return (out.empty() || out == expect); // default empty in InitMod()
/developtools/hdc/hdc_rust/src/host/
H A Dclient.rs399 if wait_for == String::from_utf8(recv).expect("invalid UTF-8") {

Completed in 14 milliseconds