Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23657/Support
Modified Files:
TestDbProvider.cs
Log Message:
SPRNET-776 - Unit tests for AdoPlatformTransactionManager
update docs to reflect limitations of AdoPlatformTransactionManager for nested transactions.
code cleanup in AdoTemplate, ConnectionUtils
Index: TestDbProvider.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Support/TestDbProvider.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TestDbProvider.cs 20 Nov 2007 04:04:05 -0000 1.9
--- TestDbProvider.cs 28 Nov 2007 05:54:56 -0000 1.10
***************
*** 37,40 ****
--- 37,41 ----
{
private string connectionString;
+ private IDbConnection connection;
protected IDbMetadata dbMetadata;
***************
*** 72,76 ****
public IDbConnection CreateConnection()
{
! throw new NotImplementedException();
}
--- 73,77 ----
public IDbConnection CreateConnection()
{
! return connection;
}
***************
*** 135,138 ****
}
}
! }
}
--- 136,147 ----
}
}
!
! #region Stub method to set behavior
!
! public IDbConnection ConnectionToCreate
! {
! set { connection = value;}
! }
! #endregion
! }
}
|