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.

13<br />

11<br />

Commit("bob")<br />

12<br />

Systems with Complex State 181<br />

Revert("bob", "file1")<br />

CommitComplete("bob", 2)<br />

9<br />

10<br />

Commit("bob")<br />

15<br />

Edit("bob", "file1", Op("Change"))<br />

Commit("bob")<br />

MustResolve("bob", Set("file1"))<br />

14<br />

Revert("bob", "file1")<br />

16<br />

18<br />

8<br />

...<br />

CommitComplete("alice", 2)<br />

Commit("bob") Revert("bob", "file1") Edit("bob", "file1", Op("Change"))<br />

Figure 10.1. Revision control system: Resolution.<br />

17<br />

Commit("bob")<br />

CommitComplete("bob", 3)<br />

Resolve("bob", "file1")<br />

figure starts with the CommitComplete("alice", 2) action of the scenario and shows<br />

all possible completions for user bob.<br />

10.5 Exercises<br />

1. In what ways is a .NET array different from a Sequence?<br />

more free ebooks download links at:<br />

http://www.ebook-x.com

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

Saved successfully!

Ooh no, something went wrong!