tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou" <andre...@gmail.com>
Subject Re: tapestry-ioc test failures
Date Thu, 04 Dec 2008 21:21:02 GMT
so, it looks like the java 1.6 test failures are innocent - see the comments in
OneShotLock (in trunk) and the proposed solution... However, i'll open
an issue for it
and i feel/wish this gets in 5.0final release as well.

On Sat, Nov 22, 2008 at 5:11 PM, Howard Lewis Ship <hlship@gmail.com> wrote:
> I think I'm building usually with JDK 1.5, so I'll try 1.6.
>
> On Sat, Nov 22, 2008 at 2:08 AM, Massimo Lusetti <mlusetti@gmail.com> wrote:
>> On Sat, Nov 22, 2008 at 2:46 AM, Andreas Andreou <andreoua@gmail.com> wrote:
>>
>>> Anyone else that's successfully building from source?
>>
>> This is mine results on a Linux 2.6 box, maven 2.0.9 and jdk 1.6 and 1.5.
>>
>> With jdk 1.6.0_10:
>>
>> -- -------------------------------------------------------------------------------
>> Test set: TestSuite
>> -------------------------------------------------------------------------------
>> Tests run: 596, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
>> 5.701 sec <<< FAILURE!
>> run_may_only_be_called_once(org.apache.tapestry5.ioc.internal.services.RegistryStartupTest)
>>  Time elapsed: 0.008 sec  <<< FAILURE!
>> java.lang.AssertionError: String 'Method
>> org.apache.tapestry5.ioc.internal.services.RegistryStartup.run(' not
>> found in 'Method
>> org.apache.tapestry5.ioc.internal.services.RegistryStartupTest.run_may_only_be_called_once(RegistryStartupTest.java:106)
>> may no longer be invoked.'. 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.apache.tapestry5.ioc.test.TestBase.assertMessageContains(TestBase.java:161)
>>        at org.apache.tapestry5.ioc.internal.services.RegistryStartupTest.run_may_only_be_called_once(RegistryStartupTest.java:111)
>>
>> basic_locking(org.apache.tapestry5.ioc.internal.util.OneShotLockTest)
>> 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.assertTrue(Assert.java:38)
>>        at org.apache.tapestry5.ioc.internal.util.OneShotLockTest.basic_locking(OneShotLockTest.java:40)
>>
>> locking_method_includes_check(org.apache.tapestry5.ioc.internal.util.OneShotLockTest)
>>  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.assertTrue(Assert.java:38)
>>        at org.apache.tapestry5.ioc.internal.util.OneShotLockTest.locking_method_includes_check(OneShotLockTest.java:61)
>>
>>
>>
>> With jdk 1.5.0_12:
>>
>> -------------------------------------------------------------------------------
>> Test set: TestSuite
>> -------------------------------------------------------------------------------
>> Tests run: 596, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.533 sec
>>
>>
>> So it seems an issue when you run on 1.6 ... at least here.
>>
>> --
>> Massimo
>> http://meridio.blogspot.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message