You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/10/03 21:07:42 UTC

[3/10] git commit: Remove some test logic that fails now that the floating console is optional

Remove some test logic that fails now that the floating console is optional


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/a3637af1
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/a3637af1
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/a3637af1

Branch: refs/heads/5.4-js-rewrite
Commit: a3637af10990b1285da6d822bc135cdf719c9b23
Parents: a15a1bf
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Wed Oct 3 12:06:24 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed Oct 3 12:06:24 2012 -0700

----------------------------------------------------------------------
 .../integration/app1/CoreBehaviorsTests.java       |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/a3637af1/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java
index 98e0bef..dd3cd41 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java
@@ -1078,10 +1078,7 @@ public class CoreBehaviorsTests extends TapestryCoreTestCase
 
         click("link=ajax");
 
-        waitForCSSSelectedElementToAppear("div.t-console div.t-err");
-
-        assertText(
-                "css=div.t-console div.t-err", "Communication with the server failed: Request event 'action' (on component UnhandledEventDemo:ajax) was not handled; you must provide a matching event handler method in the component or in one of its containers.");
+        // Since 5.4 no longer creates the floating console if a native console exists, its now hard to ensure what was written to the console.
     }
 
     /**