Lines Matching refs:format
122 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name())
123 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke)
125 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright("smali"),
197 return "TEST_FUNC_{}".format(self.farg.get_name())
203 return self.TEST_FUNCTION_TEMPLATE.format(fname = self.get_name(),
338 return "[{class_name} {iface_tree}]".format(class_name = self.class_name,
351 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree())
353 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(),
360 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()),
364 super_calls = "\n".join(super_template.format(iface_name = iface.get_name(),
367 return self.TEST_CLASS_TEMPLATE.format(copyright = get_copyright('smali'),
536 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree())
539 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(),
586 return "[{class_name} {iftree}]".format(class_name = self.get_name(),
602 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()),
607 super_calls ="\n".join(super_template.format(iface_name = iface.get_name(),
610 funcs = self.DEFAULT_FUNC_TEMPLATE.format(super_calls = super_calls)
612 funcs = self.ABSTRACT_FUNC_TEMPLATE.format()
615 return self.TEST_INTERFACE_TEMPLATE.format(copyright = get_copyright('smali'),
679 print("{} is not a valid smali dir".format(smali_dir), file=sys.stderr)