You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2009/11/16 08:01:27 UTC
svn commit: r880634 -
/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java
Author: seelmann
Date: Mon Nov 16 07:01:23 2009
New Revision: 880634
URL: http://svn.apache.org/viewvc?rev=880634&view=rev
Log:
Error message may be 'Network is unreachable'
Modified:
directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java
Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java?rev=880634&r1=880633&r2=880634&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java (original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java Mon Nov 16 07:01:23 2009
@@ -419,7 +419,8 @@
// click "Check Network Parameter" button and get the result
String result3 = wizardBot.clickCheckNetworkParameterButton();
assertNotNull( "Expected Error", result3 );
- assertTrue( "'No route to host' message must occur in error message", result3.contains( "No route to host" ) );
+ assertTrue( "'No route to host' or 'Network is unreachable' message must occur in error message", //
+ result3.contains( "No route to host" ) || result3.contains( "Network is unreachable" ) );
assertTrue( "IP address must occur in error message", result3.contains( ipAddress ) );
wizardBot.clickCancelButton();