protected boolean isPromptPending() { return runtimeContext.isPromptPending(); }
@Test public void testPromptNow() throws Exception { runtimeCtx.setPromptStatus( IRuntimeContext.PROMPT_NO ); Assert.assertFalse( runtimeCtx.isPromptPending() ); runtimeCtx.promptNow(); Assert.assertTrue( runtimeCtx.isPromptPending() ); }
@Test public void testPromptNeeded() throws Exception { runtimeCtx.setPromptStatus( IRuntimeContext.PROMPT_NO ); Assert.assertFalse( runtimeCtx.isPromptPending() ); runtimeCtx.promptNeeded(); Assert.assertTrue( runtimeCtx.isPromptPending() ); }
if ( ( result == IRuntimeContext.RUNTIME_STATUS_SUCCESS ) && runtimeContext.isPromptPending() ) {