Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock In directory usw-pr-cvs1:/tmp/cvs-serv22770/DotNetMock Modified Files: AbstractExpectationCollection.cs DotNetMock.csproj ExpectationString.cs ExpectationValue.cs MockObject.cs Log Message: Added MockDataParameter Index: AbstractExpectationCollection.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/AbstractExpectationCollection.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AbstractExpectationCollection.cs 25 Sep 2002 00:12:21 -0000 1.1 --- AbstractExpectationCollection.cs 29 Sep 2002 23:15:57 -0000 1.2 *************** *** 90,93 **** --- 90,94 ---- public override void Verify() { + NUnit.Framework.Assertion.AssertEquals(GetExpectedCollection().Count, GetActualCollection().Count); for (int i = 0; i < GetActualCollection().Count; i++) { Index: DotNetMock.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/DotNetMock.csproj,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DotNetMock.csproj 25 Sep 2002 00:12:21 -0000 1.6 --- DotNetMock.csproj 29 Sep 2002 23:15:57 -0000 1.7 *************** *** 108,111 **** --- 108,116 ---- /> <File + RelPath = "ExpectationBool.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "ExpectationCollection.cs" SubType = "Code" *************** *** 123,126 **** --- 128,136 ---- /> <File + RelPath = "ExpectationType.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "ExpectationValue.cs" SubType = "Code" *************** *** 149,152 **** --- 159,172 ---- <File RelPath = "Verifier.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "sql\MockDataParameter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "sql\MockDataParameterCollection.cs" SubType = "Code" BuildAction = "Compile" Index: ExpectationString.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/ExpectationString.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ExpectationString.cs 21 Sep 2002 06:19:18 -0000 1.3 --- ExpectationString.cs 29 Sep 2002 23:15:57 -0000 1.4 *************** *** 65,69 **** if (this.HasExpectations) { ! NUnit.Framework.Assertion.AssertEquals(this._expectedString, this._actualString); } } --- 65,69 ---- if (this.HasExpectations) { ! NUnit.Framework.Assertion.AssertEquals("String values not equal.", this._expectedString, this._actualString); } } Index: ExpectationValue.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/ExpectationValue.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ExpectationValue.cs 21 Sep 2002 06:19:18 -0000 1.6 --- ExpectationValue.cs 29 Sep 2002 23:15:57 -0000 1.7 *************** *** 66,70 **** if (this.HasExpectations) { ! NUnit.Framework.Assertion.AssertEquals(this._expectedValue, this._actualValue); } } --- 66,70 ---- if (this.HasExpectations) { ! NUnit.Framework.Assertion.AssertEquals("Object values do not equal.",this._expectedValue, this._actualValue); } } Index: MockObject.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/MockObject.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MockObject.cs 21 Sep 2002 06:19:18 -0000 1.3 --- MockObject.cs 29 Sep 2002 23:15:57 -0000 1.4 *************** *** 8,12 **** public class MockObject : Verifiable { ! public MockObject() {} /// <summary> /// Asserts two objects are equal. --- 8,19 ---- public class MockObject : Verifiable { ! protected string _name = null; ! public MockObject(string name) { ! _name = name; ! } ! public MockObject() ! { ! _name = "MockObject"; ! } /// <summary> /// Asserts two objects are equal. |