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"),
228 return self.NSME_RESULT_TEMPLATE.format(tree = self.farg.get_tree())
230 return self.AME_RESULT_TEMPLATE.format(tree = self.farg.get_tree())
232 return self.ICCE_RESULT_TEMPLATE.format(tree = self.farg.get_tree())
235 return self.NORMAL_RESULT_TEMPLATE.format(tree = self.farg.get_tree(),
242 return "TEST_FUNC_{}".format(self.farg.get_name())
248 return self.TEST_FUNCTION_TEMPLATE.format(tree = self.farg.get_tree(),
293 return "[{class_name} {iface_tree}]".format(class_name = self.class_name,
314 return self.TEST_CLASS_TEMPLATE.format(copyright = get_copyright('smali'),
503 return "[{class_name} {iftree}]".format(class_name = self.get_name(),
522 s_ifaces += self.IMPLEMENTS_TEMPLATE.format(iface_name = i.get_name())
523 j_ifaces += " {},".format(i.get_name())
526 funcs = self.DEFAULT_FUNC_TEMPLATE.format(tree = self.get_tree())
528 funcs = self.ABSTRACT_FUNC_TEMPLATE.format()
531 return self.TEST_INTERFACE_TEMPLATE.format(copyright = get_copyright('smali'),
597 print("{} is not a valid smali dir".format(smali_dir), file=sys.stderr)