Writing StandaloneExecutable-based unit tests
From MDC
Some tests need to be written in C++ or other languages that need to be compiled to produce a standalone executable. An example of where this has been done is at http://lxr.mozilla.org/mozilla/source/layout/html/tests/TestCSSPropertyLookup.cpp, which builds an executable to be installed in the OBJDIR.