OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import unittest | |
6 import cpp_util | |
7 | |
8 class TestCppName(unittest.TestCase): | |
not at google - send to devlin
2012/01/17 05:42:32
class CppUtilTest
| |
9 def test_cpp_name(self): | |
10 self.assertEquals(cpp_util.cpp_name('permissions'), 'Permissions') | |
11 self.assertEquals(cpp_util.cpp_name('updateAllTheThings'), | |
12 'UpdateAllTheThings') | |
13 self.assertEquals(cpp_util.cpp_name('aa.bb.cc'), 'Aa_Bb_Cc') | |
14 | |
15 if __name__ == '__main__': | |
16 unittest.main() | |
OLD | NEW |