Download Tutorial for Overture/VDM-RT

Transcript
Contents
3
Overture Tool Support for VDM-RT: an Introductory Guide
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Obtaining the Overture Tools . . . . . . . . . . . . . . . .
3.3 Using the Overture Perspective . . . . . . . . . . . . . . .
3.4 Mapping Between UML and VDM . . . . . . . . . . . . .
3.5 Debugging . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.1 The Debug Configuration . . . . . . . . . . . . .
3.5.2 The Debug Perspective . . . . . . . . . . . . . . .
3.5.3 Breakpoints . . . . . . . . . . . . . . . . . . . . .
3.6 Test coverage . . . . . . . . . . . . . . . . . . . . . . . .
3.7 Combinatorial Testing . . . . . . . . . . . . . . . . . . .
3.8 Realtime Log Viewer . . . . . . . . . . . . . . . . . . . .
3.9 Proof Obligations . . . . . . . . . . . . . . . . . . . . . .
3.10 A Command-Line Interface . . . . . . . . . . . . . . . . .
3.11 Summary . . . . . . . . . . . . . . . . . . . . . . . . . .
A A Car Navigation System Example
A.1 System Overview of the Car Navigation example
A.2 The Radio Navigation System Class . . . . . . .
A.3 The MMI Class . . . . . . . . . . . . . . . . . .
A.4 The Radio Class . . . . . . . . . . . . . . . . . .
A.5 The Navigation Class . . . . . . . . . . . . . . .
A.6 The Environment Task Class . . . . . . . . . . .
A.7 The Insert Address Class . . . . . . . . . . . . .
A.8 The Transmit TMC Class . . . . . . . . . . . . .
A.9 The Volume Knob Class . . . . . . . . . . . . .
A.10 The World Class . . . . . . . . . . . . . . . . . .
A.11 The Test Class . . . . . . . . . . . . . . . . . . .
iii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
3
4
7
7
8
8
10
11
11
13
15
16
19
.
.
.
.
.
.
.
.
.
.
.
21
21
22
23
23
24
24
27
28
28
29
30