示例#1
0
文件: LTest.java 项目: ceesdaname/L
  @Test
  public void testWarnWithExceptionNoArgs() {
    l.w(STRING_WITH_NO_ARGS, EXCEPTION);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_NO_ARGS, EXCEPTION);
  }
示例#2
0
文件: LTest.java 项目: ceesdaname/L
  @Test
  public void testWarnNoArgs() {
    l.w(STRING_WITH_NO_ARGS);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_NO_ARGS);
  }
示例#3
0
文件: LTest.java 项目: ceesdaname/L
  @Test
  public void testWarnWithExceptionWithArgs() {

    l.w(STRING_WITH_ARGS, EXCEPTION, ARGS);

    PowerMockito.verifyStatic();
    Log.w(TAG, STRING_WITH_ARGS_FILLED_IN, EXCEPTION);
  }
示例#4
0
文件: LTest.java 项目: ceesdaname/L
 @Test
 public void testWarnWithException() {
   l.w(EXCEPTION);
   PowerMockito.verifyStatic();
   Log.w(TAG, EXCEPTION);
 }