OLD | NEW |
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.system; | 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.JNINamespace; |
11 import org.chromium.base.library_loader.LibraryLoader; | 11 import org.chromium.base.library_loader.LibraryLoader; |
12 | 12 |
13 /** | 13 /** |
14 * Base class to test mojo. Setup the environment. | 14 * Base class to test mojo. Setup the environment. |
15 */ | 15 */ |
(...skipping 24 matching lines...) Expand all Loading... |
40 | 40 |
41 private native void nativeInitApplicationContext(Context context); | 41 private native void nativeInitApplicationContext(Context context); |
42 | 42 |
43 private native long nativeSetupTestEnvironment(); | 43 private native long nativeSetupTestEnvironment(); |
44 | 44 |
45 private native void nativeTearDownTestEnvironment(long testEnvironment); | 45 private native void nativeTearDownTestEnvironment(long testEnvironment); |
46 | 46 |
47 protected native void nativeRunLoop(long timeoutMS); | 47 protected native void nativeRunLoop(long timeoutMS); |
48 | 48 |
49 } | 49 } |
OLD | NEW |