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

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

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

    l.wtf(STRING_WITH_ARGS, EXCEPTION, ARGS);

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

    l.wtf(STRING_WITH_ARGS, ARGS);

    PowerMockito.verifyStatic();
    Log.wtf(TAG, STRING_WITH_ARGS_FILLED_IN);
  }
Beispiel #5
0
 @Test
 public void testWTFWithException() {
   l.wtf(EXCEPTION);
   PowerMockito.verifyStatic();
   Log.wtf(TAG, EXCEPTION);
 }