Author: thiagohp
Date: Tue Mar 17 18:16:19 2009
New Revision: 755339

URL: http://svn.apache.org/viewvc?rev=755339&view=rev
Log:
TAP5-557: commented-out tests that need changes to hosts file.

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/urlrewriter/IntegrationTests.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/urlrewriter/IntegrationTests.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/urlrewriter/IntegrationTests.java?rev=755339&r1=755338&r2=755339&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/urlrewriter/IntegrationTests.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/urlrewriter/IntegrationTests.java
 Tue Mar 17 18:16:19 2009
@@ -19,6 +19,9 @@
 /**
  * Note: If these tests fail with BindException when starting Jetty, it could 
be Skype. At least on
  * my system, Skype is listening on localhost:80.
+ * 
+ * The commented-out tests needs to have somenicecomain.com and 
login.somenicedomain.com
+ * redirected to localhost in order to work.
  */
 @Test(timeOut = 30000, sequential = true)
 public class IntegrationTests extends AbstractIntegrationTestSuite
@@ -39,23 +42,24 @@
     {
 
         open(BASE_URL);
-        final String url = String.format("http://%s:%d/";, SUBDOMAIN, 
JETTY_PORT);
         assertAttribute("//a...@class='self']/@href", "/index");
         assertAttribute("//a...@class='dummy']/@href", "/notdummy");
-        assertAttribute("//a...@class='subdomain']/@href", url);
+        
+//        final String url = String.format("http://%s:%d/";, SUBDOMAIN, 
JETTY_PORT);
+//        assertAttribute("//a...@class='subdomain']/@href", url);
 
     }
 
-    @Test
-    public void test_url_rewriting_with_virtual_host()
-    {
-
-        final String url = String.format("http://%s:%d";, SUBDOMAIN, 
JETTY_PORT);
-        open(url);
-        assertTextPresent("End of maze. URL rewriting works :).");
-        assertTextPresent("Login: " + LOGIN);
-
-    }
+//    @Test
+//    public void test_url_rewriting_with_virtual_host()
+//    {
+//
+//        final String url = String.format("http://%s:%d";, SUBDOMAIN, 
JETTY_PORT);
+//        open(url);
+//        assertTextPresent("End of maze. URL rewriting works :).");
+//        assertTextPresent("Login: " + LOGIN);
+//
+//    }
 
     @Test
     public void test_url_rewriter_without_virtual_host()


Reply via email to