Fix broken tests
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/6710c07c Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/6710c07c Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/6710c07c Branch: refs/heads/5.4-js-rewrite Commit: 6710c07cac49fde15594960ba49d73af46fc92c7 Parents: e0dd5d2 Author: Howard M. Lewis Ship <[email protected]> Authored: Tue Nov 27 17:35:34 2012 +0000 Committer: Howard M. Lewis Ship <[email protected]> Committed: Tue Nov 27 17:35:34 2012 +0000 ---------------------------------------------------------------------- .../tapestry5/integration/app1/DynamicTest.groovy | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6710c07c/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/DynamicTest.groovy ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/DynamicTest.groovy b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/DynamicTest.groovy index 6ce9b18..f18d20a 100644 --- a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/DynamicTest.groovy +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/DynamicTest.groovy @@ -1,4 +1,4 @@ -// Copyright 2011 The Apache Software Foundation +// Copyright 2011, 2012 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,10 +14,10 @@ package org.apache.tapestry5.integration.app1 -import org.apache.tapestry5.test.SeleniumTestCase; -import org.testng.annotations.Test; +import org.apache.tapestry5.integration.TapestryCoreTestCase +import org.testng.annotations.Test -class DynamicTest extends SeleniumTestCase +class DynamicTest extends TapestryCoreTestCase { void clickThru(link) { openBaseURL(); @@ -73,7 +73,7 @@ class DynamicTest extends SeleniumTestCase void exception_inside_expansion() { clickThru "Invalid Dynamic Expression" - assertTextPresent "An unexpected application exception has occurred", + assertTextPresent EXCEPTION_PROCESSING_REQUEST, "InvalidExpressionInDynamicTemplate does not contain a property (or public field) named 'xyzzyx'", 'The magic word is: ${xyzzyx}' }
