WTF::MD5 and WTF::SHA1 classes run unit tests in their constructors. We should move these somewhere else. Comment from Kent Tamura in bug 55039: > I don't like having tests in SHA1.cpp and they are called by the constructor though I understand it's same as MD5. > Would you file a bug about the test location of SHA1 and MD5, and add a FIXME comment please?
Making this bug depend on bug 21010, because C++ unit test should be a perfect place to put these tests.