Functions in the Managed Fake Server Library
Other versions of this page are also available for the following:
- Windows Embedded CE 6.0 R3
8/27/2008
Microsoft.MobileDevices.FakeServer.dll is a managed dll that acts as a wrapper for FakeServer.dll. Its functionality can be broken down into the following areas:
- Imports the methods that are exported by FakeServer.dll to control the fake server (like init, start, stop, etc) and exposes them as static methods of FakeServer class
- Provides a managed class, FakeResponse, that represents a response that tests can send back using the FakeServer.
- Test applications using this library can register their own callback function using the FakeServerRequestCallback delegate. This function will be called every time the server receives a request. This can be used to test applications that need to read the request arriving at the server before deciding what response to send.
- The library exposes a ResponseQueue. This queue can be used by tests if they know the requests that the server is going to receive from the application being tested.
- The library also exposes a DefaultResponses list. This is a rolling list that is used when the ResponseQueue is empty.
In This Section
- Functions and Properties in Class FakeServer
Describes the functions and properties found in this class
- Functions and Properties in Class FakeResponse
Describes the functions and properties found in this class
- Functions in Class FakeResponseQueue
Describes the functions found in this class
- Functions in Class FakeResponseCollection
Describes the functions found in this class