You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by sh...@apache.org on 2005/04/23 19:14:55 UTC
svn commit: r164402 -
/excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java
Author: shash
Date: Sat Apr 23 10:14:54 2005
New Revision: 164402
URL: http://svn.apache.org/viewcvs?rev=164402&view=rev
Log:
Fixes: http://issues.apache.org/jira/browse/EXLBR-24
If host existed, but file did not (404 error), test was failing.
Modified:
excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java
Modified: excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java
URL: http://svn.apache.org/viewcvs/excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java?rev=164402&r1=164401&r2=164402&view=diff
==============================================================================
--- excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java (original)
+++ excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java Sat Apr 23 10:14:54 2005
@@ -62,9 +62,9 @@
assertFalse( m_urlSource.exists() );
}
- public void testHttpDoesNotExist() throws Exception
+ public void testHttpHostDoesNotExist() throws Exception
{
- m_urlSource.init( new URL( "http://localhost/no_such_file" ),
+ m_urlSource.init( new URL( "http://some.invalid.host/no_such_file" ),
Collections.EMPTY_MAP );
assertFalse( m_urlSource.exists() );
}
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org