Home
last modified time | relevance | path

Searched refs:ShadowLog (Results 1 – 11 of 11) 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/libchrome/base/android/junit/src/org/chromium/base/
DLogTest.java14 import org.robolectric.shadows.ShadowLog;
29 List<ShadowLog.LogItem> logs = ShadowLog.getLogs(); in callOriginTest()
61 List<ShadowLog.LogItem> logs; in exceptionLoggingTest()
65 logs = ShadowLog.getLogs(); in exceptionLoggingTest()
71 logs = ShadowLog.getLogs(); in exceptionLoggingTest()
77 logs = ShadowLog.getLogs(); in exceptionLoggingTest()
83 logs = ShadowLog.getLogs(); in exceptionLoggingTest()
/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/webrtc/examples/androidjunit/src/org/appspot/apprtc/
DDirectRTCClientTest.java28 import org.robolectric.shadows.ShadowLog;
56 ShadowLog.stream = System.out; in setUp()
DTCPChannelClientTest.java26 import org.robolectric.shadows.ShadowLog;
57 ShadowLog.stream = System.out; in setUp()
DBluetoothManagerTest.java41 import org.robolectric.shadows.ShadowLog;
67 ShadowLog.stream = System.out; in setUp()
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/offline/
DDownloadManagerDashTest.java58 import org.robolectric.shadows.ShadowLog;
79 ShadowLog.stream = System.out; in setUp()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java59 import org.robolectric.shadows.ShadowLog;
97 ShadowLog.setupLogging(); in setUpApplicationState()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadManagerTest.java47 import org.robolectric.shadows.ShadowLog;
80 ShadowLog.stream = System.out; in setUp()