On Thursday, January 26, 2012 10:08:24 H. S. Teoh wrote: > I just noticed that unittests are running before static class ctors. Is > this a bug?? > > I suppose the intention is for unittests to make sure the class > implementation is OK before using it, but this makes it impossible to > use unittests to make sure that static ctors are setting up the initial > states correctly.
I would definitely think that that's a bug. If you're seeing that happen, please report it. - Jonathan M Davis
