Home | History | Annotate | Download | only in mozilla

Lines Matching full:self

59   def __init__(self, filename, path, context, root, mode, framework):
60 super(MozillaTestCase, self).__init__(context, path)
61 self.filename = filename
62 self.mode = mode
63 self.framework = framework
64 self.root = root
66 def IsNegative(self):
67 return self.filename.endswith('-n.js')
69 def GetLabel(self):
70 return "%s mozilla %s" % (self.mode, self.GetName())
72 def IsFailureOutput(self, output):
77 def GetCommand(self):
78 result = [self.context.GetVm(self.mode), '--expose-gc',
79 join(self.root, 'mozilla-shell-emulation.js')]
80 result += self.framework
81 result.append(self.filename)
84 def GetName(self):
85 return self.path[-1]
87 def GetSource(self):
88 return open(self.filename).read()
93 def __init__(self, context, root):
94 super(MozillaTestConfiguration, self).__init__(context, root)
96 def ListTests(self, current_path, path, mode):
99 current_root = join(self.root, 'data', test_dir)
107 root_path = root[len(self.root):].split(os.path.sep)
113 script = join(self.root, reduce(join, dir, ''), 'shell.js')
122 if self.Contains(path, full_path):
123 test = MozillaTestCase(join(root, file), full_path, self.context,
124 self.root, mode, framework)
128 def GetBuildRequirements(self):
131 def GetTestStatus(self, sections, defs):
132 status_file = join(self.root, 'mozilla.status')