Package org.robolectric.shadows
Class ShadowEventLog
java.lang.Object
org.robolectric.shadows.ShadowEventLog
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddEvent(EventLog.Event event) Add event toEventLog.static voidclearAll()protected static voidreadEvents(int[] tags, Collection<EventLog.Event> output) protected static intwriteEvent(int tag, float value) Writes an event log message, returning an approximation of the bytes written.protected static intwriteEvent(int tag, int value) Writes an event log message, returning an approximation of the bytes written.protected static intwriteEvent(int tag, long value) Writes an event log message, returning an approximation of the bytes written.protected static intwriteEvent(int tag, Object... list) Writes an event log message, returning an approximation of the bytes written.protected static intwriteEvent(int tag, String str) Writes an event log message, returning an approximation of the bytes written.
-
Constructor Details
-
ShadowEventLog
public ShadowEventLog()
-
-
Method Details
-
addEvent
Add event toEventLog. -
clearAll
-
writeEvent
Writes an event log message, returning an approximation of the bytes written. -
writeEvent
Writes an event log message, returning an approximation of the bytes written. -
writeEvent
Writes an event log message, returning an approximation of the bytes written. -
writeEvent
Writes an event log message, returning an approximation of the bytes written. -
writeEvent
Writes an event log message, returning an approximation of the bytes written. -
readEvents
-