07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

U2TP TTCN-3<br />

System Under Test<br />

(SUT)<br />

Indirect def<strong>in</strong>ition via ports.<br />

Test component Component types.<br />

Arbiter<br />

Test context Module def<strong>in</strong>ition part.<br />

Test control Module control part.<br />

Test case<br />

Stimulus, observation,<br />

coord<strong>in</strong>ation<br />

Verdict<br />

17 UML 2.0 Test<strong>in</strong>g Profile 505<br />

A built-<strong>in</strong>. User-def<strong>in</strong>ed arbiters are realized by the MTC.<br />

Test case with behavior functions. The MTC creates and<br />

starts test components.<br />

Various TTCN-3 messages.<br />

Pre-def<strong>in</strong>ed verdicts pass, fail, <strong>in</strong>conclusive and error. For<br />

user-def<strong>in</strong>ed verdicts, a special verdict type is needed.<br />

Test configuration Configuration operations.<br />

Wildcards Data match<strong>in</strong>g mechanisms.<br />

Cod<strong>in</strong>g rules Encode attributes.<br />

Timer Timer and timer operations.<br />

Timezone Cannot be mapped.<br />

Fig. 17.4. U2TP to TTCN-3 Mapp<strong>in</strong>g Rules<br />

component (MTC). The test context is mapped to the TTCN-3 module def<strong>in</strong>ition<br />

part. U2TP test case can be mapped to test cases and functions where<br />

the MTC firstly creates test components and start their behavior by functions.<br />

Stimuli, observation and coord<strong>in</strong>ations are realized by various k<strong>in</strong>ds of messages.<br />

Verdicts are mapped to TTCN-3 verdict types with the predef<strong>in</strong>ed verdicts pass,<br />

fail, <strong>in</strong>conclusive and error. Test configuration are realized by configuration operations.<br />

Wildcards can be mapped to wildcards. Cod<strong>in</strong>g rules are realized by<br />

encod<strong>in</strong>g attributes. Timers and timer operations are present for U2TP as well<br />

as for TTCN-3. Timezones are not TTCN-3 concepts. 3<br />

3 Timezones are <strong>in</strong>troduced <strong>in</strong> another approach of TTCN-3, called TimedTTCN<br />

[DGN02]. The change request has already been submitted to ETSI (European<br />

Telecommunication Standardization Institution) where TTCN-3 has been developed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!