Click or drag to resize
FeedHelper Class
A set of helper methods to set up a feed manager with a bunch of feeds that each have a listener.
Inheritance Hierarchy
SystemObject
  Test.FrameworkFeedHelper

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class FeedHelper

The FeedHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddFeeds(ListMockIFeed, ListMockIListener, Int32)
Populates the IFeed and IListener lists with mocks for a mock IFeedManager.
Public methodStatic memberAddFeeds(ListMockIFeed, ListMockIBaseStationAircraftList, ListListIAircraft, Int32)
Populates the IFeed and IBaseStationAircraftList lists with mocks for a mock IFeedManager.
Public methodStatic memberAddMergedFeeds
Populates the IFeed and IListener lists with mocks for a mock IFeedManager.
Public methodStatic memberCreateMockFeedManager(ListMockIFeed, ListMockIListener, Boolean, Int32)
Creates a mock IFeedManager singleton with a functioning Feeds property and methods, and populates the IFeed and IListener lists with mocks.
Public methodStatic memberCreateMockFeedManager(ListMockIFeed, ListMockIBaseStationAircraftList, ListListIAircraft, Boolean, Int32)
Creates a mock IFeedManager singleton with a functioning Receivers property and methods, and populates the receiver pathway. and IBaseStationAircraftList lists with mocks.
Public methodStatic memberGetFeeds
Returns a list of IFeed objects from a list of mock IFeed objects.
Public methodStatic memberRemoveFeed(ListMockIFeed, ListMockIListener, Int32)
Removes IFeed and IListener mocks for a mock IFeedManager.
Public methodStatic memberRemoveFeed(ListMockIFeed, ListMockIBaseStationAircraftList, ListListIAircraft, Int32)
Removes IFeed and IBaseStationAircraftList mocks for a mock IFeedManager.
Public methodStatic memberSetupTakeSnapshot
A helper method to set up the IBaseStationAircraftList TakeSnaphot method for known values of out longs.
Top
See Also