Methods
add Named Value Map(name, values, meta)
This method enables a FixtureFactory to register a set of data update identifiers and corresponding maps of mock field data with this DataSubscriptionFixture. Tests using the fixture to send mock data updates are able to refer to update data using property value 'Subject_name|Data_update_identifier'.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | the data update identifier. |
values |
Map | the update data map from field names to field values. |
meta |
Map | data for the field update |
can Handle Property(property Name)
DataSubscriptionFixture can handle the properties 'dataUpdateReceived', 'dataStatusChanged', 'subjectRequested', 'subjectNotRequested', 'multipleUpdatesReceived' and 'dataErrorReceived'.
Parameters:
Name | Type | Description |
---|---|---|
propertyName |
String | The property to check. |
do Given()
- Implements:
- See:
do Then()
- Implements:
- See:
do When()
- Implements:
- See:
tear Down()
This method is called just after a GWT test. This optional interface method can be implemented if the fixture is required to correctly tear down the system-under-test after each test or to reset any state held in the fixture's implementation.
- Implements: