Validation type
You use this wizard to modify the default options of the predefined validation types. If you are an expert, you can also create your own validation type or add filters to the validation types.
- Name
- The name describes what the validation type is. In the predefined validation types, it indicates the Pacbase generated code and the local code.
- Migration choice
- With this option, the code to be kept is automatically defined.
Two options are available:
- Keep local generated code (default value)
- Override local code by imported code
The selected option will then automatically apply when you select the Validate the migration quick fix in the Problems view or the Validate choice in the Migration Manager view.
- Migration warnings visible
- This check box indicates whether the warnings that correspond to the validation type are to be displayed in the Problems view. By default, they are not displayed.
The Filters group can be handled by experts only. It enables experts to define validation types more precisely by filtering the difference templates or the differences. Four types of filters are available. Most of them include regular expressions on difference templates or on differences.
- Scope
- The filter scope applies to two levels:
- The type of difference to which the filter applies:
- A difference template is the character strings that are deleted or added in the local code,
- A difference is an entire code line with a difference.
- The presence of regular expressions in the difference template or in the difference. The filter applies to the difference templates or to the differences that contain the indicated regular expressions.
You can specify the filter content in the two tables that are associated with the Scope field.- The first table is available if the filter applies to a difference template. It indicates the strings that are deleted or added in the template. You can add or delete strings with the corresponding buttons.
- The second table is available if the filter applies to difference templates or differences that contain regular expressions. It indicates the regular expressions in the Pacbase code and the code as it is generated locally. You can add or delete regular expressions with the corresponding buttons.
- The type of difference to which the filter applies: