You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ka...@apache.org on 2014/03/26 07:23:35 UTC

git commit: TAP5-2300: JavaScriptSupport.addInitializerCall is not backwards compatible - managed to miss fixing the other test for this

Repository: tapestry-5
Updated Branches:
  refs/heads/master d62d222d6 -> ba8b3524e


TAP5-2300: JavaScriptSupport.addInitializerCall is not backwards
compatible 
- managed to miss fixing the other test for this


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

Branch: refs/heads/master
Commit: ba8b3524e9722f100f99687feff404b9053f3238
Parents: d62d222
Author: kaosko <ka...@apache.org>
Authored: Tue Mar 25 23:23:32 2014 -0700
Committer: kaosko <ka...@apache.org>
Committed: Tue Mar 25 23:23:32 2014 -0700

----------------------------------------------------------------------
 .../internal/services/ajax/JavaScriptSupportImplTest.groovy     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ba8b3524/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/services/ajax/JavaScriptSupportImplTest.groovy
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/services/ajax/JavaScriptSupportImplTest.groovy b/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/services/ajax/JavaScriptSupportImplTest.groovy
index 9d4fe83..5e3a4f4 100644
--- a/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/services/ajax/JavaScriptSupportImplTest.groovy
+++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/internal/services/ajax/JavaScriptSupportImplTest.groovy
@@ -46,7 +46,7 @@ class JavaScriptSupportImplTest extends InternalBaseTestCase {
         train_for_just_core_stack stackSource
 
         linker.addInitialization(InitializationPriority.NORMAL, "t5/core/pageinit", "evalJavaScript",
-            new JSONArray().put("doSomething();"))
+                new JSONArray().put("doSomething();"))
 
         replay()
 
@@ -196,7 +196,6 @@ class JavaScriptSupportImplTest extends InternalBaseTestCase {
         jss.commit()
 
         verify()
-
     }
 
 
@@ -423,7 +422,7 @@ class JavaScriptSupportImplTest extends InternalBaseTestCase {
 
         train_for_just_core_stack stackSource
 
-        train_init(linker, InitializationPriority.NORMAL, "setup", chuck)
+        train_init(linker, InitializationPriority.NORMAL, "setup", "chuck", "yeager")
 
         replay()