void ChatWindowStyle_Test::allTests() { testStyle = new ChatWindowStyle(QString(SRCDIR)+QString("/TestStyle")); // change user data dir to avoid messing with user's .kde dir setenv( "KDEHOME", QFile::encodeName( QDir::homePath() + "/.kopete-unittest" ), true ); testPaths(); testHtml(); testVariants(); testAction(); }
int ut_ANameValuePair_General() { int iRet = 0x0; std::cerr << "ut_ANameValuePair_General" << std::endl; testSimple(iRet); NEWLINE_UNIT_TEST(); testXml(iRet); NEWLINE_UNIT_TEST(); testJson(iRet); NEWLINE_UNIT_TEST(); testRegValue(iRet); NEWLINE_UNIT_TEST(); testHtml(iRet); NEWLINE_UNIT_TEST(); testFormMultiPart(iRet); return iRet; }