From: Choy R. <ch...@us...> - 2005-02-12 09:23:50
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24361/DotNetMock.Framework/Data Modified Files: MockDataParameter.cs MockDataParameterCollection.cs MockDataReader.cs MockTransaction.cs Log Message: Begin to eliminate warnings about missing XML comments ... Index: MockDataReader.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data/MockDataReader.cs,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** MockDataReader.cs 5 Feb 2005 22:05:09 -0000 1.22 --- MockDataReader.cs 12 Feb 2005 09:23:39 -0000 1.23 *************** *** 26,30 **** --- 26,36 ---- private Exception _getException = null; + /// <summary> + /// Create mock implementation of <see cref="IDataReader"/>. + /// </summary> public MockDataReader() {} + /// <summary> + /// Create named mock implementation of <see cref="IDataReader"/>. + /// </summary> public MockDataReader( string mockName ) : base(mockName) { *************** *** 119,122 **** --- 125,131 ---- #region Implementation of IDataReader + /// <summary> + /// <see cref="IDataReader.Close"/> + /// </summary> public void Close() { *************** *** 483,486 **** --- 492,498 ---- #region Implementation of IDisposable + /// <summary> + /// <see cref="IDisposable.Dispose"/> + /// </summary> public void Dispose() { Index: MockDataParameterCollection.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data/MockDataParameterCollection.cs,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** MockDataParameterCollection.cs 9 Oct 2004 21:14:12 -0000 1.14 --- MockDataParameterCollection.cs 12 Feb 2005 09:23:39 -0000 1.15 *************** *** 312,315 **** --- 312,318 ---- #endregion #region MockObject overrides + /// <summary> + /// <see cref="MockObject.Verify"/> + /// </summary> public override void Verify() { Index: MockTransaction.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data/MockTransaction.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MockTransaction.cs 29 Mar 2004 02:30:57 -0000 1.6 --- MockTransaction.cs 12 Feb 2005 09:23:39 -0000 1.7 *************** *** 25,40 **** --- 25,56 ---- #region Mock Methods + /// <summary> + /// Set expected <see cref="Exception"/> on commit. + /// </summary> + /// <param name="exception">expected <see cref="Exception"/></param> public void SetExpectedCommitException( Exception exception ) { _commitException = exception; } + /// <summary> + /// Set expected <see cref="Exception"/> on rollback. + /// </summary> + /// <param name="exception">expected <see cref="Exception"/></param> public void SetExpectedRollbackException( Exception exception ) { _rollbackException = exception; } + /// <summary> + /// Set whether a commit call is expected. + /// </summary> + /// <param name="commit">true if we expect a commit call</param> public void ExpectCommitCall( bool commit ) { _commitCalled.Expected = commit; } + /// <summary> + /// Set whether a rollback call is expected. + /// </summary> + /// <param name="rollback">true if we expect a rollback call</param> public void ExpectRollbackCall( bool rollback ) { Index: MockDataParameter.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data/MockDataParameter.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MockDataParameter.cs 29 Mar 2004 02:34:24 -0000 1.8 --- MockDataParameter.cs 12 Feb 2005 09:23:26 -0000 1.9 *************** *** 227,230 **** --- 227,233 ---- #region IDbDataParameter Members + /// <summary> + /// <see cref="IDbDataParameter.Precision"/> + /// </summary> public byte Precision { *************** *** 240,243 **** --- 243,249 ---- } + /// <summary> + /// <see cref="IDbDataParameter.Scale"/> + /// </summary> public byte Scale { *************** *** 253,256 **** --- 259,265 ---- } + /// <summary> + /// <see cref="IDbDataParameter.Size"/> + /// </summary> public int Size { |