Repository: tapestry-5 Updated Branches: refs/heads/master e5afaa0e1 -> 2cc30a6bd
Revert "TAP5-2428: Move Java sources from tapestry-core src/test/groovy to src/test/java" This reverts commit b62ddffd51179469505eedde97977c2731153623. Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/d165b9c0 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/d165b9c0 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/d165b9c0 Branch: refs/heads/master Commit: d165b9c06250fac29d643636bcac4d1a931e5619 Parents: e5afaa0 Author: Howard M. Lewis Ship <hls...@apache.org> Authored: Wed Dec 24 10:40:07 2014 -0800 Committer: Howard M. Lewis Ship <hls...@apache.org> Committed: Wed Dec 24 10:40:07 2014 -0800 ---------------------------------------------------------------------- .../integration/app1/pages/LogoSubclass.java | 7 +++++ .../tapestry5/pagetester/PageTesterTest.java | 31 ++++++++++++++++++++ .../integration/app1/pages/LogoSubclass.java | 7 ----- .../tapestry5/pagetester/PageTesterTest.java | 29 ------------------ 4 files changed, 38 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d165b9c0/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java new file mode 100644 index 0000000..96e3345 --- /dev/null +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java @@ -0,0 +1,7 @@ +package org.apache.tapestry5.integration.app1.pages; + +import org.apache.tapestry5.integration.locallib.alpha.pages.Logo; + +public class LogoSubclass extends Logo +{ +} http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d165b9c0/tapestry-core/src/test/groovy/org/apache/tapestry5/pagetester/PageTesterTest.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/pagetester/PageTesterTest.java b/tapestry-core/src/test/groovy/org/apache/tapestry5/pagetester/PageTesterTest.java new file mode 100644 index 0000000..68bcda7 --- /dev/null +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/pagetester/PageTesterTest.java @@ -0,0 +1,31 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package org.apache.tapestry5.pagetester; + +import org.apache.tapestry5.test.PageTester; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class PageTesterTest extends Assert +{ + + @Test + public void setupRequestFromURI_accepts_query_strings() + { + PageTester pageTester = new PageTester("org.example.app1", "app1"); + + pageTester.setupRequestFromURI("/foo/somePage?param=value"); + } + +} http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d165b9c0/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java deleted file mode 100644 index 96e3345..0000000 --- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/LogoSubclass.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.apache.tapestry5.integration.app1.pages; - -import org.apache.tapestry5.integration.locallib.alpha.pages.Logo; - -public class LogoSubclass extends Logo -{ -} http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d165b9c0/tapestry-core/src/test/java/org/apache/tapestry5/pagetester/PageTesterTest.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/pagetester/PageTesterTest.java b/tapestry-core/src/test/java/org/apache/tapestry5/pagetester/PageTesterTest.java deleted file mode 100644 index c580c91..0000000 --- a/tapestry-core/src/test/java/org/apache/tapestry5/pagetester/PageTesterTest.java +++ /dev/null @@ -1,29 +0,0 @@ -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -package org.apache.tapestry5.pagetester; - -import org.apache.tapestry5.test.PageTester; -import org.testng.Assert; -import org.testng.annotations.Test; - -public class PageTesterTest extends Assert -{ - - @Test - public void setupRequestFromURI_accepts_query_strings() - { - PageTester pageTester = new PageTester("org.example.app1", "app1"); - - pageTester.setupRequestFromURI("/foo/somePage?param=value"); - } - -}