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

org.robolectric.shadows.ShadowAbstractCursor Maven / Gradle / Ivy

There is a newer version: 4.14
Show newest version
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