NUnit2Task.

GetListener(LogWriter) Method

Summary

Gets a new EventListener to use for the unit tests.
Assembly
NAnt.NUnit2.dll
Namespace
NAnt.NUnit2.Tasks
Containing Type
NUnit2Task

Syntax

protected virtual EventListener GetListener(LogWriter logWriter)

Parameters

Name Type Description
logWriter LogWriter Log writer to send test output to.

Return Value

Type Description
EventListener A new EventListener created with a new EventCollector that is initialized with logWriter.