Class
caplin.chart.testing

StreamLinkChartServiceStub

The class is still in Beta and is subject to API changes.
A stub service for the caplin.chart.service.StreamLinkChartService service.

Constructor Summary

Attributes Name and Description
caplin.chart.testing.StreamLinkChartServiceStub()

Method Summary

Attributes Name and Description
void discard( seriesRequest, listener)

void reset()

Allow tests to reinitialize the stub

void retrieve( seriesRequest, listener)

void setSeriesResponseData( subject, Array pData)

Allow tests to set the series test data.

Constructor Detail

caplin.chart.testing.StreamLinkChartServiceStub()

Method Detail

void discard( seriesRequest, listener)

Parameters
seriesRequest
listener
See
caplin.chart.service.StreamLinkChartService

void reset()

Allow tests to reinitialize the stub

void retrieve( seriesRequest, listener)

Parameters
seriesRequest
listener
See
caplin.chart.service.StreamLinkChartService

void setSeriesResponseData( subject, Array pData)

Allow tests to set the series test data.

Parameters
subject
Array pData The series data