org.robolectric.shadows.ShadowAbstractCursor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-framework Show documentation
Show all versions of shadows-framework Show documentation
An alternative Android testing framework.
package org.robolectric.shadows;
import android.database.AbstractCursor;
import android.net.Uri;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.RealObject;
import org.robolectric.util.ReflectionHelpers;
@Implements(AbstractCursor.class)
public class ShadowAbstractCursor {
@RealObject
private AbstractCursor realAbstractCursor;
/**
* Returns the Uri set by {@code setNotificationUri()}.
*
* @return Notification URI.
*/
public Uri getNotificationUri_Compatibility() {
return ReflectionHelpers.getField(realAbstractCursor, "mNotifyUri");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy