Re: WOUnit
Re: WOUnit
- Subject: Re: WOUnit
- From: Ron X <email@hidden>
- Date: Thu, 19 Apr 2012 11:26:57 +0300
why didn't you include this dependency in WOUnit?
and why should i use 1.2 version instead 1.3-SNAPSHOT?
18 апреля 2012 г. 19:29 пользователь Henrique Prange
<email@hidden> написал:
Hi Ron,
On 18/04/2012, at 13:06, Henrique Prange wrote:
Hi Ron,
On 18/04/2012, at 08:06, Ron X wrote:
What is the meaning of using
@UnderTest?
The @UnderTest annotation can be used to create real enterprise objects and insert them into the editing context rule. It is a shorthand for:
public class SongTest {
...
private Song song;
@Before
public void setup() {
foo = Song.createFoo(ec);
}
...
}
A small fix:
public class SongTest {
...
private Song song;
@Before
public void setup() {
song = Song.createSong(ec);
}
...
}
Cheers,
Henrique
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >WOUnit (From: Ron X <email@hidden>) |
| >Re: WOUnit (From: Ron X <email@hidden>) |
| >Re: WOUnit (From: Henrique Prange <email@hidden>) |
| >Re: WOUnit (From: Henrique Prange <email@hidden>) |