Lines Matching refs:throwable
29 Throwable throwable = new Throwable();
31 Log.d("tag", "msg", throwable);
33 assertLogged(Log.DEBUG, "tag", "msg", throwable);
45 Throwable throwable = new Throwable();
47 Log.e("tag", "msg", throwable);
49 assertLogged(Log.ERROR, "tag", "msg", throwable);
61 Throwable throwable = new Throwable();
63 Log.i("tag", "msg", throwable);
65 assertLogged(Log.INFO, "tag", "msg", throwable);
77 Throwable throwable = new Throwable();
79 Log.v("tag", "msg", throwable);
81 assertLogged(Log.VERBOSE, "tag", "msg", throwable);
93 Throwable throwable = new Throwable();
95 Log.w("tag", "msg", throwable);
97 assertLogged(Log.WARN, "tag", "msg", throwable);
102 Throwable throwable = new Throwable();
103 Log.w("tag", throwable);
104 assertLogged(Log.WARN, "tag", null, throwable);
116 Throwable throwable = new Throwable();
118 Log.wtf("tag", "msg", throwable);
120 assertLogged(Log.ASSERT, "tag", "msg", throwable);
166 private void assertLogged(int type, String tag, String msg, Throwable throwable) {
171 assertEquals(throwable, lastLog.throwable);