From: <gc...@us...> - 2002-10-30 04:16:35
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock In directory usw-pr-cvs1:/tmp/cvs-serv28292/DotNetMock Modified Files: MockObject.cs Null.cs Added Files: verifyException.cs Log Message: --- NEW FILE: verifyException.cs --- using System; using System.Runtime.Serialization; namespace DotNetMock { [Serializable()] public class VerifyException : ApplicationException { public VerifyException() : base() {} public VerifyException(string message) : base(message) {} public VerifyException(string message, Exception innerException) : base(message, innerException) {} protected VerifyException(SerializationInfo serialInfo, StreamingContext streamingContext) : base(serialInfo, streamingContext) {} } } Index: MockObject.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/MockObject.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MockObject.cs 25 Oct 2002 03:02:25 -0000 1.6 --- MockObject.cs 30 Oct 2002 04:16:32 -0000 1.7 *************** *** 6,9 **** --- 6,11 ---- /// Base Mock Object. All custom Mock Objects should extend this object. /// </summary> + + // TODO: Extend MarshalByRefObject to take care of remoting issues. public class MockObject : IVerifiable { Index: Null.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Null.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Null.cs 11 Oct 2002 03:07:59 -0000 1.3 --- Null.cs 30 Oct 2002 04:16:32 -0000 1.4 *************** *** 5,16 **** /// Summary description for Null Class. /// </summary> ! public class Null { private string _name; ! public Null() { _name = "null"; } ! public Null(string name) { _name = name; } --- 5,16 ---- /// Summary description for Null Class. /// </summary> ! public class NullObject { private string _name; ! public NullObject() { _name = "null"; } ! public NullObject(string name) { _name = name; } *************** *** 30,34 **** public override bool Equals(Object other) { ! return (other is Null); } /// <summary> --- 30,34 ---- public override bool Equals(Object other) { ! return (other is NullObject); } /// <summary> |