OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResetterInfo
(Results
1 - 3
of
3
) sorted by null
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/generator/
ShadowProviderGeneratorTest.java
18
import org.robolectric.annotation.processing.RobolectricModel.
ResetterInfo
;
39
List<
ResetterInfo
> resetterInfos = new ArrayList<>();
40
resetterInfos.add(
resetterInfo
("ShadowThing", 19, 20, "reset19To20"));
41
resetterInfos.add(
resetterInfo
("ShadowThing", -1, 18, "resetMax18"));
42
resetterInfos.add(
resetterInfo
("ShadowThing", 21, -1, "resetMin21"));
52
private
ResetterInfo
resetterInfo
(String shadowName, int minSdk, int maxSdk, String methodName) {
53
ResetterInfo
resetterInfo
= mock(
ResetterInfo
.class)
[
all
...]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
RobolectricModel.java
46
private final TreeMap<String,
ResetterInfo
> resetterMap;
57
TreeMap<String,
ResetterInfo
> resetterMap,
81
private final TreeMap<String,
ResetterInfo
> resetterMap = newTreeMap();
124
new
ResetterInfo
(shadowTypeElement, elem));
235
resetterMap.values().forEach(
resetterInfo
->
resetterInfo
.prepare(referentResolver));
260
public Collection<
ResetterInfo
> getResetters() {
450
public static class
ResetterInfo
{
456
ResetterInfo
(TypeElement shadowType, ExecutableElement executableElement) {
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
ShadowProviderGenerator.java
139
for (RobolectricModel.
ResetterInfo
resetterInfo
: model.getResetters()) {
140
int minSdk =
resetterInfo
.getMinSdk();
141
int maxSdk =
resetterInfo
.getMaxSdk();
153
writer.println(" " + ifClause +
resetterInfo
.getMethodCall());
Completed in 496 milliseconds