27.07.2013 Views

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

112 Exploring and Analyzing Finite <strong>Model</strong> Programs<br />

57<br />

28<br />

TimeoutMsgLost()<br />

Command()<br />

61<br />

25<br />

11<br />

6<br />

CheckMessage()<br />

9<br />

Command() Timeout()<br />

12<br />

23<br />

Message("999.9")<br />

Poll()<br />

TimeoutMsgLate() Command()<br />

56<br />

54<br />

24<br />

Reset()<br />

TimeoutMsgLost() Message("999.9")<br />

59<br />

7<br />

26<br />

2<br />

3<br />

0<br />

Timeout() Command()<br />

Reset()<br />

Message("99.9") TimeoutMsgLate()<br />

Message("999.9")<br />

Timeout()<br />

TimeoutMsgLate()<br />

58<br />

5<br />

Message("99.9")<br />

27<br />

29<br />

53<br />

1<br />

CheckMessage()<br />

Command()<br />

Message("99.9")<br />

Figure 6.13. Reactive system: interactive exploration showing path to livelock.<br />

more free ebooks download links at:<br />

http://www.ebook-x.com<br />

60<br />

Command()<br />

4<br />

CheckMessage()<br />

TimeoutMsgLost()<br />

8

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

Saved successfully!

Ooh no, something went wrong!