aboutsummaryrefslogtreecommitdiff
path: root/bestflags/pipeline_process_test.py
diff options
context:
space:
mode:
authorYuheng Long <yuhenglong@google.com>2013-06-03 18:46:00 -0700
committerChromeBot <chrome-bot@google.com>2013-06-10 20:21:38 -0700
commitf20cffac082e3d920818f230ffc80ae6976267c0 (patch)
treed1375d3dd7b0a32be97bd179f8fab7ab3e096473 /bestflags/pipeline_process_test.py
parent8cdaddf7ec91520a0bfbdf9da73056f255f67824 (diff)
downloadtoolchain-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/pipeline_process_test.py')
-rw-r--r--bestflags/pipeline_process_test.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/bestflags/pipeline_process_test.py b/bestflags/pipeline_process_test.py
new file mode 100644
index 00000000..8df23278
--- /dev/null
+++ b/bestflags/pipeline_process_test.py
@@ -0,0 +1,29 @@
+"""Pipeline Process unittest."""
+
+__author__ = 'yuhenglong@google.com (Yuheng Long)'
+
+import unittest
+
+import pipeline_process
+
+
+class PipelineProcessTest(unittest.TestCase):
+ """This class test the PipelineProcess.
+
+ All the task inserted into the input queue should be taken out and hand to the
+ actual pipeline handler, except for the POISON_PILL. All these task should
+ also be passed to the next pipeline stage via the output queue.
+ """
+
+ def setUp(self):
+ pass
+
+ def testRun(self):
+ """"Test the run method.
+
+ Ensure that all the tasks inserted into the queue are properly handled.
+ """
+ pass
+
+if __name__ == '__main__':
+ unittest.main()