[MonoDevelop] [Patch] Make T4 unit tests independent of the runtime

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Nov 30 15:31:26 EST 2009


On Fri, Nov 27, 2009 at 3:22 PM, Olivier Dagenais
<olivier.dagenais at gmail.com> wrote:
> Hi,
>
> I was running the T4 tests using .NET 2.0 when I noticed they would
> fail due to a few differences in the "auto-generated" comment.
> Although it would be possible to make a few fixes here and there to
> the comment generation itself (somewhere in CodeDOM, I suppose), there
> would still be some differences in the version number, so my solution
> is to simply strip that header so it is not considered for comparison.
>  All tests should now pass under both Mono and .NET.
>
> This code is licensed to Novell/Mono under the MIT License.  The patch
> was created with
> <http://anonsvn.mono-project.com/source/trunk/monodevelop/main/src/addins/TextTemplating>
> as a base.  Let me know if you need me to change anything, etc.

Committed, thanks!

(I had to change a few things to match our style, notably use tabs,
space before '(', and '{' on same line).

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list