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

Unified Diff: base/android/jni_generator/jni_generator_tests.py

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi Created 8 years, 5 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
« no previous file with comments | « base/android/jni_generator/jni_generator.py ('k') | base/android/jni_generator/sample_for_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_generator/jni_generator_tests.py
diff --git a/base/android/jni_generator/jni_generator_tests.py b/base/android/jni_generator/jni_generator_tests.py
index 1ce7a37dc605095faeff47479e92efa0a657ec0e..71d390d598f48a391b50aae3ceba2b3a049e1eab 100755
--- a/base/android/jni_generator/jni_generator_tests.py
+++ b/base/android/jni_generator/jni_generator_tests.py
@@ -1491,18 +1491,5 @@ static bool RegisterNativesImpl(JNIEnv* env) {
content, 'org/chromium/example/jni_generator/SampleForTests')
self.assertTextEquals(golden_content, jni_from_java.GetContent())
- def testCheckFilenames(self):
- self.assertRaises(SystemExit, jni_generator.CheckFilenames,
- ['more', 'input', 'than'], ['output'])
- self.assertRaises(SystemExit, jni_generator.CheckFilenames,
- ['more'], ['output', 'than', 'input'])
- self.assertRaises(SystemExit, jni_generator.CheckFilenames,
- ['NotTheSame.java'], ['not_good.h'])
- self.assertRaises(SystemExit, jni_generator.CheckFilenames,
- ['MissingJniSuffix.java'], ['missing_jni_suffix.h'])
- jni_generator.CheckFilenames(['ThisIsFine.java'], ['this_is_fine_jni.h'])
- jni_generator.CheckFilenames([], [])
-
-
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « base/android/jni_generator/jni_generator.py ('k') | base/android/jni_generator/sample_for_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698