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

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: comments 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
« no previous file with comments | « 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 grit.gather.policy_json_unittest.PolicyJsonUnittest, 118 grit.gather.policy_json_unittest.PolicyJsonUnittest,
119 grit.gather.rc_unittest.RcUnittest, 119 grit.gather.rc_unittest.RcUnittest,
120 grit.gather.tr_html_unittest.ParserUnittest, 120 grit.gather.tr_html_unittest.ParserUnittest,
121 grit.gather.tr_html_unittest.TrHtmlUnittest, 121 grit.gather.tr_html_unittest.TrHtmlUnittest,
122 grit.gather.txt_unittest.TxtUnittest, 122 grit.gather.txt_unittest.TxtUnittest,
123 grit.node.base_unittest.NodeUnittest, 123 grit.node.base_unittest.NodeUnittest,
124 grit.node.io_unittest.FileNodeUnittest, 124 grit.node.io_unittest.FileNodeUnittest,
125 grit.node.message_unittest.MessageUnittest, 125 grit.node.message_unittest.MessageUnittest,
126 grit.node.misc_unittest.GritNodeUnittest, 126 grit.node.misc_unittest.GritNodeUnittest,
127 grit.node.misc_unittest.IfNodeUnittest, 127 grit.node.misc_unittest.IfNodeUnittest,
128 grit.node.misc_unittest.IfNodeChildrenUnittest,
129 grit.node.misc_unittest.ReleaseNodeUnittest, 128 grit.node.misc_unittest.ReleaseNodeUnittest,
130 grit.node.structure_unittest.StructureUnittest, 129 grit.node.structure_unittest.StructureUnittest,
131 grit.node.custom.filename_unittest.WindowsFilenameUnittest, 130 grit.node.custom.filename_unittest.WindowsFilenameUnittest,
132 grit.tool.android2grd_unittest.Android2GrdUnittest, 131 grit.tool.android2grd_unittest.Android2GrdUnittest,
133 grit.tool.build_unittest.BuildUnittest, 132 grit.tool.build_unittest.BuildUnittest,
134 grit.tool.buildinfo_unittest.BuildInfoUnittest, 133 grit.tool.buildinfo_unittest.BuildInfoUnittest,
135 grit.tool.postprocess_unittest.PostProcessingUnittest, 134 grit.tool.postprocess_unittest.PostProcessingUnittest,
136 grit.tool.preprocess_unittest.PreProcessingUnittest, 135 grit.tool.preprocess_unittest.PreProcessingUnittest,
137 grit.tool.rc2grd_unittest.Rc2GrdUnittest, 136 grit.tool.rc2grd_unittest.Rc2GrdUnittest,
138 grit.tool.transl2tc_unittest.TranslationToTcUnittest, 137 grit.tool.transl2tc_unittest.TranslationToTcUnittest,
139 grit.tool.xmb_unittest.XmbUnittest, 138 grit.tool.xmb_unittest.XmbUnittest,
140 # add test classes here, in alphabetical order... 139 # add test classes here, in alphabetical order...
141 ] 140 ]
142 141
143 for test_class in test_classes: 142 for test_class in test_classes:
144 self.addTest(unittest.makeSuite(test_class)) 143 self.addTest(unittest.makeSuite(test_class))
145 144
146 145
147 if __name__ == '__main__': 146 if __name__ == '__main__':
148 test_result = unittest.TextTestRunner(verbosity=2).run(TestSuiteAll()) 147 test_result = unittest.TextTestRunner(verbosity=2).run(TestSuiteAll())
149 sys.exit(len(test_result.errors) + len(test_result.failures)) 148 sys.exit(len(test_result.errors) + len(test_result.failures))
OLDNEW
« no previous file with comments | « grit/node/misc_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698