diff options
author | Jeff Brown <jeffbrown@google.com> | 2015-04-10 03:11:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-10 03:11:44 +0000 |
commit | cb0392fa1c9b95a97d3bf7b78c6ba41afff2cff1 (patch) | |
tree | 094065a95dfe814a2345f7badbc6905cfc7d3878 /test-runner | |
parent | b77640533f039c0d2202dcacb944eff1b2dfe0fb (diff) | |
parent | 4e0951ef7a2bb492fd1255b83eba00b1b0556290 (diff) | |
download | frameworks_base-cb0392fa1c9b95a97d3bf7b78c6ba41afff2cff1.zip frameworks_base-cb0392fa1c9b95a97d3bf7b78c6ba41afff2cff1.tar.gz frameworks_base-cb0392fa1c9b95a97d3bf7b78c6ba41afff2cff1.tar.bz2 |
Merge "Expose Cursor.setExtras()."
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockCursor.java | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockCursor.java b/test-runner/src/android/test/mock/MockCursor.java index a37c6eb..28fa0f8 100644 --- a/test-runner/src/android/test/mock/MockCursor.java +++ b/test-runner/src/android/test/mock/MockCursor.java @@ -35,162 +35,209 @@ import android.os.Bundle; * </P> */ public class MockCursor implements Cursor { + @Override public int getColumnCount() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getColumnIndex(String columnName) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getColumnIndexOrThrow(String columnName) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public String getColumnName(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public String[] getColumnNames() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getCount() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isNull(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getInt(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public long getLong(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public short getShort(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public float getFloat(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public double getDouble(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public byte[] getBlob(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public String getString(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override + public void setExtras(Bundle extras) { + throw new UnsupportedOperationException("unimplemented mock method"); + } + + @Override public Bundle getExtras() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getPosition() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isAfterLast() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isBeforeFirst() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isFirst() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isLast() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean move(int offset) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean moveToFirst() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean moveToLast() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean moveToNext() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean moveToPrevious() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean moveToPosition(int position) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override + @Deprecated public void deactivate() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void close() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean isClosed() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override + @Deprecated public boolean requery() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void registerContentObserver(ContentObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void registerDataSetObserver(DataSetObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public Bundle respond(Bundle extras) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public boolean getWantsAllOnMoveCalls() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void setNotificationUri(ContentResolver cr, Uri uri) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public Uri getNotificationUri() { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void unregisterContentObserver(ContentObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public void unregisterDataSetObserver(DataSetObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } + @Override public int getType(int columnIndex) { throw new UnsupportedOperationException("unimplemented mock method"); } |