aboutsummaryrefslogtreecommitdiff
path: root/bestflags/task.py
diff options
context:
space:
mode:
authorYuheng Long <yuhenglong@google.com>2013-07-11 07:49:01 -0700
committerChromeBot <chrome-bot@google.com>2013-07-12 15:52:30 -0700
commit26ec76c8a9d4f5dd023513d2772fa6cd4b6749ea (patch)
treeb87fb33899111b369c1fd26b052ffaeaf1776fa0 /bestflags/task.py
parent49358b75c25a44760e884245440dc96e55812d04 (diff)
downloadtoolchain-utils-26ec76c8a9d4f5dd023513d2772fa6cd4b6749ea.tar.gz
Rename the methods and use the dummy parameters.
Refactor methods names and substitute unused variables with dummy variables. BUG=None TEST=unit testing for the pipeline stage and pipeline workers. Change-Id: I237d893201853d8620ff886c8fb9012c38b83805 Reviewed-on: https://gerrit-int.chromium.org/40865 Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com> Reviewed-by: Simon Que <sque@google.com>
Diffstat (limited to 'bestflags/task.py')
-rw-r--r--bestflags/task.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/bestflags/task.py b/bestflags/task.py
index f5908fdb..687a8293 100644
--- a/bestflags/task.py
+++ b/bestflags/task.py
@@ -27,7 +27,7 @@ class Task(object):
"""
self._flag_set = flag_set
- def reproduce_with(self, other):
+ def ReproduceWith(self, other):
"""Create a new SolutionCandidate by reproduction with another.
Mix two Tasks together to form a new Task of the same class. This is one of
@@ -40,7 +40,7 @@ class Task(object):
"""
pass
- def compile(self):
+ def Compile(self):
"""Run a compile.
This method compile an image using the present flags, get the image,
@@ -49,20 +49,20 @@ class Task(object):
"""
pass
- def get_flags(self):
+ def GetFlags(self):
pass
- def set_flags(self, flags):
+ def SetFlags(self, flags):
pass
- def get_checksum(self):
+ def GetChecksum(self):
pass
- def set_checksum(self, checksum):
+ def SetChecksum(self, checksum):
pass
- def get_image(self):
+ def GetImage(self):
pass
- def set_image(self, image):
+ def SetImage(self, image):
pass