All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.test.mock.MockCursor Maven / Gradle / Ivy

Go to download

A library jar that provides APIs for testing Applications written for the Google Android Platform.

There is a newer version: 4.1.1.4
Show newest version
package android.test.mock;
public class MockCursor
  implements android.database.Cursor
{
public  MockCursor() { throw new RuntimeException("Stub!"); }
public  int getColumnCount() { throw new RuntimeException("Stub!"); }
public  int getColumnIndex(java.lang.String columnName) { throw new RuntimeException("Stub!"); }
public  int getColumnIndexOrThrow(java.lang.String columnName) { throw new RuntimeException("Stub!"); }
public  java.lang.String getColumnName(int columnIndex) { throw new RuntimeException("Stub!"); }
public  java.lang.String[] getColumnNames() { throw new RuntimeException("Stub!"); }
public  int getCount() { throw new RuntimeException("Stub!"); }
public  boolean isNull(int columnIndex) { throw new RuntimeException("Stub!"); }
public  int getInt(int columnIndex) { throw new RuntimeException("Stub!"); }
public  long getLong(int columnIndex) { throw new RuntimeException("Stub!"); }
public  short getShort(int columnIndex) { throw new RuntimeException("Stub!"); }
public  float getFloat(int columnIndex) { throw new RuntimeException("Stub!"); }
public  double getDouble(int columnIndex) { throw new RuntimeException("Stub!"); }
public  byte[] getBlob(int columnIndex) { throw new RuntimeException("Stub!"); }
public  java.lang.String getString(int columnIndex) { throw new RuntimeException("Stub!"); }
public  android.os.Bundle getExtras() { throw new RuntimeException("Stub!"); }
public  int getPosition() { throw new RuntimeException("Stub!"); }
public  boolean isAfterLast() { throw new RuntimeException("Stub!"); }
public  boolean isBeforeFirst() { throw new RuntimeException("Stub!"); }
public  boolean isFirst() { throw new RuntimeException("Stub!"); }
public  boolean isLast() { throw new RuntimeException("Stub!"); }
public  boolean move(int offset) { throw new RuntimeException("Stub!"); }
public  boolean moveToFirst() { throw new RuntimeException("Stub!"); }
public  boolean moveToLast() { throw new RuntimeException("Stub!"); }
public  boolean moveToNext() { throw new RuntimeException("Stub!"); }
public  boolean moveToPrevious() { throw new RuntimeException("Stub!"); }
public  boolean moveToPosition(int position) { throw new RuntimeException("Stub!"); }
public  void copyStringToBuffer(int columnIndex, android.database.CharArrayBuffer buffer) { throw new RuntimeException("Stub!"); }
public  void deactivate() { throw new RuntimeException("Stub!"); }
public  void close() { throw new RuntimeException("Stub!"); }
public  boolean isClosed() { throw new RuntimeException("Stub!"); }
public  boolean requery() { throw new RuntimeException("Stub!"); }
public  void registerContentObserver(android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
public  void registerDataSetObserver(android.database.DataSetObserver observer) { throw new RuntimeException("Stub!"); }
public  android.os.Bundle respond(android.os.Bundle extras) { throw new RuntimeException("Stub!"); }
public  boolean getWantsAllOnMoveCalls() { throw new RuntimeException("Stub!"); }
public  boolean commitUpdates() { throw new RuntimeException("Stub!"); }
public  boolean commitUpdates(java.util.Map> values) { throw new RuntimeException("Stub!"); }
public  boolean hasUpdates() { throw new RuntimeException("Stub!"); }
public  void setNotificationUri(android.content.ContentResolver cr, android.net.Uri uri) { throw new RuntimeException("Stub!"); }
public  boolean supportsUpdates() { throw new RuntimeException("Stub!"); }
public  boolean deleteRow() { throw new RuntimeException("Stub!"); }
public  void unregisterContentObserver(android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
public  void unregisterDataSetObserver(android.database.DataSetObserver observer) { throw new RuntimeException("Stub!"); }
public  boolean updateBlob(int columnIndex, byte[] value) { throw new RuntimeException("Stub!"); }
public  boolean updateDouble(int columnIndex, double value) { throw new RuntimeException("Stub!"); }
public  boolean updateFloat(int columnIndex, float value) { throw new RuntimeException("Stub!"); }
public  boolean updateInt(int columnIndex, int value) { throw new RuntimeException("Stub!"); }
public  boolean updateLong(int columnIndex, long value) { throw new RuntimeException("Stub!"); }
public  boolean updateShort(int columnIndex, short value) { throw new RuntimeException("Stub!"); }
public  boolean updateString(int columnIndex, java.lang.String value) { throw new RuntimeException("Stub!"); }
public  boolean updateToNull(int columnIndex) { throw new RuntimeException("Stub!"); }
public  void abortUpdates() { throw new RuntimeException("Stub!"); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy