• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WOUnit
      • From: Henrique Prange <email@hidden>
    • Re: WOUnit
      • From: Lachlan Deck <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>)

  • Prev by Date: A problem with http request to a webobjects site
  • Next by Date: Maven
  • Previous by thread: Re: WOUnit
  • Next by thread: Re: WOUnit
  • Index(es):
    • Date
    • Thread