directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r880634 - /directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java
Date Mon, 16 Nov 2009 07:01:27 GMT
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();



Mime
View raw message