C# Class GoogleTestAdapter.GoogleTestDiscoverer

Mostrar archivo Open project: csoltenborn/GoogleTestAdapter Class Usage Examples

Public Methods

Method Description
DiscoverTests ( IEnumerable executables, ITestFrameworkReporter reporter ) : void
GetTestsFromExecutable ( string executable ) : IList
GoogleTestDiscoverer ( TestEnvironment testEnvironment, IDiaResolverFactory diaResolverFactory = null ) : System
IsGoogleTestExecutable ( string executable, string customRegex = "" ) : bool

Private Methods

Method Description
GetAllGoogleTestExecutables ( IEnumerable allExecutables ) : IList
SafeMatches ( string executable, string regex ) : bool

Method Details

DiscoverTests() public method

public DiscoverTests ( IEnumerable executables, ITestFrameworkReporter reporter ) : void
executables IEnumerable
reporter ITestFrameworkReporter
return void

GetTestsFromExecutable() public method

public GetTestsFromExecutable ( string executable ) : IList
executable string
return IList

GoogleTestDiscoverer() public method

public GoogleTestDiscoverer ( TestEnvironment testEnvironment, IDiaResolverFactory diaResolverFactory = null ) : System
testEnvironment GoogleTestAdapter.Helpers.TestEnvironment
diaResolverFactory IDiaResolverFactory
return System

IsGoogleTestExecutable() public method

public IsGoogleTestExecutable ( string executable, string customRegex = "" ) : bool
executable string
customRegex string
return bool