Hudson build is back to stable : H ttpComponents Core » HttpCore #103

2010-04-21 Thread Apache Hudson Server
See - To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.or

Hudson build is back to stable : HttpComponents Core #103

2010-04-21 Thread Apache Hudson Server
See - To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 22:00 +0100, sebb wrote: > On 21/04/2010, Oleg Kalnichevski wrote: > > On Wed, 2010-04-21 at 19:55 +0100, sebb wrote: > > > On 21/04/2010, Oleg Kalnichevski wrote: > > > > On Wed, 2010-04-21 at 15:20 +0100, sebb wrote: > > > > > On 21/04/2010, Oleg Kalnichevski wrote: >

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread sebb
On 21/04/2010, Oleg Kalnichevski wrote: > On Wed, 2010-04-21 at 19:55 +0100, sebb wrote: > > On 21/04/2010, Oleg Kalnichevski wrote: > > > On Wed, 2010-04-21 at 15:20 +0100, sebb wrote: > > > > On 21/04/2010, Oleg Kalnichevski wrote: > > > > > On Wed, 2010-04-21 at 00:24 +0100, sebb wrote:

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 19:55 +0100, sebb wrote: > On 21/04/2010, Oleg Kalnichevski wrote: > > On Wed, 2010-04-21 at 15:20 +0100, sebb wrote: > > > On 21/04/2010, Oleg Kalnichevski wrote: > > > > On Wed, 2010-04-21 at 00:24 +0100, sebb wrote: > > > > > Is there any point in having suite() and m

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread sebb
On 21/04/2010, Oleg Kalnichevski wrote: > On Wed, 2010-04-21 at 15:20 +0100, sebb wrote: > > On 21/04/2010, Oleg Kalnichevski wrote: > > > On Wed, 2010-04-21 at 00:24 +0100, sebb wrote: > > > > Is there any point in having suite() and main() methods in Test > classes? > > > > > > > > IDE

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 15:20 +0100, sebb wrote: > On 21/04/2010, Oleg Kalnichevski wrote: > > On Wed, 2010-04-21 at 00:24 +0100, sebb wrote: > > > Is there any point in having suite() and main() methods in Test classes? > > > > > > IDEs and Maven and Ant allow individual test classes to be run q

Re: HttpEntity#consumeContent deprecated; was Re: HttpEntity#writeTo and #consumeContent

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 10:01 -0400, James Leigh wrote: > On Sat, 2010-04-10 at 17:43 +0200, Oleg Kalnichevski wrote: > > On Sat, 2010-04-10 at 11:12 -0400, James Leigh wrote: > > > On Fri, 2010-04-09 at 21:12 +0200, Oleg Kalnichevski wrote: > > > > > > > > James et al > > > > > > > > I deprecated

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread sebb
On 21/04/2010, Oleg Kalnichevski wrote: > On Wed, 2010-04-21 at 00:24 +0100, sebb wrote: > > Is there any point in having suite() and main() methods in Test classes? > > > > IDEs and Maven and Ant allow individual test classes to be run quite > > easily, so AFAICT there is no need for these me

Re: HttpEntity#consumeContent deprecated; was Re: HttpEntity#writeTo and #consumeContent

2010-04-21 Thread James Leigh
On Sat, 2010-04-10 at 17:43 +0200, Oleg Kalnichevski wrote: > On Sat, 2010-04-10 at 11:12 -0400, James Leigh wrote: > > On Fri, 2010-04-09 at 21:12 +0200, Oleg Kalnichevski wrote: > > > > > > James et al > > > > > > I deprecated HttpEntity#consumeContent in favor of a more standard > > > InputStr

Hudson build became unstable: HttpComponents Core #102

2010-04-21 Thread Apache Hudson Server
See - To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org

Hudson build became unstable: Ht tpComponents Core » HttpCore #102

2010-04-21 Thread Apache Hudson Server
See - To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.or

Re: Test classes - use assertEquals(exp,act) instead of assertTrue(actual=expected)?

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 00:31 +0100, sebb wrote: > I just changed TestIdentityInputStream to use assertEquals(exp,actual) > rather than assertTrue(actual==exp), as this shows the actual and > expected values if the test fails. > > Any objections if I work through the other test classes doing the sam

Re: Get rid of suite() and main() methods from Test classes?

2010-04-21 Thread Oleg Kalnichevski
On Wed, 2010-04-21 at 00:24 +0100, sebb wrote: > Is there any point in having suite() and main() methods in Test classes? > > IDEs and Maven and Ant allow individual test classes to be run quite > easily, so AFAICT there is no need for these methods. > All that code is a hangover from the pre-Ec