Revision: 4946
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4946&view=rev
Author: steverstrong
Date: 2010-02-24 16:45:34 +0000 (Wed, 24 Feb 2010)
Log Message:
-----------
Fixed a test that got "refactored" by mistake...
Modified Paths:
--------------
trunk/nhibernate/src/NHibernate.Test/ProjectionFixtures/Fixture.cs
Modified: trunk/nhibernate/src/NHibernate.Test/ProjectionFixtures/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/ProjectionFixtures/Fixture.cs 2010-02-24 15:52:13 UTC (rev 4945)
+++ trunk/nhibernate/src/NHibernate.Test/ProjectionFixtures/Fixture.cs 2010-02-24 16:45:34 UTC (rev 4946)
@@ -55,7 +55,7 @@
using(var s = sessions.OpenSession())
using (var tx = s.BeginTransaction())
{
- s.Delete("from Root");
+ s.Delete("from TreeNode");
tx.Commit();
}
@@ -69,9 +69,9 @@
string expectedMessage =
string.Format(
@"could not execute query
-[ SELECT this_.Id as y0_, count(this_.Area) as y1_ FROM Root this_ WHERE this_.Id = {0} ]
+[ SELECT this_.Id as y0_, count(this_.Area) as y1_ FROM TreeNode this_ WHERE this_.Id = {0} ]
Positional parameters: #0>2
-[SQL: SELECT this_.Id as y0_, count(this_.Area) as y1_ FROM Root this_ WHERE this_.Id = {1}]",
+[SQL: SELECT this_.Id as y0_, count(this_.Area) as y1_ FROM TreeNode this_ WHERE this_.Id = {1}]",
pName, pName);
DetachedCriteria projection = DetachedCriteria.For<TreeNode>("child")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|