Skip to content

Commit

Permalink
missing period and adding more sweet
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jun 27, 2024
1 parent 50e08fb commit 2e0a6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Chapters/CaseStudyOne/CaseStudyOne.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ ImdbFilmPresenter >> defaultLayout

![Using a non-homogenous grid layout. % width=50&anchor=FilmListPresenter2](figures/FilmList-04-OpenFilmPresenter-2.png)

Now we set the window properties by adding the following new `initializeWindow:` method. See Figure *@FilmListPresenter3@*.
Now we set the window properties by adding the following new `initializeWindow:` method. We get the situation shown in Figure *@FilmListPresenter3@*.

```
ImdbFilmPresenter >> initializeWindow: aWindowPresenter
Expand Down Expand Up @@ -356,7 +356,7 @@ ImdbFilmListPresenter >> addFilm
self updatePresenter
```

Now we can open the `FilmListPresenter` and click on the `Add film` button. When the film data has been entered and the `Save Film` button has been clicked, you will see that the FilmListPresenter is updated with the added film, as shown in Figure *@refreshed@*
Now we can open the `FilmListPresenter` and click on the `Add film` button. When the film data has been entered and the `Save Film` button has been clicked, you will see that the FilmListPresenter is updated with the added film, as shown in Figure *@refreshed@*.

```
app := ImdbApp new.
Expand Down Expand Up @@ -464,7 +464,7 @@ With `connectPresenters` in place, selecting an item in the list results in show

A strong property of Spec is that we can write tests to describe the interaction and the logic of a UI. Tests are so powerful to help us create nice designs and make sure that we can spot errors, that we will show that writing tests for a UI is not complex.

We define a subclass of `TestCase`.
We define `ImdbFilmListPresenterTest` as a subclass of `TestCase`.

```
TestCase << #ImdbFilmListPresenterTest
Expand Down

0 comments on commit 2e0a6a9

Please sign in to comment.