View Issue Details

IDProjectCategoryView StatusLast Update
0004981Compliance Test Tool (CTT) Unified Architecture3 - Feature Requestpublic2020-04-24 16:57
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.390 
Target Version1.03 
Summary0004981: Enumerations are not used in most of the scripts or getting special treatment
Description

Because enumerations do not allow every possible Int32 value they received special treatment in many of the scripts by either allowing a BadOutOfRange or excluding them from the script completely. This results in the fact that Enumerations are not being tested to the amount they could be. In order to change that the Increment, SetValueMax, SetValueMin and other help functions need to be enhanced to read the possible values and chose a valid number according to their purpose.

TagsNo tags attached.
Files Affected

Relationships

related to 0003917 closedAlexander Allmendinger Attribute Services / Attribute Write Values / Test Cases / 003.js 
related to 0005192 closedAlexander Allmendinger Switching test scripts in all CUs to utilize the advanced datatype handling in e.g. UaVariant.Increment 

Activities

Paul Hunkar

2019-09-01 14:27

administrator   ~0010886

make sure extra status code entered in related mantis issue are reverted when this is fixed

Alexander Allmendinger

2019-10-24 11:31

developer   ~0011151

Because enumerations do not allow every possible Int32 value they received special treatment in many of the scripts by either allowing a BadOutOfRange or excluding them from the script completely. This results in the fact that Enumerations are not being tested to the amount they could be. In order to change that the Increment, SetValueMax, SetValueMin and other help functions need to be enhanced to read the possible values and chose a valid number according to their purpose. Also for those functions the item needs to be passed in instead of only the value.
During the fixes we noticed that there were also other DataTypes missing/wrong and so they did get add and/or updated as well.

In order to use the new functionality added for enumeration the test scripts now need to call the functions providing the complete item not only the value by e.g. calling UaVariant.Increment( { Item: item } );
instead of
UaVariant.Increment( { Value: item.Value } );
for backward compatibility this is still supported but won't benefit from the updates. Other scripts will be updated with the related mantis 5192

Paul Hunkar

2020-04-24 16:57

administrator   ~0011982

review in CMP call

Issue History

Date Modified Username Field Change
2019-09-01 14:26 Alexander Allmendinger New Issue
2019-09-01 14:26 Paul Hunkar Relationship added related to 0003917
2019-09-01 14:27 Paul Hunkar Note Added: 0010886
2019-09-01 14:27 Paul Hunkar Assigned To => Alexander Allmendinger
2019-09-01 14:27 Paul Hunkar Status new => assigned
2019-10-24 11:29 Alexander Allmendinger Relationship added related to 0005192
2019-10-24 11:31 Alexander Allmendinger Status assigned => resolved
2019-10-24 11:31 Alexander Allmendinger Resolution open => fixed
2019-10-24 11:31 Alexander Allmendinger Note Added: 0011151
2020-04-24 16:57 Paul Hunkar Status resolved => closed
2020-04-24 16:57 Paul Hunkar Note Added: 0011982