375376377378379380381382383384385
ComponentEventCallback handler = null; fv.validate(value); expect(resources.triggerEvent(eq(EventConstants.VALIDATE), EasyMock.aryEq(new Object[] {value}), eq(handler))).andThrow(re); replay();
7071727374757677787980
submit.processSubmission("xyz", elementName); verify(); expect(resources.triggerEvent(EventConstants.SELECTED, null, null)).andReturn(false); replay(); support.executeDeferred();
104105106107108109110111112113114
submit.processSubmission("xyz", elementName); verify(); expect(resources.triggerEvent(EventConstants.SELECTED, null, null)).andReturn(false); replay(); heartbeat.end();
6263646566676869707172
submit.processSubmission(elementName); verify(); expect(resources.triggerEvent(Submit.SELECTED_EVENT, null, null)).andReturn(false); replay(); support.executeDeferred();
96979899100101102103104105106
submit.processSubmission(elementName); verify(); expect(resources.triggerEvent(Submit.SELECTED_EVENT, null, null)).andReturn(false); replay(); heartbeat.end();
6364656667686970717273
submit.processSubmission(elementName); verify(); expect(resources.triggerEvent(EventConstants.SELECTED, null, null)).andReturn(false); replay(); support.executeDeferred();
979899100101102103104105106107
submit.processSubmission(elementName); verify(); expect(resources.triggerEvent(EventConstants.SELECTED, null, null)).andReturn(false); replay(); heartbeat.end();
239240241242243244245246247248249
} }; ComponentPageElement rootElement = page.getRootElement(); rootElement.triggerEvent(EventConstants.PASSIVATE, null, callback); return toContextStrings(context.toArray()); } private String[] toContextStrings(Object[] context)
919293949596979899100101
return true; } }; element.triggerEvent(EventConstants.PASSIVATE, null, callback); if (!holder.hasValue()) return EMPTY; return holder.get(); }
8182838485868788899091
train_get(pageCache, pageName, page); train_getRootElement(page, element); expect(element.triggerEvent(EasyMock.eq(EventConstants.PASSIVATE), (Object[]) EasyMock.isNull(), EasyMock.isA(ComponentEventCallback.class))).andReturn(false); replay();