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

Side by Side Diff: grit/test_suite_all.py

Issue 11155024: If-then-else support for GRIT (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 months 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 | Annotate | Revision Log
« grit/node/misc.py ('K') | « grit/node/misc_unittest.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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 '''Unit test suite that collects all test cases for GRIT.''' 6 '''Unit test suite that collects all test cases for GRIT.'''
7 7
8 import os 8 import os
9 import sys 9 import sys
10 if __name__ == '__main__': 10 if __name__ == '__main__':
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 grit.gather.policy_json_unittest.PolicyJsonUnittest, 104 grit.gather.policy_json_unittest.PolicyJsonUnittest,
105 grit.gather.rc_unittest.RcUnittest, 105 grit.gather.rc_unittest.RcUnittest,
106 grit.gather.tr_html_unittest.ParserUnittest, 106 grit.gather.tr_html_unittest.ParserUnittest,
107 grit.gather.tr_html_unittest.TrHtmlUnittest, 107 grit.gather.tr_html_unittest.TrHtmlUnittest,
108 grit.gather.txt_unittest.TxtUnittest, 108 grit.gather.txt_unittest.TxtUnittest,
109 grit.node.base_unittest.NodeUnittest, 109 grit.node.base_unittest.NodeUnittest,
110 grit.node.io_unittest.FileNodeUnittest, 110 grit.node.io_unittest.FileNodeUnittest,
111 grit.node.message_unittest.MessageUnittest, 111 grit.node.message_unittest.MessageUnittest,
112 grit.node.misc_unittest.GritNodeUnittest, 112 grit.node.misc_unittest.GritNodeUnittest,
113 grit.node.misc_unittest.IfNodeUnittest, 113 grit.node.misc_unittest.IfNodeUnittest,
114 grit.node.misc_unittest.IfNodeChildrenUnittest,
115 grit.node.misc_unittest.ReleaseNodeUnittest, 114 grit.node.misc_unittest.ReleaseNodeUnittest,
116 grit.node.structure_unittest.StructureUnittest, 115 grit.node.structure_unittest.StructureUnittest,
117 grit.node.custom.filename_unittest.WindowsFilenameUnittest, 116 grit.node.custom.filename_unittest.WindowsFilenameUnittest,
118 grit.tool.android2grd_unittest.Android2GrdUnittest, 117 grit.tool.android2grd_unittest.Android2GrdUnittest,
119 grit.tool.build_unittest.BuildUnittest, 118 grit.tool.build_unittest.BuildUnittest,
120 grit.tool.buildinfo_unittest.BuildInfoUnittest, 119 grit.tool.buildinfo_unittest.BuildInfoUnittest,
121 grit.tool.postprocess_unittest.PostProcessingUnittest, 120 grit.tool.postprocess_unittest.PostProcessingUnittest,
122 grit.tool.preprocess_unittest.PreProcessingUnittest, 121 grit.tool.preprocess_unittest.PreProcessingUnittest,
123 grit.tool.rc2grd_unittest.Rc2GrdUnittest, 122 grit.tool.rc2grd_unittest.Rc2GrdUnittest,
124 grit.tool.transl2tc_unittest.TranslationToTcUnittest, 123 grit.tool.transl2tc_unittest.TranslationToTcUnittest,
125 grit.tool.xmb_unittest.XmbUnittest, 124 grit.tool.xmb_unittest.XmbUnittest,
126 # add test classes here, in alphabetical order... 125 # add test classes here, in alphabetical order...
127 ] 126 ]
128 127
129 for test_class in test_classes: 128 for test_class in test_classes:
130 self.addTest(unittest.makeSuite(test_class)) 129 self.addTest(unittest.makeSuite(test_class))
131 130
132 131
133 if __name__ == '__main__': 132 if __name__ == '__main__':
134 test_result = unittest.TextTestRunner(verbosity=2).run(TestSuiteAll()) 133 test_result = unittest.TextTestRunner(verbosity=2).run(TestSuiteAll())
135 sys.exit(len(test_result.errors) + len(test_result.failures)) 134 sys.exit(len(test_result.errors) + len(test_result.failures))
OLDNEW
« grit/node/misc.py ('K') | « grit/node/misc_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698