Re: Test suite layout

2006-01-16 Thread Andrey Chernyshev
ds, > > George > > > > George C. Harley > > > > > > > > > > Geir Magnusson Jr <[EMAIL PROTECTED]> > > 16/01/2006 12:54 > > Please respond to > > harmony-dev@incubator.apache.org > &

Re: Test suite layout

2006-01-16 Thread Geir Magnusson Jr
ortant consideration. However... geir Best regards, George George C. Harley Geir Magnusson Jr <[EMAIL PROTECTED]> 16/01/2006 12:54 Please respond to harmony-dev@incubator.apache.org To harmony-dev@incubator.apache.org cc Subject Re: Test suite layout George Harley1 wrot

Re: Test suite layout

2006-01-16 Thread George Harley1
Magnusson Jr <[EMAIL PROTECTED]> 16/01/2006 12:54 Please respond to harmony-dev@incubator.apache.org To harmony-dev@incubator.apache.org cc Subject Re: Test suite layout George Harley1 wrote: > Hi, > >> This is not the goal of unit tests. They do not test API, they tes

Re: Test suite layout

2006-01-16 Thread Geir Magnusson Jr
@incubator.apache.org To harmony-dev@incubator.apache.org cc Subject Re: Test suite layout On 1/16/06, Tim Ellison <[EMAIL PROTECTED]> wrote: ... If your unit tests are intended to test API, then they should be calling the API in the same manner that an application will call the API. Jus

Re: Test suite layout

2006-01-16 Thread George Harley1
__ George C. Harley Mikhail Loenko <[EMAIL PROTECTED]> 16/01/2006 11:58 Please respond to harmony-dev@incubator.apache.org To harmony-dev@incubator.apache.org cc Subject Re: Test suite layout On 1/16/06, Tim Ellison <[EMAIL PROTECTED]> wrote: ... > If your unit tests a

Re: Test suite layout

2006-01-16 Thread Mikhail Loenko
> > > What do you think? > > > > Thanks, > > Stepan Mishura > > Intel Middleware Products Division > > > > > >>-Original Message- > >>From: Tim Ellison [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, January 12, 2006 8:04

Re: Test suite layout

2006-01-16 Thread Tim Ellison
o that on the application classloader to test security manager functionality. Regards, Tim > What do you think? > > Thanks, > Stepan Mishura > Intel Middleware Products Division > > >>-Original Message- >>From: Tim Ellison [mailto:[EMAIL PROTECTED] >&

Re: Test suite layout

2006-01-13 Thread Geir Magnusson Jr
Paulex Yang wrote: Geir Magnusson Jr wrote: Tim Ellison wrote: What we've tended to do, internally, is to name the testcases after the type they are testing, so all unit tests for java.io.File are put into a tests package ending with java.io in a type called FileTest that extends the juni

Re: Test suite layout

2006-01-13 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Tim Ellison wrote: We would have written it as java.io.tests, but the java. namespace is reserved, so the formula is simply . -> org.apache.harmony.tests..Test Ug - then you have the problem of not being in the namespace as what you are

RE: Test suite layout

2006-01-13 Thread Mishura, Stepan M
ailto:[EMAIL PROTECTED] >Sent: Thursday, January 12, 2006 8:04 PM >To: harmony-dev@incubator.apache.org >Subject: Re: Test suite layout > >Geir Magnusson Jr wrote: >> Tim Ellison wrote: > > >>> We would have written it as java.io.tests, but the java. >>> namespace is r

Re: Test suite layout

2006-01-12 Thread Paulex Yang
Geir Magnusson Jr wrote: Tim Ellison wrote: What we've tended to do, internally, is to name the testcases after the type they are testing, so all unit tests for java.io.File are put into a tests package ending with java.io in a type called FileTest that extends the junit.framework.TestCase.

Re: Test suite layout

2006-01-12 Thread Tim Ellison
Mishura, Stepan M wrote: > Tim Ellison wrote: > >>We would have written it as java.io.tests, but the java. >>namespace is reserved, so the formula is simply >> >>. -> org.apache.harmony.tests..Test > > Placing classes and tests for them in different packages won't allow > testing package acce

Re: Test suite layout

2006-01-12 Thread Tim Ellison
Geir Magnusson Jr wrote: > Tim Ellison wrote: >> We would have written it as java.io.tests, but the java. >> namespace is reserved, so the formula is simply >> >> . -> org.apache.harmony.tests..Test > > > Ug - then you have the problem of not being in the namespace as what you > are testing.

RE: Test suite layout

2006-01-12 Thread Mishura, Stepan M
Tim Ellison wrote: > >We would have written it as java.io.tests, but the java. >namespace is reserved, so the formula is simply > >. -> org.apache.harmony.tests..Test > Placing classes and tests for them in different packages won't allow testing package access functionality. > >Then within th

Re: Test suite layout

2006-01-12 Thread Geir Magnusson Jr
Tim Ellison wrote: What we've tended to do, internally, is to name the testcases after the type they are testing, so all unit tests for java.io.File are put into a tests package ending with java.io in a type called FileTest that extends the junit.framework.TestCase. Yes - that's the canonical