Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractSpringContextTests Members

AbstractSpringContextTests overview

Public Static (Shared) Methods

ClearContextCache Disposes any cached context instance and removes it from cache.

Public Instance Properties

RegisterContextWithContextRegistry Controls, whether application context instances will be registered/unregistered with the global ContextRegistry. Defaults to true.

Public Instance Methods

AddContext Caches application context.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

AbstractSpringContextTests Constructor Default constructor for AbstractSpringContextTests.

Protected Instance Fields

logger Logger available to subclasses.

Protected Instance Methods

ContextKeyString Converts context key to string.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetContext Returns cached context if present, or loads it if not.
HasCachedContext Returns true if context for the specified contextKey is cached.
LoadContext Loads application context based on user-defined key.
LoadContextLocations Loads application context from the specified resource locations.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
SetDirty Set custom locations dirty. This will cause them to be reloaded from the cache before the next test case is executed.

See Also

AbstractSpringContextTests Class | Spring.Testing.Microsoft Namespace