diff options
Diffstat (limited to 'mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py')
-rw-r--r-- | mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py b/mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py deleted file mode 100644 index a887686..0000000 --- a/mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2013 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 sys - -import test_support - -EXPECT_EQ = test_support.EXPECT_EQ -EXPECT_TRUE = test_support.EXPECT_TRUE -RunTest = test_support.RunTest -ModulesAreEqual = test_support.ModulesAreEqual -BuildTestModule = test_support.BuildTestModule -TestTestModule = test_support.TestTestModule - - -def BuildAndTestModule(): - return TestTestModule(BuildTestModule()) - - -def TestModulesEqual(): - return EXPECT_TRUE(ModulesAreEqual(BuildTestModule(), BuildTestModule())) - - -def Main(args): - errors = 0 - errors += RunTest(BuildAndTestModule) - errors += RunTest(TestModulesEqual) - - return errors - - -if __name__ == '__main__': - sys.exit(Main(sys.argv[1:])) |