| Index: third_party/chrome/tools/cpp_util_test.py
|
| diff --git a/third_party/chrome/tools/cpp_util_test.py b/third_party/chrome/tools/cpp_util_test.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..def85d95d0a86b7d211e0965fc9b6340e9b5514b
|
| --- /dev/null
|
| +++ b/third_party/chrome/tools/cpp_util_test.py
|
| @@ -0,0 +1,17 @@
|
| +#!/usr/bin/env python
|
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import cpp_util
|
| +import unittest
|
| +
|
| +class CppUtilTest(unittest.TestCase):
|
| + def testClassname(self):
|
| + self.assertEquals('Permissions', cpp_util.Classname('permissions'))
|
| + self.assertEquals('UpdateAllTheThings',
|
| + cpp_util.Classname('updateAllTheThings'))
|
| + self.assertEquals('Aa_Bb_Cc', cpp_util.Classname('aa.bb.cc'))
|
| +
|
| +if __name__ == '__main__':
|
| + unittest.main()
|
|
|