|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
This is a test class for ReporterTest and is intended to contain all ReporterTest Unit Tests /summary> More...
Public Member Functions | |
| void | MyTestInitialize () |
| void | DefaultReportStringConsoleTest () |
| A test for DefaultReportStringConsole /summary> More... | |
| void | DefaultReportStringConsoleBasTest () |
| A test for DefaultReportStringConsoleBas /summary> More... | |
| void | DefaultReportStringConsoleTimeStampTest () |
| A test for DefaultReportStringConsoleTimeStamp /summary> More... | |
| void | DefaultReportStringMessageBoxTest () |
| A test for DefaultReportStringMessageBox /summary> More... | |
| void | DefaultReserveReportMessageTest () |
| A test for DefaultReserveReportMessage /summary> More... | |
| void | DefaultReserveReportMessageTest1 () |
| Another test for DefaultReserveReportMessage checking also what happens if reporter throws test exception /summary> More... | |
| void | ReportTest () |
| A test for Report /summary> More... | |
| void | ReportErrorTest () |
| A test for ReportError /summary> More... | |
| void | ReportInfoTest () |
| A test for ReportInfo /summary> More... | |
| void | ReportWarningTest () |
| A test for ReportWarning /summary> More... | |
| void | ReviseExceptionTest () |
| A test for ReviseException /summary> More... | |
Static Public Member Functions | |
| static void | MyClassInitialize (TestContext testContext) |
Properties | |
| TestContext | TestContext [get, set] |
| Gets or sets the test context which provides information about and functionality for the current test run. /summary> More... | |
Private Member Functions | |
| string | checkExceptionMsg (string actualString, Exception ex) |
| string | checkReport (string errorlocation, string errormessage, Exception exc, string reportedString, ReporterConsoleMsgbox reporter) |
| string | checkExceptions (ApplicationException ex, Exception actualException, string messageaddition, Type newtype, bool sametype, bool keepmessage, bool oldasinner) |
Static Private Member Functions | |
| static string | checkActualString (ReportType messagetype, string errorlocation, string errormessage, string actualString) |
| static void | setReporter (ReporterConsoleMsgbox reporter, ReportType messagetype, bool useWriter) |
Private Attributes | |
| TestContext | testContextInstance |
Static Private Attributes | |
| static string | path |
| static StreamReader | sr |
| static Random | random |
| static int | numReportTypes |
| static int | numFirstRepType |
| static string | message |
| static string | actualString |
| static ReportType | messagetype |
| static string | errorlocation |
| static string | errormessage |
| static bool | expected |
| static bool | actual |
| static int | numStartedTests |
This is a test class for ReporterTest and is intended to contain all ReporterTest Unit Tests /summary>
|
inlinestatic |
|
inline |
|
inline |
A test for DefaultReportStringConsole /summary>
References UnitTests_ReporterMsg.ReporterTest.checkActualString(), and UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inlinestaticprivate |
References UnitTests_ReporterMsg.ReporterTest.message.
Referenced by UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleBasTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleTimeStampTest(), and UnitTests_ReporterMsg.ReporterTest.DefaultReportStringMessageBoxTest().
|
inline |
A test for DefaultReportStringConsoleBas /summary>
References UnitTests_ReporterMsg.ReporterTest.checkActualString(), and UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inline |
A test for DefaultReportStringConsoleTimeStamp /summary>
References UnitTests_ReporterMsg.ReporterTest.checkActualString(), and UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inline |
A test for DefaultReportStringMessageBox /summary>
References UnitTests_ReporterMsg.ReporterTest.checkActualString(), and UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inline |
A test for DefaultReserveReportMessage /summary>
References UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inline |
Another test for DefaultReserveReportMessage checking also what happens if reporter throws test exception /summary>
References UnitTests_ReporterMsg.ReporterTest.numReportTypes.
|
inline |
A test for Report /summary>
References UnitTests_ReporterMsg.ReporterTest.checkReport(), UnitTests_ReporterMsg.ReporterTest.numReportTypes, and UnitTests_ReporterMsg.ReporterTest.setReporter().
|
inlineprivate |
References UnitTests_ReporterMsg.ReporterTest.message.
|
inlineprivate |
|
inlinestaticprivate |
|
inline |
A test for ReportError /summary>
References UnitTests_ReporterMsg.ReporterTest.checkReport(), and UnitTests_ReporterMsg.ReporterTest.setReporter().
|
inline |
A test for ReportInfo /summary>
References UnitTests_ReporterMsg.ReporterTest.checkReport(), and UnitTests_ReporterMsg.ReporterTest.setReporter().
|
inline |
A test for ReportWarning /summary>
References UnitTests_ReporterMsg.ReporterTest.checkReport(), and UnitTests_ReporterMsg.ReporterTest.setReporter().
|
inline |
A test for ReviseException /summary>
References UnitTests_ReporterMsg.ReporterTest.checkExceptions().
|
inlineprivate |
References UnitTests_ReporterMsg.ReporterTest.message.
Referenced by UnitTests_ReporterMsg.ReporterTest.ReviseExceptionTest().
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Referenced by UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleBasTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReportStringConsoleTimeStampTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReportStringMessageBoxTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReserveReportMessageTest(), UnitTests_ReporterMsg.ReporterTest.DefaultReserveReportMessageTest1(), and UnitTests_ReporterMsg.ReporterTest.ReportTest().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
getset |
Gets or sets the test context which provides information about and functionality for the current test run. /summary>