Regression on Linux System

"Wolfgang Fahl" <[email protected]> Wed, 26 Aug 2009 08:23:30 +0200
Newsgroups gmane.comp.web.httpunit.devel
Organization BITPlan GmbH
Message-ID <[email protected]>
Dear httpunit developers and users,

In my main Windows XP environment with Eclipse Ganymede 
everything is fine: 801 of 801 tests run. 

trying to test the current subversion trunk (Revision 
1060) on a Suse 10.2 linux system with Eclipse Europa 
and on the command line gave me mixed results. (See 
below). I'd like to ask you to help getting the 
remaining problems sorted out:
1. testCookieAge still seems to fail in certain 
environments

2. there seems to be some reason for tests to fail in a 
(on first sight) non-deterministic way. It would be 
great to know if this also happens in other environments 
and try to track down the reason for this behaviour.


Thanks for your support.

Yours
  Wolfgang

Testing with 
	mvn clean install
leads to:

Failed tests:  
testCookieAge(com.meterware.httpunit.cookies.CookieTest)

Tests in error: 
Tests run: 740, Failures: 1, Errors: 0, Skipped: 0

Doing the tests from Eclipse the situation is different:

testRefreshHeader:
junit.framework.AssertionFailedError: No Refresh header 
found
...
com.meterware.httpunit.WebPageTest.testRefreshHeader(Web
PageTest.java:241)
	at 

on another run:
1) 
testJapaneseLinkParamNameWithValue(com.meterware.httpuni
t.EncodingTest)com.meterware.httpunit.NotHTMLException: 
The content type of the response is 'unknown/unknown': 
it must be 'text/html' in order to be recognized as HTML
	at 
com.meterware.httpunit.WebResponse.getReceivedPage(WebRe
sponse.java:1344)
	at 

There was 1 failure:
1) 
testAuthenticationNegotiateRequest(com.meterware.httpuni
t.WebClientTest)junit.framework.ComparisonFailure: 
authorization expected:<unauthoriz...> but was:<Not 
Modifi...>
	at 
com.meterware.httpunit.WebClientTest.testAuthenticationN
egotiateRequest(WebClientTest.java:492)
	at 
FAILURES!!!
Tests run: 801,  Failures: 1,  Errors: 1


Yet another run:
There was 1 failure:
1) 
testBasicAuthenticationRequestedForUnknownRealm(com.mete
rware.httpunit.WebClientTest)junit.framework.AssertionFa
iledError: Should have rejected authentication
	at 
FAILURES!!!
Tests run: 801,  Failures: 1,  Errors: 0

Yet another run:
There was 1 error:
1) 
testIllegalMultiFileSubmit(com.meterware.httpunit.FileUp
loadTest)com.meterware.httpunit.NotHTMLException: The 
content type of the response is 'unknown/unknown': it 
must be 'text/html' in order to be recognized as HTML
	at 
com.meterware.httpunit.WebResponse.getReceivedPage(WebRe
sponse.java:1344)
	at 

There was 1 failure:
1) 
testAuthenticationNegotiateRequest(com.meterware.httpuni
t.WebClientTest)junit.framework.ComparisonFailure: 
authorization expected:<unauthoriz...> but was:<Not 
Modifi...>
	at 
com.meterware.httpunit.WebClientTest.testAuthenticationN
egotiateRequest(WebClientTest.java:492)
	at 
FAILURES!!!
Tests run: 801,  Failures: 1,  Errors: 1




Yours

Wolfgang 

BITPlan - smart solutions
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 2154 811-480, Fax +49 2154 811-481
Web: http://www.bitplan.de
bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, 
Geschäftsführer: Wolfgang Fahl

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop