Tests for implementations of IHostnameResolver
and their interactions with reactor implementations.
| Class | DeterministicThreadPool | Create a deterministic ThreadPoolobject. | 
| Function | deterministicPool | Create a deterministic threadpool. | 
| Function | deterministicReactorThreads | Create a deterministic IReactorThreads | 
| Class | FakeAddrInfoGetter | Test object implementing getaddrinfo. | 
| Class | ResultHolder | A resolution receiver which holds onto the results it received. | 
| Class | HelperTests | Tests for error cases of helpers used in this module. | 
| Class | HostnameResolutionTests | Tests for hostname resolution. | 
| Class | SillyResolverSimple | Trivial implementation of IResolverSimple | 
| Class | LegacyCompatibilityTests | Older applications may supply an object to the reactor via installResolverthat only providesIResolverSimple.SimpleResolverComplexifieris a wrapper for anIResolverSimple. | 
| Class | JustEnoughReactor | Just enough subclass implementation to be a valid ReactorBasesubclass. | 
| Class | ReactorInstallationTests | Tests for installing old and new resolvers onto a PluggableResolverMixinandReactorBase(from which all of Twisted's reactor implementations derive). | 
Create a deterministic threadpool.
| Returns | 2-tuple of ThreadPool,
0-argumentworkcallable; whenworkis called, do
the work. | |
Create a deterministic IReactorThreads
| Returns | a 2-tuple consisting of an IReactorThreads-like
object and a 0-argument callable that will perform one unit of work invoked
via that object'scallFromThreadmethod. | |