Java 类com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter 实例源码

项目:guava-mock    文件:UncaughtExceptionHandlersTest.java   
public void testExiter() {
  new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
  verify(runtimeMock).exit(1);
}
项目:googles-monorepo-demo    文件:UncaughtExceptionHandlersTest.java   
public void testExiter() {
  new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
  verify(runtimeMock).exit(1);
}
项目:guava-libraries    文件:UncaughtExceptionHandlersTest.java   
public void testExiter() {
  runtimeMock.exit(1);
  replay(runtimeMock);
  new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
  verify(runtimeMock);
}
项目:guava    文件:UncaughtExceptionHandlersTest.java   
public void testExiter() {
  new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
  verify(runtimeMock).exit(1);
}
项目:guava    文件:UncaughtExceptionHandlersTest.java   
public void testExiter() {
  new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
  verify(runtimeMock).exit(1);
}