/** * @return Whether logging is enabled for this library. The default value is {@code true}. */ public static boolean isLogcatEnabled() { return JobCat.isLogcatEnabled(); }
@Test public void testIsLogcatEnabled() { // first test in class, so resetValue() hasn't been called, yet assertThat(mResetValueCalled).isFalse(); assertThat(JobCat.isLogcatEnabled()).isTrue(); JobCat.setLogcatEnabled(false); assertThat(JobCat.isLogcatEnabled()).isFalse(); }
/** * @return Whether logging is enabled for this library. The default value is {@code true}. */ public static boolean isLogcatEnabled() { return JobCat.isLogcatEnabled(); }