Definition at line 18 of file LogTest.java.
◆ canGetStacktraceString()
void io.flutter.LogTest.canGetStacktraceString |
( |
| ) |
|
|
inline |
Definition at line 21 of file LogTest.java.
21 {
22 Exception exception = new Exception();
23 String str =
Log.getStackTraceString(exception);
24
25 StringWriter stringWriter = new StringWriter();
26 PrintWriter printWriter = new PrintWriter(stringWriter);
27 exception.printStackTrace(printWriter);
28 String expectStr = stringWriter.toString();
29
30 assertEquals(str, expectStr);
31 }
void Log(const char *format,...) SK_PRINTF_LIKE(1
The documentation for this class was generated from the following file: