summaryrefslogtreecommitdiffstats
path: root/mojo/android/javatests
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 19:03:30 +0000
committerqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 19:03:30 +0000
commit688d06720580bd44cac33e2ad2908fa41849179e (patch)
tree945fb5b75bcb9e28d0656337162865289ec03aaa /mojo/android/javatests
parent9f364a3a8ffde2ce2914b3b99712df55c93fc3b2 (diff)
downloadchromium_src-688d06720580bd44cac33e2ad2908fa41849179e.zip
chromium_src-688d06720580bd44cac33e2ad2908fa41849179e.tar.gz
chromium_src-688d06720580bd44cac33e2ad2908fa41849179e.tar.bz2
Refactor java packages.
- Move implementation into its own .impl package. - Move MojoTestCase to the .mojo package. Review URL: https://codereview.chromium.org/294043016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/android/javatests')
-rw-r--r--mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java (renamed from mojo/android/javatests/src/org/chromium/mojo/system/MojoTestCase.java)2
-rw-r--r--mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java (renamed from mojo/android/javatests/src/org/chromium/mojo/system/CoreTest.java)15
2 files changed, 14 insertions, 3 deletions
diff --git a/mojo/android/javatests/src/org/chromium/mojo/system/MojoTestCase.java b/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
index e68f112..5236c1d 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/system/MojoTestCase.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/MojoTestCase.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.mojo.system;
+package org.chromium.mojo;
import android.content.Context;
import android.test.InstrumentationTestCase;
diff --git a/mojo/android/javatests/src/org/chromium/mojo/system/CoreTest.java b/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java
index 87ea8755..a59bbdc 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/system/CoreTest.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java
@@ -2,17 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.mojo.system;
+package org.chromium.mojo.system.impl;
import android.test.suitebuilder.annotation.SmallTest;
+import org.chromium.mojo.MojoTestCase;
+import org.chromium.mojo.system.AsyncWaiter;
import org.chromium.mojo.system.AsyncWaiter.Callback;
import org.chromium.mojo.system.AsyncWaiter.Cancellable;
+import org.chromium.mojo.system.Core;
import org.chromium.mojo.system.Core.WaitFlags;
import org.chromium.mojo.system.Core.WaitManyResult;
+import org.chromium.mojo.system.DataPipe;
+import org.chromium.mojo.system.Handle;
+import org.chromium.mojo.system.InvalidHandle;
+import org.chromium.mojo.system.MessagePipeHandle;
import org.chromium.mojo.system.MessagePipeHandle.ReadFlags;
import org.chromium.mojo.system.MessagePipeHandle.ReadMessageResult;
import org.chromium.mojo.system.MessagePipeHandle.WriteFlags;
+import org.chromium.mojo.system.MojoException;
+import org.chromium.mojo.system.MojoResult;
+import org.chromium.mojo.system.Pair;
+import org.chromium.mojo.system.SharedBufferHandle;
import org.chromium.mojo.system.SharedBufferHandle.MapFlags;
import java.nio.ByteBuffer;
@@ -28,7 +39,7 @@ import java.util.concurrent.TimeUnit;
/**
* Testing the core API.
*/
-public class CoreTest extends MojoTestCase {
+public class CoreImplTest extends MojoTestCase {
private static final long RUN_LOOP_TIMEOUT_MS = 5;