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

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

    l.d(STRING_WITH_ARGS, EXCEPTION, ARGS);

    PowerMockito.verifyStatic();
    Log.d(TAG, STRING_WITH_ARGS_FILLED_IN, EXCEPTION);
  }
Beispiel #3
0
  @Test
  public void testDebugWithArgs() {

    l.d(STRING_WITH_ARGS, ARGS);

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

    l.d(STRING_WITH_NO_ARGS);

    PowerMockito.verifyStatic();
    Log.d(TAG, STRING_WITH_NO_ARGS);
  }