[MonoDevelop] [Patch] Make T4 unit tests independent of the runtime
Olivier Dagenais
olivier.dagenais at gmail.com
Fri Nov 27 15:22:06 EST 2009
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.
Cheers,
- Oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeTestsRuntimeIndependent.patch
Type: application/octet-stream
Size: 2662 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20091127/bea661af/attachment.obj
More information about the Monodevelop-list
mailing list