org.robolectric.shadows.ShadowResourceManager Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.app.ResourcesManager;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Resetter;
import org.robolectric.util.ReflectionHelpers;
@Implements(value = ResourcesManager.class, isInAndroidSdk = false)
public class ShadowResourceManager {
@Resetter
public static void reset() {
ReflectionHelpers.setStaticField(ResourcesManager.class, "sResourcesManager", null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy