Kevin Dente's Blog

The Blip in the Noise
Whidbey Unit Testing Generated Code - yikes

I was just poking around in some of the code that the Whidbey Unit Testing framework generates, and was shocked at what I saw:

public Form1Accessor(object target) {
        m_privateObject = new Microsoft.VisualStudio.QualityTools.UnitTesting.Framework.PrivateObject(target);
}

Huh? “m_”? Hungarian? Methinks Rory will be most displeased. ;)

 

 

Published Thursday, June 03, 2004 5:38 PM by kevindente

Comments

# re: Whidbey Unit Testing Generated Code - yikes@ Thursday, July 01, 2004 5:15 PM

Luckily, VS2005 also includes a very reliable Rename Refactoring for C#.

jaybaz [MS]