org.callbackparams.ext
Interface CallbackControlPanel

All Known Subinterfaces:
CallbackControlPanel

public interface CallbackControlPanel

Exposes callback-record details for the current testrun. A test will reach a proper instance of this interface by referencing it as any other callback-interface, e.g. by having a field of this type annotated with @ParameterizedCallback:

 @ParameterizedCallback CallbackControlPanel controlPanel;
 

Author:
Henrik Kaipe

Method Summary
 List getCurrentCallbackRecord()
          Returns the current callback-record as a list.
 Map getLatestCallbackResults()
          Returns the result (callback-record elements & return values) of the most recent callback invocation as a map, where callback-record elements are keys and return-values are values.

For void-methods all the values will be null.
 

Method Detail

getCurrentCallbackRecord

List getCurrentCallbackRecord()
Returns the current callback-record as a list. - Changes to the list will be propagated to the callback-record. affecting the subsequent callback-invocations accordingly.


getLatestCallbackResults

Map getLatestCallbackResults()
Returns the result (callback-record elements & return values) of the most recent callback invocation as a map, where callback-record elements are keys and return-values are values.

For void-methods all the values will be null. Each primitive value will be represented by an instance of its wrapper class.



Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.