TcUnitVerifier

30 objects — 28 function blocks  1 function  1 GVL 


Function Blocks

NameDescription
FB FB_ProtectedVariables Contains different types of "protected" variables that you could not normally write to in production PLC code, but...
FB FB_AdjustAssertFailureMessageToMax253CharLengthTest This testsuite tests the function block FB_AdjustAssertFailureMessageToMax255CharLength_Test The total printed...
FB FB_AnyPrimitiveTypes This testsuite tests the different assert-functions for all the primitive data types in TwinCAT, but using the...
FB FB_AnyToUnionValue Tests the free function F_AnyToUnionValue.
FB FB_ArrayPrimitiveTypes This testsuite tests the different assert-functions for all the different type of arrays (varying by the different...
FB FB_AssertCountExceedsMaxNumber This test-suite runs several asserts with the same parameters (same expected, actual, message), calling the asserts...
FB FB_AssertEveryFailedTestTwice In this testsuite we are running the same testcase over two cycles, and thus calling every assert method twice. This...
FB FB_AssertEveryFailedTestTwiceArrayVersion In this testsuite we are running the same testcase over two cycles, and thus calling every assert method twice. This...
FB FB_AssertTrueFalse This testsuite verifies that the Assert_True and Assert_False methods do what they are supposed to. It does so by...
FB FB_CheckIfSpecificTestIsFinished Verifies that the function IS_TEST_FINISHED('Name') works as intended.
FB FB_CreateDisabledTest This testsuite runs two tests. One that is enabled (and that is supposed to fail), and one that is disabled (and...
FB FB_CreateFourTestsWithSameName This testsuite creates four tests in the same testsuite with the same name. Every test in a testsuite should have an...
FB FB_EmptyAssertionMessage This testsuite creates a failed test with an empty assertion message
FB FB_EmptyTestSuite This is an empty testsuite with no test cases, so that we can verify that the system still prints the test results.
FB FB_ExtendedTestInformation This test suite makes sure to create different variants of tests that will produce various extended logs, i.e. the...
FB FB_MultipleAssertWithSameParametersInDifferentCyclesAndInSameTest This test-suite runs several asserts with the same parameters (same expected, actual, message), calling the asserts...
FB FB_MultipleAssertWithSameParametersInDifferentCyclesButWithDifferentTests This test-suite runs several asserts with the same parameters (same expected, actual, message), calling the asserts...
FB FB_MultipleAssertWithSameParametersInSameCycleWithSameTest This test-suite runs several asserts with the same parameters (same expected, actual, message) in the same cycle and...
FB FB_PrimitiveTypes This testsuite tests the different assert-functions for all the different data types in TwinCAT. For every data type...
FB FB_SkipAssertionsWhenFinished Contains tests that require multiple cycles: - A short test that finishes quickly - The assert statements all pass...
FB FB_TestDurationMeasurement This testsuite tests that durations are calculated correctly by different types of test cases Tests are considered...
FB FB_TestFileControl Contains tests that verify the FileControl function block methods
FB FB_TestFinishedNamed This function blocks tests the TEST_FINISHED_NAMED function by creating various tests and finishing them in steps
FB FB_TestFinishedNamedDoesNotExist This FB tests the free function TEST_FINISHED_NAMED. Calling this function with a name that doesn't exist should...
FB FB_TestNumberOfAssertionsCalculation This testsuite verifies that the number of assertions for every testcase is correctly calculated
FB FB_TestStreamBuffer Contains tests that verify the StreamBuffer function block methods
FB FB_TestXmlControl Contains tests that verify the XmlControl function block methods
FB FB_WriteProtectedFunctions This testsuite tests the WRITE_PROTECTED_* helper functions.

Functions

NameDescription
FN PRG_TEST

Global Variable Lists

NameDescription
GVL Global_Version This function has been automatically generated from the project information.