Beispiel #1
0
  @Test
  public void testWarnWithExceptionNoArgs() {
    l.w(STRING_WITH_NO_ARGS, EXCEPTION);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_NO_ARGS, EXCEPTION);
  }
Beispiel #2
0
  @Test
  public void testWarnNoArgs() {
    l.w(STRING_WITH_NO_ARGS);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_NO_ARGS);
  }
Beispiel #3
0
  @Test
  public void testWarnWithExceptionWithArgs() {

    l.w(STRING_WITH_ARGS, EXCEPTION, ARGS);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_ARGS_FILLED_IN, EXCEPTION);
  }
Beispiel #4
0
 @Test
 public void testWarnWithException() {
   l.w(EXCEPTION);
   PowerMockito.verifyStatic();
   Log.w(TAG, EXCEPTION);
 }