Lines Matching refs:self

42     if 'self' in frame.f_locals:

43 caller_class = frame.f_locals['self'].__class__.__name__
87 def __init__(self):
88 self.name = self.__class__.__name__
89 self.cmd = get_idl()
91 def run(self):
95 def test(self):
96 print_success("[ RUN ] {}".format(self.name))
98 result = self.run()
102 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time))
104 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
109 def run(self):
154 command = f"{self.cmd} -h"
156 command = f"{self.cmd} --help"
163 def run(self):
167 command = f"{self.cmd} -v"
169 command = f"{self.cmd} --version"
176 def run_sa(self):
179 command = f"{self.cmd} -abc"
185 command = f"{self.cmd} --system full"
190 command = f"{self.cmd} --mode ipc"
192 command = f"{self.cmd} -m ipc"
197 command = f"{self.cmd} -p abc.test"
199 command = f"{self.cmd} --package abc.test"
204 command = f"{self.cmd} --hash"
209 command = f"{self.cmd} -r abc:./"
214 command = f"{self.cmd} -o test.file"
220 command = f"{self.cmd} --gen-c"
224 def run_hdi(self):
228 command = f"{self.cmd} --intf-type hdi --dump-metadata"
233 command = f"{self.cmd} --intf-type hdi -s"
239 command = f"{self.cmd} --intf-type hdi --gen-ts"
241 command = f"{self.cmd} --intf-type hdi --gen-rust"
245 def run(self):
246 ret = self.run_sa()
247 ret &= self.run_hdi()
253 def run(self):
256 command = f"{self.cmd} -abc"
261 def run(self):
263 command = f"{self.cmd} --intf-type hdi --mode low"
266 command = f"{self.cmd} --intf-type hdi -m passthrough"
269 command = f"{self.cmd} --intf-type hdi --mode ipc"
272 command = f"{self.cmd} --intf-type hdi -m kernel"
276 command = f"{self.cmd} --intf-type hdi --mode abc"
282 def run(self):
284 command = f"{self.cmd} --intf-type hdi -p abc"
291 def run(self):
293 command = f"{self.cmd} --intf-type hdi --dump-ast"
297 command = f"{self.cmd} --intf-type sa --dump-ast"
300 command = f"{self.cmd} --dump-ast"
307 def run(self):
310 command = f"{self.cmd} --intf-type hdi --dump-metadata"
314 command = f"{self.cmd} --intf-type sa --dump-metadata"
321 def run(self):
323 command = f"{self.cmd} --intf-type hdi --hash"
328 command = f"{self.cmd} --hash"
335 def run(self):
338 command = f"{self.cmd} --intf-type sa -r"
342 command = f"{self.cmd} --intf-type sa -r x:xx"
347 command = f"{self.cmd} --intf-type sa -r x:./"
352 command = f"{self.cmd} --intf-type hdi -r"
356 command = f"{self.cmd} --intf-type hdi -r x:xx"
360 command = f"{self.cmd} --intf-type hdi -r x:./"
367 def run(self):
370 command = f"{self.cmd} --intf-type sa -D"
375 command = f"{self.cmd} --intf-type sa -D ./"
381 command = f"{self.cmd} --intf-type sa -D ./x"
386 command = f"{self.cmd} --intf-type hdi -D"
390 command = f"{self.cmd} --intf-type hdi -D {os.path.dirname(os.path.abspath(__file__))}"
394 command = f"{self.cmd} --intf-type hdi -D {os.path.dirname(os.path.abspath(__file__))}/x"
401 def run(self):
404 command = f"{self.cmd} --intf-type sa -d"
408 command = f"{self.cmd} --intf-type sa -d ./"
412 command = f"{self.cmd} --intf-type sa -d x"
417 command = f"{self.cmd} --intf-type hdi -d"
421 command = f"{self.cmd} --intf-type hdi -d ./"
425 command = f"{self.cmd} --intf-type hdi -d x"
432 def run(self):
435 command = f"{self.cmd} --intf-type sa -o"
440 command = f"{self.cmd} --intf-type sa -o xx"
445 command = f"{self.cmd} --intf-type hdi -o"
449 command = f"{self.cmd} --intf-type hdi -o xx"
456 def run(self):
459 command = f"{self.cmd} --intf-type sa -s"
464 command = f"{self.cmd} --intf-type hdi -s aaa"
471 def run(self):
475 command = f"{self.cmd} --intf-type sa --gen-c"
479 command = f"{self.cmd} --intf-type hdi --gen-c"
486 def run(self):
488 command = f"{self.cmd} --intf-type sa --gen-cpp"
492 command = f"{self.cmd} --intf-type hdi --gen-cpp"
499 def run(self):
503 command = f"{self.cmd} --intf-type sa --gen-java"
507 command = f"{self.cmd} --intf-type hdi --gen-java"
513 def run(self):
515 command = f"{self.cmd} --intf-type sa --gen-rust"
521 command = f"{self.cmd} --intf-type hdi --gen-rust"
528 def run(self):
530 command = f"{self.cmd} --intf-type sa --gen-ts"
536 command = f"{self.cmd} --intf-type hdi --gen-ts"
543 def run(self):
545 command = f"{self.cmd} --intf-type sa --log-domainid xx"
550 command = f"{self.cmd} --intf-type hdi --log-domainid xx"
557 def run(self):
560 command = f"{self.cmd} --intf-type sa --log-tag"
564 command = f"{self.cmd} --intf-type sa --log-tag xx"
568 command = f"{self.cmd} --intf-type sa --log-domainid xx --log-tag xx"
573 command = f"{self.cmd} --intf-type hdi ---log-tag xx"
580 def run(self):
583 command = f"{self.cmd} --intf-type sa -t"
587 command = f"{self.cmd} --intf-type sa -t xx"
592 command = f"{self.cmd} --intf-type hdi -t"
597 command = f"{self.cmd} --intf-type hdi -t xx"
603 def run(self):
606 command = f"{self.cmd} --intf-type sa --system"
610 command = f"{self.cmd} --intf-type sa --system xx"
615 command = f"{self.cmd} --intf-type sa --system mini"
620 command = f"{self.cmd} --intf-type hdi --system"
624 command = f"{self.cmd} --intf-type hdi --system xx"
628 command = f"{self.cmd} --intf-type hdi --system mini"
631 command = f"{self.cmd} --intf-type hdi --system lite"
634 command = f"{self.cmd} --intf-type hdi --system full"
639 def run(self):
641 command = f"{self.cmd} --intf-type sa"
645 command = f"{self.cmd} --intf-type hdi"
649 command = f"{self.cmd} --intf-type xxx"
654 command = f"{self.cmd} --intf-type"