directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r888138 - /directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewConnectionWizardTest.java
Date Mon, 07 Dec 2009 21:13:02 GMT
Author: seelmann
Date: Mon Dec  7 21:13:00 2009
New Revision: 888138

URL: http://svn.apache.org/viewvc?rev=888138&view=rev
Log:
Disabled special test as its success depends on the network connection.

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=888138&r1=888137&r2=888138&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 Dec  7 21:13:00 2009
@@ -411,17 +411,19 @@
         assertTrue( "'Unknown Host' message must occur in error message", result2.contains(
"Unknown Host" ) );
         assertTrue( "Unknown host name must occur in error message", result2.contains( hostname
) );
 
-        // enter connection parameter with non-routed IP address
-        String ipAddress = "10.11.12.13";
-        wizardBot.typeHost( ipAddress );
-        wizardBot.typePort( ldapServer.getPort() );
-
-        // click "Check Network Parameter" button and get the result
-        String result3 = wizardBot.clickCheckNetworkParameterButton();
-        assertNotNull( "Expected Error", result3 );
-        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
) );
+        // disabled this test because it does not work properly
+        // as it depends from the network connection settings.
+//        // enter connection parameter with non-routed IP address
+//        String ipAddress = "10.11.12.13";
+//        wizardBot.typeHost( ipAddress );
+//        wizardBot.typePort( ldapServer.getPort() );
+//
+//        // click "Check Network Parameter" button and get the result
+//        String result3 = wizardBot.clickCheckNetworkParameterButton();
+//        assertNotNull( "Expected Error", result3 );
+//        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