FB_CreateFourTestsWithSameName Function Block
Extends TcUnit.FB_TestSuite
This testsuite creates four tests in the same testsuite with the same name. Every test in a testsuite should have an unique name. Every assert should be ignored if a duplicate test is being run.
Methods
TestOne
PRIVATE
Implementation
TEST('TestOne');
AssertEquals_INT(Expected := a,
Actual := b,
Message := 'A does not equal B');
TEST_FINISHED();
TestOne_Again
PRIVATE
Implementation
TEST('TestOne');
AssertEquals_INT(Expected := a,
Actual := b,
Message := 'A does not equal B again');
TEST_FINISHED();
TestOne_AgainAgain
PRIVATE
Implementation
TEST('TestOne');
AssertEquals_INT(Expected := a,
Actual := b,
Message := 'A does not equal B again');
TEST_FINISHED();
TestOne_AgainAgainAgain
PRIVATE
Implementation
TEST('TestOne');
AssertEquals_INT(Expected := a,
Actual := b,
Message := 'A does not equal B again');
TEST_FINISHED();
Used by
Declaration source
(*
This testsuite creates four tests in the same testsuite with the same name. Every test in a testsuite should have
an unique name. Every assert should be ignored if a duplicate test is being run.
*)
FUNCTION_BLOCK FB_CreateFourTestsWithSameName EXTENDS TcUnit.FB_TestSuite