FileDocCategorySizeDatePackage
MockCursor.javaAPI DocAndroid 5.1 API6401Thu Mar 12 22:22:42 GMT 2015android.test.mock

MockCursor

public class MockCursor extends Object implements android.database.Cursor

A mock {@link android.database.Cursor} class that isolates the test code from real Cursor implementation.

All methods including ones related to querying the state of the cursor are are non-functional and throw {@link java.lang.UnsupportedOperationException}.

Fields Summary
Constructors Summary
Methods Summary
public voidclose()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidcopyStringToBuffer(int columnIndex, android.database.CharArrayBuffer buffer)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voiddeactivate()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public byte[]getBlob(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetColumnCount()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetColumnIndex(java.lang.String columnName)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetColumnIndexOrThrow(java.lang.String columnName)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public java.lang.StringgetColumnName(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public java.lang.String[]getColumnNames()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetCount()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public doublegetDouble(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.BundlegetExtras()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public floatgetFloat(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetInt(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public longgetLong(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.net.UrigetNotificationUri()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetPosition()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public shortgetShort(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public java.lang.StringgetString(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intgetType(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleangetWantsAllOnMoveCalls()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisAfterLast()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisBeforeFirst()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisClosed()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisFirst()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisLast()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanisNull(int columnIndex)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmove(int offset)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmoveToFirst()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmoveToLast()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmoveToNext()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmoveToPosition(int position)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanmoveToPrevious()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidregisterContentObserver(android.database.ContentObserver observer)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidregisterDataSetObserver(android.database.DataSetObserver observer)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public booleanrequery()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.Bundlerespond(android.os.Bundle extras)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidsetNotificationUri(android.content.ContentResolver cr, android.net.Uri uri)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidunregisterContentObserver(android.database.ContentObserver observer)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public voidunregisterDataSetObserver(android.database.DataSetObserver observer)

        throw new UnsupportedOperationException("unimplemented mock method");