diff options
author | Brian Carlstrom <bdc@google.com> | 2014-01-28 20:39:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-01-28 20:39:40 +0000 |
commit | 4fe497660c2e939300dc5b743d662aef458b1726 (patch) | |
tree | 7403a641121a22430470b36d1032ef328918523b | |
parent | 1922306d33d16f143d5a01daebba4e2cb477d0f5 (diff) | |
parent | c58f516a6bb1e97d4423620f9d7ca0ab5f0af8b0 (diff) | |
download | android-mock-4fe497660c2e939300dc5b743d662aef458b1726.tar.gz |
Merge "Delete some pointless and invalid code."android-l-preview_r2l-previewidea133-weekly-release
-rw-r--r-- | src/com/google/android/testing/mocking/AndroidMock.java | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/src/com/google/android/testing/mocking/AndroidMock.java b/src/com/google/android/testing/mocking/AndroidMock.java index 88f79b1..8378c4e 100644 --- a/src/com/google/android/testing/mocking/AndroidMock.java +++ b/src/com/google/android/testing/mocking/AndroidMock.java @@ -2361,96 +2361,6 @@ public class AndroidMock { } /** - * Expect any {@code int/Integer} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0}. The return value is always ignored. - */ - public static int capture(Capture<Integer> captured) { - return EasyMock.capture(captured); - } - - /** - * Expect any {@code long/Long} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0}. The return value is always ignored. - */ - public static long capture(Capture<Long> captured) { - return EasyMock.capture(captured); - } - - /** - * Expect any {@code float/Float} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0}. The return value is always ignored. - */ - public static float capture(Capture<Float> captured) { - return EasyMock.capture(captured); - } - - /** - * Expect any {@code double/Double} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0}. The return value is always ignored. - */ - public static double capture(Capture<Double> captured) { - return EasyMock.capture(captured); - } - - /** - * Expect any {@code byte/Byte} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0} - */ - public static byte capture(Capture<Byte> captured) { - return EasyMock.capture(captured); - } - - /** - * Expect any {@code char/Character} as a parameter to the mocked method, but capture it for later - * use. - * - * {@link org.easymock.Capture} allows for capturing of the incoming value. Use - * {@link org.easymock.Capture#getValue()} to retrieve the captured value. - * - * @param captured a container to hold the captured value, retrieved by - * {@link org.easymock.Capture#getValue()} - * @return {@code 0} - */ - public static char capture(Capture<Character> captured) { - return EasyMock.capture(captured); - } - - /** * Switches the given mock objects (more exactly: the controls of the mock * objects) to replay mode. * |