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

Unified Diff: testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java

Issue 10957036: Android: creates fifo for test runners in internal directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « build/android/pylib/test_package_apk.py ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
index a93772a6594d7e81aa6341ebf07240816bda9277..b984c4868a79155bb9f18ac0f21396033ac8da6b 100644
--- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
+++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
@@ -70,10 +70,7 @@ public class ChromeNativeTestActivity extends Activity {
private void runTests() {
// This directory is used by build/android/pylib/test_package_apk.py.
- File filesDir = new File(Environment.getExternalStorageDirectory(),
- "native_tests/");
- filesDir.mkdirs();
- nativeRunTests(filesDir.getAbsolutePath(), getApplicationContext());
+ nativeRunTests(getFilesDir().getAbsolutePath(), getApplicationContext());
}
// Signal a failure of the native test loader to python scripts
« no previous file with comments | « build/android/pylib/test_package_apk.py ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698