
com.xtremelabs.robolectric.annotation.WithConstantInt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robolectric Show documentation
Show all versions of robolectric Show documentation
An alternative Android testing framework.
The newest version!
package com.xtremelabs.robolectric.annotation;
/**
* Annotation to run test with setFinalStaticField() defined in a synchronized
* block with automatic reversion to the original value.
*/
@java.lang.annotation.Documented
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE,java.lang.annotation.ElementType.METHOD})
public @interface WithConstantInt {
@SuppressWarnings("rawtypes")
Class classWithField();
String fieldName();
int newValue();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy