From: <fab...@us...> - 2009-02-04 17:27:52
|
Revision: 4039 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4039&view=rev Author: fabiomaulo Date: 2009-02-04 17:27:51 +0000 (Wed, 04 Feb 2009) Log Message: ----------- Ignore tests specific for MsSQL Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs 2009-02-04 17:25:35 UTC (rev 4038) +++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs 2009-02-04 17:27:51 UTC (rev 4039) @@ -1,5 +1,6 @@ using System.Collections; using System.Collections.Generic; +using NHibernate.Dialect; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; @@ -230,6 +231,10 @@ [Test] public void NativeUpdateQueryWithoutResults() { + if(!(Dialect is MsSql2000Dialect)) + { + Assert.Ignore("This does not apply to {0}", Dialect); + } using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) @@ -243,6 +248,10 @@ [Test] public void NativeScalarQueryWithoutResults() { + if (!(Dialect is MsSql2000Dialect)) + { + Assert.Ignore("This does not apply to {0}", Dialect); + } using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) @@ -258,6 +267,10 @@ [Test] public void NativeScalarQueryWithUndefinedResultset() { + if (!(Dialect is MsSql2000Dialect)) + { + Assert.Ignore("This does not apply to {0}", Dialect); + } using (ISession session = OpenSession()) { using (session.BeginTransaction()) @@ -273,6 +286,10 @@ [Test] public void NativeScalarQueryWithDefinedResultset() { + if (!(Dialect is MsSql2000Dialect)) + { + Assert.Ignore("This does not apply to {0}", Dialect); + } using (ISession session = OpenSession()) { using (session.BeginTransaction()) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |