[Mono-dev] nunit test upgrading task force
robertj at gmx.net
Tue Jun 23 06:56:28 EDT 2009
> We could automate the change using a regexp and do a massive replace, no?
> Using Notepad++ (http://notepad-plus.sourceforge.net/uk/regExpList.php),
> this seems to work fine:
> AssertEquals \((.+[^,]),(.+[^,]), (.+[^,])\);
> Replace with:
> Assert.AreEqual (\2, \3, \1);
> Needs a bit more work to remove the " : Assertion" part, but that's the
> What do you think?
I believe Atsushi does not care how this conversion is performed
as long as he doesn't have to do on his own. You may use a regexp
or a farm of typing monkeys as long you "just do it" (TM) :)
More information about the Mono-devel-list