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

Side by Side Diff: mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java

Issue 1263053002: Move JNI annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.mojo; 5 package org.chromium.mojo;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.test.InstrumentationTestCase; 8 import android.test.InstrumentationTestCase;
9 9
10 import org.chromium.base.JNINamespace; 10 import org.chromium.base.annotations.JNINamespace;
11 import org.chromium.base.library_loader.LibraryLoader; 11 import org.chromium.base.library_loader.LibraryLoader;
12 import org.chromium.base.library_loader.LibraryProcessType; 12 import org.chromium.base.library_loader.LibraryProcessType;
13 13
14 /** 14 /**
15 * Base class to test mojo. Setup the environment. 15 * Base class to test mojo. Setup the environment.
16 */ 16 */
17 @JNINamespace("mojo::android") 17 @JNINamespace("mojo::android")
18 public class MojoTestCase extends InstrumentationTestCase { 18 public class MojoTestCase extends InstrumentationTestCase {
19 19
20 private long mTestEnvironmentPointer; 20 private long mTestEnvironmentPointer;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 private native void nativeInitApplicationContext(Context context); 57 private native void nativeInitApplicationContext(Context context);
58 58
59 private native long nativeSetupTestEnvironment(); 59 private native long nativeSetupTestEnvironment();
60 60
61 private native void nativeTearDownTestEnvironment(long testEnvironment); 61 private native void nativeTearDownTestEnvironment(long testEnvironment);
62 62
63 private native void nativeRunLoop(long timeoutMS); 63 private native void nativeRunLoop(long timeoutMS);
64 64
65 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698