Home | History | Annotate | Download | only in cctest

Lines Matching full:self

39   def __init__(self, path, executable, mode, raw_name, dependency, context):
40 super(CcTestCase, self).__init__(context, path)
41 self.executable = executable
42 self.mode = mode
43 self.raw_name = raw_name
44 self.dependency = dependency
46 def GetLabel(self):
47 return "%s %s %s" % (self.mode, self.path[-2], self.path[-1])
49 def GetName(self):
50 return self.path[-1]
52 def BuildCommand(self, name):
53 serialization_file = join('obj', 'test', self.mode, 'serdes')
54 serialization_file += '_' + self.GetName()
56 result = [ self.executable, name, serialization_option ]
57 if self.mode == 'debug':
61 def GetCommand(self):
62 return self.BuildCommand(self.raw_name)
64 def Run(self):
65 if self.dependency != '':
66 dependent_command = self.BuildCommand(self.dependency)
67 output = self.RunCommand(dependent_command)
70 return test.TestCase.Run(self)
75 def __init__(self, context, root):
76 super(CcTestConfiguration, self).__init__(context, root)
78 def GetBuildRequirements(self):
81 def ListTests(self, current_path, path, mode):
85 output = test.Execute([executable, '--list'], self.context)
97 if self.Contains(path, full_path):
98 result.append(CcTestCase(full_path, executable, mode, raw_test, dependency, self.context))
101 def GetTestStatus(self, sections, defs):
102 status_file = join(self.root, 'cctest.status')