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

Unified Diff: mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/pylib/mojom/generate/module_tests.py
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 a887686e1b59af87f93c72a1adfcc35d82e63ae0..0000000000000000000000000000000000000000
--- 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:]))

Powered by Google App Engine
This is Rietveld 408576698