the temporary file created is not in the classpath root, more later
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/feee33d7 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/feee33d7 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/feee33d7 Branch: refs/heads/5.3 Commit: feee33d73dd61c63d21db4bdbca3d2a6a48ca5ab Parents: 8627952 Author: Massimo Lusetti <[email protected]> Authored: Tue Apr 23 10:39:25 2013 +0200 Committer: Massimo Lusetti <[email protected]> Committed: Tue Apr 23 10:39:25 2013 +0200 ---------------------------------------------------------------------- .../internal/plastic/PlasticUtilsTests.groovy | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/feee33d7/plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy ---------------------------------------------------------------------- diff --git a/plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy b/plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy index 94d4ec5..2110ff3 100644 --- a/plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy +++ b/plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy @@ -30,7 +30,7 @@ class PlasticUtilsTests extends Specification file.createNewFile(); file.deleteOnExit(); expect: - PlasticInternalUtils.getStreamForPath(getClass().classLoader, file.getAbsolutePath().substring(new File(url.toURI()).getAbsolutePath().length()) ) != null + PlasticInternalUtils.getStreamForPath(getClass().classLoader, "webapp##01.test" ) != null } def "Descriptor #descriptor as class name should be #className"()
