Click or drag to resize

KubeServiceFixtureTService Class

Fixture for testing a KubeService.
Inheritance Hierarchy
SystemObject
  Neon.XunitTestFixture
    Neon.XunitKubeServiceFixtureTService

Namespace:  Neon.Xunit
Assembly:  Neon.Xunit (in Neon.Xunit.dll) Version: 2.1.0
Syntax
public class KubeServiceFixture<TService> : TestFixture
where TService : KubeService

Type Parameters

TService

[Missing <typeparam name="TService"/> documentation for "T:Neon.Xunit.KubeServiceFixture`1"]

The KubeServiceFixtureTService type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyInAction
Returns true if the Start(Action) method is running.
(Inherited from TestFixture.)
Protected propertyIsDisposed
Returns true if the instance has been disposed.
(Inherited from TestFixture.)
Public propertyIsRunning
Returns true if the fixture has been initialized.
(Inherited from TestFixture.)
Public propertyService
Returns the service instance.
Public propertyState
Used by unit test classes to persist arbitrary name/value information across individual unit tests.
(Inherited from TestFixture.)
Top
Methods
  NameDescription
Protected methodCheckDisposed
Verifies that the fixture instance has not been disposed.
(Inherited from TestFixture.)
Protected methodCheckWithinAction
Verifies that the fixture instance's Start(Action) method is executing.
(Inherited from TestFixture.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from TestFixture.)
Protected methodDispose(Boolean)
Releases all associated resources.
(Overrides TestFixtureDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides TestFixtureFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHttpClient
Returns a HttpClient instance configured to communicate with the service via the named HTTP/HTTPS endpoint.
Public methodGetJsonClient
Returns a JsonClient instance configured to communicate with the service via the named HTTP/HTTPS endpoint.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnRestart

Called when an already started fixture is being restarted. This provides the fixture an opportunity to do some custom initialization. This base method does nothing.

Note Note
This method is intended only for use by test fixture implementations. Unit tests or test fixtures should never call this directly.
(Inherited from TestFixture.)
Public methodReset
INTERNAL USE ONLY: Resets the fixture state.
(Overrides TestFixtureReset.)
Public methodRestart
Restarts the service.
Public methodStart(Action) (Overrides TestFixtureStart(Action).)
Public methodStart(FuncTService, TimeSpan)
Starts the fixture including a TService service instance if the fixture is not already running.
Public methodStartAsComposed
Used to start the fixture within a ComposedFixture.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also