void function ( ) { RuntimeException loc0 = new RuntimeException ( TEST_ERROR_MESSAGE ) ; try { mCache . run ( "srini_string" , new ThrowingCallable ( loc0 ) ) ; Assert . fail ( "srini_string" ) ; } catch ( RuntimeException loc1 ) { Assert . assertSame ( loc0 , loc1 ) ; } }
tests for replaycallable s that runtimeexception s are correctly propagated . concode_field_sep String TEST_ERROR_MESSAGE concode_elem_sep long mCount concode_elem_sep Exception mException concode_elem_sep Long TEST_MAX_SIZE concode_elem_sep ReplayCache<Long> mCache concode_elem_sep Long TEST_TIMEOUT_MS concode_field_sep Long call concode_elem_sep Long call concode_elem_sep Long call concode_elem_sep Long call concode_elem_sep void testTimeEviction concode_elem_sep void testSizeEviction concode_elem_sep void before concode_elem_sep void testAlluxioExceptionRethrow2 concode_elem_sep void testAlluxioExceptionRethrow1 concode_elem_sep void testCaching2 concode_elem_sep void testRuntimeExceptionPropagated2 concode_elem_sep void testCaching1 concode_elem_sep void testIOExceptionRethrow