tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lewis Ship" <hls...@gmail.com>
Subject Re: PageTester test failures
Date Mon, 08 Jan 2007 00:56:01 GMT
More data:

-------------------------------------------------------------------------------
Test set: Tapestry Core
-------------------------------------------------------------------------------
Tests run: 619, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 25.449 sec
<<< FAILURE!
org.apache.tapestry.integration.pagelevel.TemplateInContextTest.template_in_context_root
(
org.apache.tapestry.integration.pagelevel.TemplateInContextTest.template_in_context_root)
Time elapsed: 0.221 sec  <<< FAILURE!
java.lang.RuntimeException: Unable to read last modified time stamp of
resource
file:/Users/Howard/Documents/workspace/tapestry-core/src/test/app2/TestPageForTemplateInContext_en_US.html:
/Users/Howard/Documents/workspace/tapestry-core/src/test/app2/TestPageForTemplateInContext_en_US.html
(No such file or directory)
    at org.apache.tapestry.internal.util.URLChangeTracker.readTimestamp(
URLChangeTracker.java:106)
    at org.apache.tapestry.internal.util.URLChangeTracker.add(
URLChangeTracker.java:45)
    at
org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.parseTemplate
(ComponentTemplateSourceImpl.java:142)
    at
org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.getTemplate
(ComponentTemplateSourceImpl.java:125)
    at
$ComponentTemplateSource_10ffefc7fe0.getTemplate($ComponentTemplateSource_10ffefc7fe0.java)
    at
$ComponentTemplateSource_10ffefc7fc9.getTemplate($ComponentTemplateSource_10ffefc7fc9.java)
    at
org.apache.tapestry.internal.services.PageLoaderImpl.loadTemplateForComponent
(PageLoaderImpl.java:154)
    at
org.apache.tapestry.internal.services.PageLoaderImpl.workComponentQueue(
PageLoaderImpl.java:139)
    at org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(
PageLoaderImpl.java:102)
    at $PageLoader_10ffefc7fdc.loadPage($PageLoader_10ffefc7fdc.java)
    at $PageLoader_10ffefc7fd9.loadPage($PageLoader_10ffefc7fd9.java)
    at org.apache.tapestry.internal.services.PagePoolImpl.checkout(
PagePoolImpl.java:63)
    at $PagePool_10ffefc7fe1.checkout($PagePool_10ffefc7fe1.java)
    at $PagePool_10ffefc7fd8.checkout($PagePool_10ffefc7fd8.java)
    at
org.apache.tapestry.internal.services.RequestPageCacheImpl.getByClassName(
RequestPageCacheImpl.java:60)
    at org.apache.tapestry.internal.services.RequestPageCacheImpl.get(
RequestPageCacheImpl.java:51)
    at $RequestPageCache_10ffefc7fd6.get($RequestPageCache_10ffefc7fd6.java)
    at $RequestPageCache_10ffefc7fd7.get($RequestPageCache_10ffefc7fd7.java)
    at $RequestPageCache_10ffefc7fc4.get($RequestPageCache_10ffefc7fc4.java)
    at org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
PageLinkHandlerImpl.java:38)
    at
$PageLinkHandler_10ffefc7fd5.handle($PageLinkHandler_10ffefc7fd5.java)
    at
$PageLinkHandler_10ffefc7fd1.handle($PageLinkHandler_10ffefc7fd1.java)
    at org.apache.tapestry.test.pagelevel.PageLinkInvoker.invoke(
PageLinkInvoker.java:60)
    at org.apache.tapestry.test.pagelevel.PageTester.invoke(PageTester.java
:215)
    at org.apache.tapestry.test.pagelevel.PageTester.renderPage(
PageTester.java:180)
    at
org.apache.tapestry.integration.pagelevel.TemplateInContextTest.template_in_context_root
(TemplateInContextTest.java:33)

org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_no_file(
org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_no_file)
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<false>
    at org.testng.Assert.fail(Assert.java:76)
    at org.testng.Assert.failNotEquals(Assert.java:348)
    at org.testng.Assert.assertTrue(Assert.java:29)
    at org.testng.Assert.assertNull(Assert.java:291)
    at org.testng.Assert.assertNull(Assert.java:283)
    at
org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_no_file(
PageTesterContextTest.java:40)

org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_is_dir(
org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_is_dir)
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<false>
    at org.testng.Assert.fail(Assert.java:76)
    at org.testng.Assert.failNotEquals(Assert.java:348)
    at org.testng.Assert.assertTrue(Assert.java:29)
    at org.testng.Assert.assertNull(Assert.java:291)
    at org.testng.Assert.assertNull(Assert.java:283)
    at
org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_is_dir(
PageTesterContextTest.java:48)





On 1/7/07, Howard Lewis Ship <hlship@gmail.com> wrote:
>
> This happens from the command line, but not from inside Eclipse:
>
> Tests run: 619, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 25.449sec <<<
FAILURE!
>
> Results :
>
> Failed tests:
>
> org.apache.tapestry.integration.pagelevel.TemplateInContextTest.template_in_context_root(
> org.apache.tapestry.integration.pagelevel.TemplateInContextTest.template_in_context_root
> )
>   org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_no_file(
> org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_no_file )
>   org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_is_dir(
> org.apache.tapestry.test.pagelevel.PageTesterContextTest.to_URL_is_dir)
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.   http://howardlewisship.com




-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message