Home
last modified time | relevance | path

Searched refs:ShadowLog (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java18 import org.robolectric.shadows.ShadowLog.LogItem;
128 ShadowLog.setWtfIsFatal(true); in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure()
134 } catch (ShadowLog.TerribleFailure e) { in wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure()
171 PrintStream old = ShadowLog.stream; in shouldLogToProvidedStream()
173 ShadowLog.stream = new PrintStream(bos); in shouldLogToProvidedStream()
181 ShadowLog.stream = old; in shouldLogToProvidedStream()
187 ShadowLog.reset(); in shouldLogAccordingToTag()
195 List<LogItem> allItems = ShadowLog.getLogs(); in shouldLogAccordingToTag()
208 List<LogItem> tag1Items = ShadowLog.getLogsForTag(tag); in assertUniformLogsForTag()
221 PrintStream old = ShadowLog.stream; in infoIsDefaultLoggableLevel()
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/junit/rules/
DExpectedLogMessagesRule.java11 import org.robolectric.shadows.ShadowLog;
12 import org.robolectric.shadows.ShadowLog.LogItem;
36 List<LogItem> logs = ShadowLog.getLogs(); in apply()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageParser.java16 import org.robolectric.shadows.ShadowLog.LogItem;
52 List<LogItem> logItems = ShadowLog.getLogsForTag("PackageParser"); in callParsePackage()
DShadowLog.java19 public class ShadowLog { class
233 ShadowLog.stream = stream; in setupLogging()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java59 import org.robolectric.shadows.ShadowLog;
97 ShadowLog.setupLogging(); in setUpApplicationState()