FB_ExtendedTestInformation Function Block
Extends TcUnit.FB_TestSuite
This test suite makes sure to create different variants of tests that will produce various extended logs, i.e. the ADS-logs that provide information on how many tests have finished/are successful within the test suites. This test suite needs to be instantiated as the second test suite in the order in order to get the ID=1 as identity.
Methods
Test_ExtendedTestInformation_BOOL_AssertFailed
PRIVATE
Implementation
TEST('Test_ExtendedTestInformation_BOOL_AssertFailed');
AssertEquals_BOOL(Expected := a,
Actual := b,
Message := 'Extendedinformation values differ BOOL failure');
TEST_FINISHED();
Test_ExtendedTestInformation_BOOL_AssertSuccess
PRIVATE
Implementation
TEST('Test_ExtendedTestInformation_BOOL_AssertSuccess');
AssertEquals_BOOL(Expected := a,
Actual := b,
Message := 'Extendedinformation values differ BOOL success');
TEST_FINISHED();
Test_ExtendedTestInformation_BYTE_TwoFailedAsserts
PRIVATE
Implementation
TEST('Test_ExtendedTestInformation_BYTE_TwoFailedAsserts');
AssertEquals_BYTE(Expected := a,
Actual := b,
Message := 'Extendedinformation values differ BYTE1');
AssertEquals_BYTE(Expected := c,
Actual := d,
Message := 'Extendedinformation values differ BYTE2');
TEST_FINISHED();
Test_ExtendedTestInformation_LINT_AssertFailed
PRIVATE
Implementation
TEST('Test_ExtendedTestInformation_LINT_AssertFailed');
AssertEquals_LINT(Expected := a,
Actual := b,
Message := 'Extendedinformation values differ LINT failure');
TEST_FINISHED();
Test_ExtendedTestInformation_LINT_AssertSuccess
PRIVATE
Implementation
TEST('Test_ExtendedTestInformation_LINT_AssertSuccess');
AssertEquals_LINT(Expected := a,
Actual := b,
Message := 'Extendedinformation values differ LINT success');
TEST_FINISHED();
Used by
Declaration source
(* This test suite makes sure to create different variants of tests that will produce various extended logs, i.e. the
ADS-logs that provide information on how many tests have finished/are successful within the test suites.
This test suite needs to be instantiated as the second test suite in the order in order to get the ID=1 as identity. *)
FUNCTION_BLOCK FB_ExtendedTestInformation EXTENDS TcUnit.FB_TestSuite