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

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

package org.robolectric.shadows;

import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

@Implements(className = "android.webkit.WebSyncManager")
public class ShadowWebSyncManager {
  protected boolean synced = false;

  @Implementation
  protected void sync() {
    synced = true;
  }

  public boolean synced() {
    return synced;
  }

  public void reset() {
    synced = false;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy