def __init__(self, path): super(WebKitPatch, self).__init__() self._path = path self.commands = [ AnalyzeBaselines(), CopyExistingBaselines(), CrashLog(), FlakyTests(), OptimizeBaselines(), PrettyDiff(), PrintBaselines(), PrintExpectations(), Rebaseline(), RebaselineCL(), RebaselineExpectations(), RebaselineTest(), ] self.help_command = HelpCommand(tool=self) self.commands.append(self.help_command)
def __init__(self, path): MultiCommandTool.__init__(self, commands=[ AnalyzeBaselines(), AutoRebaseline(), CommitAnnouncerCommand(), CopyExistingBaselinesInternal(), CrashLog(), FlakyTests(), LayoutTestsServer(), OptimizeBaselines(), PrettyDiff(), PrintBaselines(), PrintExpectations(), Rebaseline(), RebaselineExpectations(), RebaselineFromTryJobs(), RebaselineJson(), RebaselineServer(), RebaselineTest(), ]) Host.__init__(self) self._path = path
def test_tests_to_update(self): command = Rebaseline() command.bind_to_tool(MockTool()) build = Mock() OutputCapture().assert_outputs(self, command._tests_to_update, [build])