Lines Matching refs:returnVal

170     String returnVal = null;  in testCatchException()  local
174 returnVal = (String) adapter.invoke("foo", 42, null); in testCatchException()
175 assertEquals("target", returnVal); in testCatchException()
176 returnVal = (String) adapter.invokeExact("foo", 42l, (String) null); in testCatchException()
177 assertEquals("target", returnVal); in testCatchException()
181 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
182 assertEquals("handler1", returnVal); in testCatchException()
183 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); in testCatchException()
184 assertEquals("handler1", returnVal); in testCatchException()
192 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
193 assertEquals("handler2", returnVal); in testCatchException()
194 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); in testCatchException()
195 assertEquals("handler2", returnVal); in testCatchException()
204 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
205 assertEquals("java.lang.IllegalArgumentException: exceptionMessage", returnVal); in testCatchException()
206 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage2"); in testCatchException()
207 assertEquals("java.lang.IllegalArgumentException: exceptionMessage2", returnVal); in testCatchException()
214 returnVal = (String) adapter.invokeExact("foo", 42, "exceptionMessage"); in testCatchException()
215 assertEquals("java.lang.IllegalArgumentException: exceptionMessage", returnVal); in testCatchException()
247 String returnVal = null; in testGuardWithTest() local
249 returnVal = (String) adapter.invoke("target", 42, 56); in testGuardWithTest()
250 assertEquals("target", returnVal); in testGuardWithTest()
251 returnVal = (String) adapter.invokeExact("target", 42l, 56); in testGuardWithTest()
252 assertEquals("target", returnVal); in testGuardWithTest()
254 returnVal = (String) adapter.invoke("fallback", 42l, 56); in testGuardWithTest()
255 assertEquals("fallback", returnVal); in testGuardWithTest()
256 returnVal = (String) adapter.invokeExact("target", 42l, 56); in testGuardWithTest()
257 assertEquals("target", returnVal); in testGuardWithTest()
262 returnVal = (String) adapter.invokeExact("target", 42, 56); in testGuardWithTest()
263 assertEquals("target", returnVal); in testGuardWithTest()