This list is closed, nobody may subscribe to it.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(99) |
Feb
(163) |
Mar
(3) |
Apr
(33) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(10) |
Apr
|
May
|
Jun
(16) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Griffin C. <gc...@us...> - 2005-01-01 01:45:02
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16529/DotNetMock.Examples Modified Files: DotNetMock.Examples.csproj Log Message: - Turned on XML Doc generation - Turned on "Treat warnings as errors option" Index: DotNetMock.Examples.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Examples/DotNetMock.Examples.csproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DotNetMock.Examples.csproj 31 Mar 2004 03:07:49 -0000 1.5 --- DotNetMock.Examples.csproj 1 Jan 2005 01:44:47 -0000 1.6 *************** *** 30,34 **** ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" --- 30,34 ---- ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "bin\Debug\.xml" DebugSymbols = "true" FileAlignment = "4096" *************** *** 40,44 **** RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" WarningLevel = "4" /> --- 40,44 ---- RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "true" WarningLevel = "4" /> |
From: Griffin C. <gc...@us...> - 2005-01-01 01:45:01
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.csUnitNamespace In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16529/DotNetMock.csUnitNamespace Modified Files: DotNetMock.csUnitNamespace.csproj Log Message: - Turned on XML Doc generation - Turned on "Treat warnings as errors option" Index: DotNetMock.csUnitNamespace.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.csUnitNamespace/DotNetMock.csUnitNamespace.csproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DotNetMock.csUnitNamespace.csproj 22 Mar 2004 03:51:48 -0000 1.1 --- DotNetMock.csUnitNamespace.csproj 1 Jan 2005 01:44:48 -0000 1.2 *************** *** 30,34 **** ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" --- 30,34 ---- ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "bin\Debug\.xml" DebugSymbols = "true" FileAlignment = "4096" *************** *** 40,44 **** RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" WarningLevel = "4" /> --- 40,44 ---- RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "true" WarningLevel = "4" /> *************** *** 77,81 **** <Reference Name = "System.XML" ! AssemblyName = "System.XML" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> --- 77,81 ---- <Reference Name = "System.XML" ! AssemblyName = "System.Xml" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> |
From: Griffin C. <gc...@us...> - 2005-01-01 01:45:01
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16529/DotNetMock Modified Files: DotNetMock.csproj Log Message: - Turned on XML Doc generation - Turned on "Treat warnings as errors option" Index: DotNetMock.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/DotNetMock.csproj,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** DotNetMock.csproj 10 Oct 2004 06:52:32 -0000 1.26 --- DotNetMock.csproj 1 Jan 2005 01:44:49 -0000 1.27 *************** *** 30,34 **** ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" --- 30,34 ---- ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "bin\Debug.xml" DebugSymbols = "true" FileAlignment = "4096" *************** *** 40,44 **** RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" WarningLevel = "4" /> --- 40,44 ---- RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "true" WarningLevel = "4" /> |
From: Griffin C. <gc...@us...> - 2005-01-01 01:44:59
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.NUnit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16529/DotNetMock.NUnit Modified Files: DotNetMock.NUnit.csproj Log Message: - Turned on XML Doc generation - Turned on "Treat warnings as errors option" Index: DotNetMock.NUnit.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.NUnit/DotNetMock.NUnit.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DotNetMock.NUnit.csproj 19 Jul 2004 22:34:47 -0000 1.2 --- DotNetMock.NUnit.csproj 1 Jan 2005 01:44:47 -0000 1.3 *************** *** 30,34 **** ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" --- 30,34 ---- ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "bin\Debug\.xml" DebugSymbols = "true" FileAlignment = "4096" *************** *** 40,44 **** RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" WarningLevel = "4" /> --- 40,44 ---- RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "true" WarningLevel = "4" /> |
From: Griffin C. <gc...@us...> - 2005-01-01 01:44:58
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16529/DotNetMock.Framework Modified Files: DotNetMock.Framework.csproj Log Message: - Turned on XML Doc generation - Turned on "Treat warnings as errors option" Index: DotNetMock.Framework.csproj =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/DotNetMock.Framework.csproj,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** DotNetMock.Framework.csproj 10 Jul 2004 13:23:09 -0000 1.14 --- DotNetMock.Framework.csproj 1 Jan 2005 01:44:47 -0000 1.15 *************** *** 30,34 **** ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" --- 30,34 ---- ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "bin\Debug\.xml" DebugSymbols = "true" FileAlignment = "4096" *************** *** 40,44 **** RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" WarningLevel = "4" /> --- 40,44 ---- RegisterForComInterop = "false" RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "true" WarningLevel = "4" /> |
From: Griffin C. <gc...@us...> - 2005-01-01 01:38:44
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Generate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15586/DotNetMock/Dynamic/Generate Modified Files: Tag: RFE_1001778 ClassGenerator.cs Log Message: - Refactored to std naming conventions - removed unused Type parameter from implementMethod() Index: ClassGenerator.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Generate/ClassGenerator.cs,v retrieving revision 1.6.2.7 retrieving revision 1.6.2.8 diff -C2 -d -r1.6.2.7 -r1.6.2.8 *** ClassGenerator.cs 27 Dec 2004 00:45:28 -0000 1.6.2.7 --- ClassGenerator.cs 1 Jan 2005 01:38:33 -0000 1.6.2.8 *************** *** 7,11 **** using System.Reflection; using System.Reflection.Emit; - using System.Security; using DotNetMock.Dynamic; --- 7,10 ---- *************** *** 25,30 **** public ClassGenerator() { ! _assemblyBuilder = ! NewAssemblyBuilder(AssemblyBuilderAccess.Run); _moduleBuilder = _assemblyBuilder.DefineDynamicModule("MockModule"); } --- 24,28 ---- public ClassGenerator() { ! _assemblyBuilder = newAssemblyBuilder(AssemblyBuilderAccess.Run); _moduleBuilder = _assemblyBuilder.DefineDynamicModule("MockModule"); } *************** *** 36,56 **** public ClassGenerator(string filename) { ! _assemblyBuilder = ! NewAssemblyBuilder(AssemblyBuilderAccess.RunAndSave); _moduleBuilder = _assemblyBuilder.DefineDynamicModule("MockModule", filename); _assemblyFilename = filename; } - - private static AssemblyBuilder NewAssemblyBuilder(AssemblyBuilderAccess access) - { - AppDomain appDomain = AppDomain.CurrentDomain; - AssemblyName assemblyName = new AssemblyName(); - assemblyName.Name = "DynamicMockAssembly"; - return appDomain.DefineDynamicAssembly( - assemblyName, - access - ); - } - public object Generate(Type type, IMockedCallHandler mock) { --- 34,41 ---- public ClassGenerator(string filename) { ! _assemblyBuilder = newAssemblyBuilder(AssemblyBuilderAccess.RunAndSave); _moduleBuilder = _assemblyBuilder.DefineDynamicModule("MockModule", filename); _assemblyFilename = filename; } public object Generate(Type type, IMockedCallHandler mock) { *************** *** 60,64 **** foreach ( MethodInfo m in methods ) { ! implementMethod(type, typeBuilder, m, mockFieldBuilder); } Type proxyType = typeBuilder.CreateType(); --- 45,49 ---- foreach ( MethodInfo m in methods ) { ! implementMethod(typeBuilder, m, mockFieldBuilder); } Type proxyType = typeBuilder.CreateType(); *************** *** 113,117 **** } ! private void implementMethod(Type type, TypeBuilder typeBuilder, MethodInfo m, FieldBuilder mockFieldBuilder) { Type returnType = m.ReturnType; --- 98,102 ---- } ! private void implementMethod(TypeBuilder typeBuilder, MethodInfo m, FieldBuilder mockFieldBuilder) { Type returnType = m.ReturnType; *************** *** 219,222 **** --- 204,214 ---- il.Emit(OpCodes.Ret); } + private static AssemblyBuilder newAssemblyBuilder(AssemblyBuilderAccess access) + { + AppDomain appDomain = AppDomain.CurrentDomain; + AssemblyName assemblyName = new AssemblyName(); + assemblyName.Name = "DynamicMockAssembly"; + return appDomain.DefineDynamicAssembly( assemblyName, access ); + } } |
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12723/DotNetMock/Dynamic Modified Files: Tag: RFE_1001778 AbstractArgumentMutator.cs Assign.cs IArgumentMutator.cs IMockedCallHandler.cs IPredicate.cs Log Message: - Added XML Comments. - Refactored class layout to match other classes ( moved member declaration to top of class ) - Removed useless 'using' directives Index: Assign.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Attic/Assign.cs,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Assign.cs 31 Dec 2004 23:39:04 -0000 1.1.2.2 --- Assign.cs 1 Jan 2005 01:19:49 -0000 1.1.2.3 *************** *** 3,7 **** #endregion #region Imports - using System; #endregion --- 3,6 ---- *************** *** 14,26 **** public class Assign : AbstractArgumentMutator { public Assign(object newValue) { _newValue = newValue; } public override void Mutate(ref object parameterValue) { parameterValue = _newValue; } - private object _newValue; } } --- 13,33 ---- public class Assign : AbstractArgumentMutator { + private object _newValue; + /// <summary> + /// Default constructor. + /// </summary> + /// <param name="newValue">Value to assgin when Mutate calls are performed.</param> public Assign(object newValue) { _newValue = newValue; } + /// <summary> + /// Exchanges the input parameter with the value originally associate with this instance. + /// </summary> + /// <param name="parameterValue">argument to change</param> public override void Mutate(ref object parameterValue) { parameterValue = _newValue; } } } Index: IArgumentMutator.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Attic/IArgumentMutator.cs,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** IArgumentMutator.cs 30 Dec 2004 00:04:36 -0000 1.1.2.1 --- IArgumentMutator.cs 1 Jan 2005 01:19:49 -0000 1.1.2.2 *************** *** 3,7 **** #endregion #region Imports ! using System; #endregion --- 3,7 ---- #endregion #region Imports ! #endregion *************** *** 21,26 **** /// Mutate the argument value. /// </summary> ! /// <param name="argument">reference to argument that must ! /// be modified</param> void Mutate(ref object argument); } --- 21,25 ---- /// Mutate the argument value. /// </summary> ! /// <param name="argument">reference to argument that must be modified</param> void Mutate(ref object argument); } Index: AbstractArgumentMutator.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Attic/AbstractArgumentMutator.cs,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** AbstractArgumentMutator.cs 30 Dec 2004 00:04:36 -0000 1.1.2.1 --- AbstractArgumentMutator.cs 1 Jan 2005 01:19:48 -0000 1.1.2.2 *************** *** 3,7 **** #endregion #region Imports ! using System; #endregion --- 3,7 ---- #endregion #region Imports ! #endregion *************** *** 11,20 **** /// Abstract base class for all argument mutators. /// </summary> ! public abstract class AbstractArgumentMutator : ! IArgumentMutator, ! IPredicate { public abstract void Mutate(ref object argument); ! public object AndRequire(IPredicate predicate) { --- 11,29 ---- /// Abstract base class for all argument mutators. /// </summary> ! /// <author>Griffin Caprio</author> ! /// <author>Choy Rim</author> ! public abstract class AbstractArgumentMutator : IArgumentMutator, IPredicate { + private IPredicate _predicate = null; + /// <summary> + /// Abstract method representing the exchanging of parameters + /// </summary> + /// <param name="argument">argument to change</param> public abstract void Mutate(ref object argument); ! /// <summary> ! /// Chains the current instance to another predicate to evaluate when exchanging parameters ! /// </summary> ! /// <param name="predicate"><see cref="IPredicate"/> to use for evaluation</param> ! /// <returns>reference to this instance</returns> public object AndRequire(IPredicate predicate) { *************** *** 22,27 **** return this; } ! ! public virtual bool Eval(object currentValue) { if ( _predicate==null ) --- 31,41 ---- return this; } ! /// <summary> ! /// If there is no predicate associate with this mutator, returns true. Otherwise, evaluates the ! /// input value according to the predicate. ! /// </summary> ! /// <param name="inputValue">Value to evaluate</param> ! /// <returns>The Result of the predicate evaluation, or true if no predicate is assigned to this instance.</returns> ! public virtual bool Eval(object inputValue) { if ( _predicate==null ) *************** *** 29,36 **** return true; } ! return _predicate.Eval(currentValue); } - private IPredicate _predicate = null; } } --- 43,49 ---- return true; } ! return _predicate.Eval(inputValue); } } } Index: IPredicate.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/IPredicate.cs,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** IPredicate.cs 23 Aug 2004 02:36:01 -0000 1.5 --- IPredicate.cs 1 Jan 2005 01:19:49 -0000 1.5.2.1 *************** *** 10,16 **** /// A boolean result /// </summary> ! /// <param name="currentValue"></param> ! /// <returns></returns> ! bool Eval(object currentValue); } } --- 10,16 ---- /// A boolean result /// </summary> ! /// <param name="inputValue">Value to evaluate against</param> ! /// <returns>True/False if the current value equals the input value </returns> ! bool Eval(object inputValue); } } Index: IMockedCallHandler.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Attic/IMockedCallHandler.cs,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** IMockedCallHandler.cs 27 Dec 2004 00:45:28 -0000 1.1.2.3 --- IMockedCallHandler.cs 1 Jan 2005 01:19:49 -0000 1.1.2.4 *************** *** 3,7 **** #endregion #region Imports - using System; using System.Reflection; #endregion --- 3,6 ---- |
From: Choy R. <ch...@us...> - 2004-12-31 23:39:17
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21605/DotNetMock/Dynamic Modified Files: Tag: RFE_1001778 Assign.cs Log Message: Changed doc to make a bit more accurate (not really). Index: Assign.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Attic/Assign.cs,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** Assign.cs 30 Dec 2004 00:04:36 -0000 1.1.2.1 --- Assign.cs 31 Dec 2004 23:39:04 -0000 1.1.2.2 *************** *** 9,13 **** { /// <summary> ! /// Parameter constraint that modifies ref/out parameters. /// </summary> public class Assign : AbstractArgumentMutator --- 9,14 ---- { /// <summary> ! /// An argument expectation that assigns a new value to ref/out ! /// parameters. /// </summary> public class Assign : AbstractArgumentMutator |