geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: What does this mean?
Date Tue, 02 Mar 2004 20:39:28 GMT
StopWatch has not caused any trouble and is a useful class.  I do not  
care if you nuke it, as it seems a lot of my code has been tossed into  
the bit bucket.

But, do not confuse a poorly written test case with a useful class.

--jason


On Mar 2, 2004, at 12:30 PM, David Jencks wrote:

> StopWatch is no longer used and has caused enough trouble ==> I  
> removed it.
>
> david jencks
>
> On Tuesday, March 2, 2004, at 11:47 AM, Lynch, Peter wrote:
>
>> Anita,
>>
>> I ran these tests several times last night, and got more or less the  
>> same
>> error, each time in different test cases.  I changed the value of the  
>> TIME
>> variable from 100 (milliseconds) to 1000, and this seems to have  
>> solved the
>> problem.  Maybe there's a problem on Windows 98 platforms with the
>> Thread.sleep(int millis) call.  Does anyone have a view on this?   
>> Also,
>> what's the proper procedure for getting this file changed in cvs?
>>
>> Thanks,
>> Peter Lynch
>>
>>> -----Original Message-----
>>> From:	anita kulshreshtha [SMTP:a_kulshre@yahoo.com]
>>> Sent:	Wednesday, March 03, 2004 5:11 AM
>>> To:	geronimo-dev@incubator.apache.org
>>> Subject:	RE: What does this mean?
>>>
>>> Hi Peter
>>>     Here are the results of StopWatchTest -
>>> Testsuite: org.apache.geronimo.common.StopWatchTest
>>> Tests run: 8, Failures: 1, Errors: 0, Time elapsed:
>>> 1.1 sec
>>>
>>> Testcase: testConstructor took 0.06 sec
>>> Testcase: testConstructorRunning took 0 sec
>>> Testcase: testStartStop took 0.11 sec
>>> Testcase: testTwoStarts took 0.11 sec
>>> Testcase: testTwoStops took 0.16 sec
>>> Testcase: testTwoLaps took 0.22 sec
>>> 	FAILED
>>> Expected  more than one second, not 60
>>> junit.framework.AssertionFailedError: Expected  more
>>> than one second, not 60
>>> 	at
>>> org.apache.geronimo.common.StopWatchTest.testTwoLaps(StopWatchTest.ja 
>>> va:12
>>> 5)
>>> 	at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>> 	at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. 
>>> java:
>>> 39)
>>> 	at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
>>> sorIm
>>> pl.java:25)
>>>
>>> Testcase: testTwoLapsTestcase: testReset took 0.11 sec
>>> Testcase: testToDuration took 0.16 sec
>>>                     Thanks
>>>>> Anita <<
>>> --- "Lynch, Peter" <Peter.Lynch@NBNZ.CO.NZ> wrote:
>>>> Hi Anita,
>>>>
>>>> I also have Win98 second edition, with jdk 1.4.2_03,
>>>> and am having problems
>>>> with StopWatchTest.  Do you know which test(s) in
>>>> particular are failing?
>>>> Your test results can be found in
>>>>
>>> incubator-geronimo\modules\common\target\test-reports\.
>>>>  I am hoping to
>>>> investigate this problem during the next week.  I'll
>>>> keep you posted if I
>>>> find anything.
>>>>
>>>> Cheers,
>>>> Peter Lynch
>>>>
>>>>> -----Original Message-----
>>>>> From:	anita kulshreshtha
>>>> [SMTP:a_kulshre@yahoo.com]
>>>>> Sent:	Monday, March 01, 2004 6:33 AM
>>>>> To:	geronimo-dev@incubator.apache.org;
>>>> u912boilermaker@yahoo.com
>>>>> Subject:	Re: What does this mean?
>>>>>
>>>>> Hi
>>>>>     I am getting same error on my windows 98 2nd
>>>> ed.,
>>>>> jdk1.4.2_01.
>>>>> I am also getting "using or extending a deprecated
>>>>> API" error in
>>>>>
>>>>>
>>>>
>>> ../../core/src/test/o/a/g/test/protocol/mockproto/Handler.java.
>>>>> I had to delete StopWatchTest.java,
>>>>> RAR_1_5ConfigBuilderTest.java,
>>>>>                 RAR_1_0DconfigBeanTest.java for
>>>> the
>>>>> build to proceed.
>>>>>                              TIA
>>>>>
>>>>
>>>> This communication is confidential and may contain
>>>> privileged material.
>>>> If you are not the intended recipient you must not
>>>> use, disclose, copy or retain it.
>>>> If you have received it in error please immediately
>>>> notify me by return email
>>>> and delete the emails.
>>>> Thank you.
>>>
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Yahoo! Search - Find what you're looking for faster
>>> http://search.yahoo.com
>>
>> This communication is confidential and may contain privileged  
>> material.
>> If you are not the intended recipient you must not use, disclose,  
>> copy or retain it.
>> If you have received it in error please immediately notify me by  
>> return email
>> and delete the emails.
>> Thank you.
>>
>

Mime
View raw message