codjo/codjo-agent — pull request #1 by codjo-sandbox (2011-12-14 15:21:24+00:00)
Title: Improve test mechanism (LogString and Semaphore)

***

### Add synchronisation mechanism to Story

#### Context
For SAM (local application) we developed some utility methods that could be leveraged at a Framework level.

#### Description
A Story can now easily interact with a LogString. Two new methods logInfo(...) and assertLog(...) have been added to the record mechanism.

#### Exemple:

```java
story.record()
.logInfo(log, "hello world");

story.record()
.assertLog(log, "hello world");

story.execute();
```

***

### Add log string mechanism to Story

#### Context
For SAM (local application) we developed some utility methods that could be leveraged at a Framework level.

#### Description
A Story can now easily interact with a LogString. Two new methods logInfo(...) and assertLog(...) has been added to the record mechanism.

#### Exemple:

```java
story.record().logInfo(log, "hello world");

story.record().assertLog(log, "hello world");

story.execute();
```