Searched refs:testBadArgument (Results 1 – 2 of 2) sorted by relevance
26 public void testBadArgument() throws Exception { in testBadArgument() method in SdkExtensionsTest
1254 boolean testBadArgument = (surface == null); in trySetInputSurface()1256 mMediaRecorder.setInputSurface(testBadArgument ? new Surface() : surface); in trySetInputSurface()1260 assertTrue("threw unexpected exception: " + e, testBadArgument); in trySetInputSurface()1263 assertFalse("threw unexpected exception: " + e, testBadArgument); in trySetInputSurface()