Here are the examples of the csharp api NUnit.Util.TestLoader.RemoveWatcher() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : TestLoader.cs
with MIT License
from roozbehid
with MIT License
from roozbehid
public void UnloadTest( )
{
if( IsTestLoaded )
{
// Hold the name for notifications after unload
string fileName = TestFileName;
try
{
events.FireTestUnloading( fileName );
RemoveWatcher();
testRunner.Unload();
testRunner = null;
loadedTest = null;
loadedTestName = null;
testResult = null;
reloadPending = false;
events.FireTestUnloaded( fileName );
}
catch( Exception exception )
{
lastException = exception;
events.FireTestUnloadFailed( fileName, exception );
}
}
}