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