6.2.8 The default type

Add test
6.2.8 The default type
 

Default references are unique references to activated defaults

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_001.ttcn1
Default references are unique references to activated defaults
 

Default references are used in deactivate operations in order to identify the default to be deactivated.

Add test
Default references are used in deactivate operations (see clause 20.5.3) in order to identify the default to be deactivated.
 

Default references have meaning only within the test component instances they are activated

Add test
Default references have meaning only within the test component instances they are activated
 

Default references have the special and predefined type default

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_002.ttcn1
Default references have the special and predefined type default
 

Such a unique default reference is generated by a test component when an altstep is activated as a default

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_001.ttcn1
Such a unique default reference is generated by a test component when an altstep is activated as a default
 

TTCN3 allows the activation of altsteps (see clause 16.2) as defaults to capture recurring behaviour

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_001.ttcn1
TTCN3 allows the activation of altsteps (see clause 16.2) as defaults to capture recurring behaviour
 

TTCN3 does not restrict the implementation of a test system with respect to the handling and identification of defaults

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_003.ttcn1
TTCN3 does not restrict the implementation of a test system with respect to the handling and identification of defaults
 

The actual data representation of the default type shall be resolved externally by the test system

Add test
The actual data representation of the default type shall be resolved externally by the test system
 

Variables of type default can be used to handle activated defaults in test components

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_003.ttcn1
Variables of type default can be used to handle activated defaults in test components
 

value null represents an unspecific default reference

Add test
Test:Hits:
file:\\\D:\documents\ttcn3-workspace\ATS\06_types_and_values\0602_structured_types_and_values\060208_default_type\Sem_060208_default_type_002.ttcn1
The special value null represents an unspecific default reference, e.g. can be used for the initialization of variables of default type.