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.

484 George D<strong>in</strong><br />

Value<br />

Type getType()<br />

Str<strong>in</strong>g getValueEncod<strong>in</strong>g()<br />

boolean notPresent()<br />

FloatValue BooleanValue CharValue VerdictValue<br />

IntegerValue ObjidValue UniversalCharValue<br />

Hexstr<strong>in</strong>gValue Octetstr<strong>in</strong>gValue Charstr<strong>in</strong>gValue Bitstr<strong>in</strong>gValue<br />

UniversalCharstr<strong>in</strong>gValue<br />

UnionValue EnumeratedValue RecordOfValue RecordValue<br />

Fig. 16.5. The TTCN-3 Value Types which can appear <strong>in</strong> a TE.<br />

Management of the Test Execution The overall management of a test<br />

system is realized by the Test Management entity (TM). The TM operations<br />

can be split <strong>in</strong>to two parts: operations which are used by the user to control the<br />

test execution and operations provided to TE <strong>in</strong> order to notify the user about<br />

changes <strong>in</strong> the execution status.<br />

The user may start or stop the test cases and the control part. This functionality<br />

is implemented <strong>in</strong> TE. In response, the TE may notify the TM when a test<br />

case or the control started or term<strong>in</strong>ated. As presented <strong>in</strong> Section 1.3, the test<br />

cases can be parameterized. This is also reflected <strong>in</strong> the TM - tciStartTestCase<br />

method which has a TciParamterListType as argument. The TE, where the<br />

MTC is executed, is called special TE and is used to start the test cases or the<br />

control part.<br />

The values of the parameters of a module are transferred to TE also via<br />

TM <strong>in</strong>terface. TE may ask TM about the value of a parameter by us<strong>in</strong>g the<br />

tciGetModuleParameter.<br />

A user may obta<strong>in</strong> <strong>in</strong>formation about the content of a module. With the<br />

tciGetTestCases and the tciGetModuleParameters methods, the user may<br />

acquire the list of test cases and module parameters.<br />

Test Configuration The abstract operations used <strong>in</strong> the TTCN-3 test specifications<br />

<strong>in</strong> order to def<strong>in</strong>e test configurations (create, connect, disconnect, start,<br />

stop etc) are mapped to concrete operations <strong>in</strong> the CH <strong>in</strong>terface. All the configuration<br />

operations are reflected by the CH API. The configuration operations are<br />

called from behaviors (test cases, functions, control) which are conta<strong>in</strong>ed by TE.<br />

S<strong>in</strong>ce the TE does not know where to create or start components, the request<br />

is sent to CH. Conceptually, CH has knowledge about every component. The<br />

requests from TE are analized on the basis of the CH knowledge; CH decides if<br />

the requests are to be handled locally or remotely (a component can be created<br />

either locally or remotely). If the request is executed locally, it is sent back to<br />

the local TE. If the request is to be executed on a remote node, the CH sends

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

Saved successfully!

Ooh no, something went wrong!