Class SelfTestHelper
Helper to execute SelTest
Inherited Members
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public static class SelfTestHelper
Methods
GetAllTests()
Get instance of all ISelfTest registered with the IServiceProvider
Declaration
public static IEnumerable<ISelfTest> GetAllTests()
Returns
Type | Description |
---|---|
IEnumerable<ISelfTest> |
TestAll(out string[])
Execute all selftests
Declaration
public static bool TestAll(out string[] messages)
Parameters
Type | Name | Description |
---|---|---|
string[] | messages | List of messages that can be used for logging. |
Returns
Type | Description |
---|---|
bool | True if all tests passes. |