Searched refs:shouldThrow (Results 1 – 1 of 1) sorted by relevance
546 private Surface tryGetSurface(boolean shouldThrow) throws Exception { in tryGetSurface() argument550 assertFalse("failed to throw IllegalStateException", shouldThrow); in tryGetSurface()552 assertTrue("threw unexpected exception: " + e, shouldThrow); in tryGetSurface()