The purpose of this document is to provide a detailed explanation of the code related to the message-generator and it serves as a tool for developers to quickly understand the code structure and the main steps the message-generator does for test execution. The following code analysis is divided into sections that represent the different source files of the message-generator, making it easier to find references in the code.
- The code defines two enums:
Sv2Type, which contains all data types used in SV2, andActionResult, which contains the possible values representing the results of an action defined inside the test file. - The code defines the structs
UpstreamandDownstream, which represent the connection settings of the tested SV2 role. - The code defines a struct
Action, which represents an action that has to be execute and the result of which has to be checked as defined inside the test file. - The code defines a struct
Commandthat r