Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractSpringContextTests.SetDirty(Object) Method

Set context with contextKey dirty. This will cause it to be reloaded from the cache before the next test case is executed.

[Visual Basic]
Protected Overloads Sub SetDirty( _
   ByVal contextKey As Object _
)
[C#]
protected void SetDirty(
   object contextKey
);

Parameters

contextKey
Locations

Remarks

Call this method only if you change the state of a singleton object, potentially affecting future tests.

See Also

AbstractSpringContextTests Class | Spring.Testing.NUnit Namespace | AbstractSpringContextTests.SetDirty Overload List