From: <fab...@us...> - 2008-11-10 17:29:16
|
Revision: 3905 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3905&view=rev Author: fabiomaulo Date: 2008-11-10 17:29:13 +0000 (Mon, 10 Nov 2008) Log Message: ----------- Test available only where the drive support multi-queries Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs 2008-11-10 13:31:01 UTC (rev 3904) +++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs 2008-11-10 17:29:13 UTC (rev 3905) @@ -1,9 +1,5 @@ using System; -using System.Collections; -using System.Collections.Generic; - -using NHibernate.Criterion; - +using NHibernate.Driver; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1508 @@ -11,6 +7,17 @@ [TestFixture] public class Fixture : BugTestCase { + [TestFixtureSetUp] + public void CheckMultiQuerySupport() + { + TestFixtureSetUp(); + IDriver driver = sessions.ConnectionProvider.Driver; + if (!driver.SupportsMultipleQueries) + { + Assert.Ignore("Driver {0} does not support multi-queries", driver.GetType().FullName); + } + } + protected override void OnSetUp() { Person john = new Person(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |