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

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

Issue 10161032: Add PathUtilsTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/base.gyp ('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 b4bb6add2c0632c807c1e8d3f04cc7a36bda54a9..35e381f4e4ebaedbb08d77cab41fabadad6ae6d7 100644
--- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
+++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
@@ -5,6 +5,7 @@
package org.chromium.native_test;
import android.app.Activity;
+import android.content.Context;
import android.os.Bundle;
import android.util.Log;
@@ -36,7 +37,7 @@ public class ChromeNativeTestActivity extends Activity {
@Override
public void run() {
Log.d(TAG, ">>nativeRunTests");
- nativeRunTests(getFilesDir().getAbsolutePath());
+ nativeRunTests(getFilesDir().getAbsolutePath(), getApplicationContext());
// TODO(jrg): make sure a crash in native code
// triggers nativeTestFailed().
Log.d(TAG, "<<nativeRunTests");
@@ -62,5 +63,5 @@ public class ChromeNativeTestActivity extends Activity {
Log.i(TAG, "loaded: " + mLibrary);
}
- private native void nativeRunTests(String filesDir);
+ private native void nativeRunTests(String filesDir, Context appContext);
}
« no previous file with comments | « base/base.gyp ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698