Пример #1
0
  @Test
  public void testDebugWithExceptionNoArgs() {
    l.d(STRING_WITH_NO_ARGS, EXCEPTION);

    PowerMockito.verifyStatic();
    Log.d(TAG, STRING_WITH_NO_ARGS, EXCEPTION);
  }
Пример #2
0
  @Test
  public void testDebugWithExceptionWithArgs() {

    l.d(STRING_WITH_ARGS, EXCEPTION, ARGS);

    PowerMockito.verifyStatic();
    Log.d(TAG, STRING_WITH_ARGS_FILLED_IN, EXCEPTION);
  }
Пример #3
0
  @Test
  public void testDebugWithArgs() {

    l.d(STRING_WITH_ARGS, ARGS);

    PowerMockito.verifyStatic();
    Log.d(TAG, STRING_WITH_ARGS_FILLED_IN);
  }
Пример #4
0
  @Test
  public void testDebugNoArgs() {

    l.d(STRING_WITH_NO_ARGS);

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