Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: appengine/findit/waterfall/test_info.py

Issue 2438673004: [Findit] Post analysis results of flakes to bug filed by chromium-try-flakes. (Closed)
Patch Set: Add a config flag to enable/disable updating monorail bug. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/findit/waterfall/test/post_comment_to_bug_pipeline_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 class TestInfo(object): # pragma: no cover.
6 """Represents a test."""
7
8 def __init__(
9 self, master_name, builder_name, build_number, step_name, test_name):
10 self.master_name = master_name
11 self.builder_name = builder_name
12 self.build_number = build_number
13 self.step_name = step_name
14 self.test_name = test_name
15
16 def __repr__(self):
17 return '%s/%s/%s/%s/%s' % (
18 self.master_name, self.builder_name, self.build_number,
19 self.step_name, self.test_name)
20
21 def __eq__(self, other):
22 return (isinstance(other, self.__class__) and
23 self.master_name == other.master_name and
24 self.builder_name == other.builder_name and
25 self.build_number == other.build_number and
26 self.step_name == other.step_name and
27 self.test_name == other.test_name)
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/test/post_comment_to_bug_pipeline_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698