Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2651 - development/main/transit/core/handler/src/test/net/dpml/transit/manager

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2651 - development/main/transit/core/handler/src/test/net/dpml/transit/manager
  • Date: Sun, 22 May 2005 00:56:31 +0000

Author: mcconnell AT dpml.net
Date: Sun May 22 00:56:30 2005
New Revision: 2651

Modified:

development/main/transit/core/handler/src/test/net/dpml/transit/manager/ProxyManagerTestCase.java
Log:
Switch the test to compare excludes length and not content as it appears the
the ordering is different on different jvms so we cannot assume string
content uis the same - i.e. on widows we get "A|B" and on unix we get "B|A".

Modified:
development/main/transit/core/handler/src/test/net/dpml/transit/manager/ProxyManagerTestCase.java
==============================================================================
---
development/main/transit/core/handler/src/test/net/dpml/transit/manager/ProxyManagerTestCase.java
(original)
+++
development/main/transit/core/handler/src/test/net/dpml/transit/manager/ProxyManagerTestCase.java
Sun May 22 00:56:30 2005
@@ -155,9 +155,10 @@
public void proxySettingsChanged( ProxyChangeEvent event )
{
event.getProxyModel().removeProxyListener( this );
- String expected =
"http://www.osm.net|http://repository.dpml.net";;
String result = event.getProxyExcludes();
- assertEquals( "excludes", expected, result );
+ assertNotNull( "excludes", result );
+ String expected =
"http://www.osm.net|http://repository.dpml.net";;
+ assertEquals( "excludes", expected.length(), result.length() );
}
}




  • svn commit: r2651 - development/main/transit/core/handler/src/test/net/dpml/transit/manager, mcconnell, 05/21/2005

Archive powered by MHonArc 2.6.24.

Top of Page