diff options
author | Yuheng Long <yuhenglong@google.com> | 2013-06-03 18:46:00 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-10 20:21:38 -0700 |
commit | f20cffac082e3d920818f230ffc80ae6976267c0 (patch) | |
tree | d1375d3dd7b0a32be97bd179f8fab7ab3e096473 /bestflags/steering_test.py | |
parent | 8cdaddf7ec91520a0bfbdf9da73056f255f67824 (diff) | |
download | toolchain-utils-f20cffac082e3d920818f230ffc80ae6976267c0.tar.gz |
Added the skeleton for the flagging framework.
BUG=None
TEST=None
Change-Id: I72c37ac70ed2adca588ad9866a6bcc26775aed8b
Reviewed-on: https://gerrit-int.chromium.org/39096
Reviewed-by: Luis Lozano <llozano@chromium.org>
Tested-by: Yuheng Long <yuhenglong@google.com>
Commit-Queue: Yuheng Long <yuhenglong@google.com>
Diffstat (limited to 'bestflags/steering_test.py')
-rw-r--r-- | bestflags/steering_test.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bestflags/steering_test.py b/bestflags/steering_test.py new file mode 100644 index 00000000..c538d5fb --- /dev/null +++ b/bestflags/steering_test.py @@ -0,0 +1,29 @@ +"""Steering stage unittest.""" + +__author__ = 'yuhenglong@google.com (Yuheng Long)' + +import unittest + +import steering + + +class SteeringTest(unittest.TestCase): + """This class test the Steering class. + + This steering algorithm should stop either it has generated a certain number + of generations or the generation has no further improvement. + """ + + def setUp(self): + pass + + def testGeneration(self): + """"Test proper termination for a number of generations.""" + pass + + def testImprove(self): + """"Test proper termination for no improvement between generations.""" + pass + +if __name__ == '__main__': + unittest.main() |