From: <fab...@us...> - 2009-05-08 16:07:28
|
Revision: 4269 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4269&view=rev Author: fabiomaulo Date: 2009-05-08 16:07:27 +0000 (Fri, 08 May 2009) Log Message: ----------- With clause on air Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Test/HQL/Ast/WithClauseFixture.cs Modified: trunk/nhibernate/src/NHibernate.Test/HQL/Ast/WithClauseFixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/HQL/Ast/WithClauseFixture.cs 2009-05-08 15:37:38 UTC (rev 4268) +++ trunk/nhibernate/src/NHibernate.Test/HQL/Ast/WithClauseFixture.cs 2009-05-08 16:07:27 UTC (rev 4269) @@ -4,7 +4,7 @@ namespace NHibernate.Test.HQL.Ast { - [TestFixture, Ignore("Not suported yet.")] + [TestFixture] public class WithClauseFixture : BaseFixture { public ISession OpenNewSession() @@ -21,8 +21,8 @@ ISession s = OpenSession(); ITransaction txn = s.BeginTransaction(); - Assert.Throws<HibernateException>( - () => + Assert.Throws<SemanticException>( + () => s.CreateQuery("from Animal a inner join fetch a.offspring as o with o.bodyWeight = :someLimit").SetDouble( "someLimit", 1).List(), "ad-hoc on clause allowed with fetched association"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |