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

org.robolectric.annotation.SQLiteMode Maven / Gradle / Ivy

There is a newer version: 4.13
Show newest version
package org.robolectric.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * A {@link org.robolectric.pluginapi.config.Configurer} annotation for controlling which SQLite
 * shadow implementation is used for the {@link android.database} package.
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PACKAGE, ElementType.TYPE, ElementType.METHOD})
public @interface SQLiteMode {

  /** Specifies the different supported SQLite modes. */
  enum Mode {
    /** Use the legacy SQLite implementation backed by sqlite4java. */
    LEGACY,
    /** Use the new SQLite implementation backed by native Android code from AOSP. */
    NATIVE,
  }

  Mode value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy