/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile$ * $Revision$ * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef cppunit_emacstestresult_h #define cppunit_emacstestresult_h #include #include #include #include "testshl/getopt.hxx" class Outputter; namespace CppUnit { class SourceLine; class Exception; class Test; /*! \brief Holds printable test result (DEPRECATED). * \ingroup TrackingTestExecution * * deprecated Use class TextTestProgressListener and TextOutputter instead. */ class CPPUNIT_API emacsTestResult : public TestResult /* ,public TestResultCollector*/ { GetOpt & m_aOptions; // OptionHelper m_aOptionHelper; TestResultCollector m_aResulter; public: emacsTestResult(GetOpt & _aOptions); // virtual void addFailure( const TestFailure &failure ); // virtual void startTest( Test *test ); // virtual void endTest( Test *test ); virtual void print( Outputter &stream ); protected: virtual void printHeader( Outputter &stream ); // virtual void printTestLine( Outputter &stream, Test* pTest, std::string const& _sNodeName, std::string const& _sInfo); virtual void printFailureLine( Outputter &stream, TestFailure* pFailure, std::string const& _sNodeName ); }; /** insertion operator for easy output */ // std::ostream &operator <<( std::ostream &stream, // emacsTestResult &result ); } // namespace CppUnit #endif // CPPUNIT_testshlTESTRESULT_H ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2014-11-18java: make fields final where possibleNoel Grandin
2014-11-18java: fix some javadoc errorsNoel Grandin
2014-11-12java: convert fields to local variables where possibleNoel Grandin
2014-11-12java: reduce excessive code indentation levelsNoel Grandin
2014-10-17java: final fields that can be staticNoel Grandin
2014-10-16java: always use braces for while loopsNoel Grandin
2014-10-13nlpsolver: ensure that the stream is cleaned up before the method returnsRobert Antoni Buj i Gelonch
2014-09-02nlpsolver: fix javadoc error: bad use of '>'rbuj
2014-08-20remove more unnecessary constructor declarationsNoel Grandin
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
2014-08-20java: remove modifiers implied by the contextNoel Grandin
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
2014-08-19java: remove unused methodsNoel Grandin
2014-08-14java: remove unused importsNoel Grandin
2014-08-14java: remove commented out codeNoel Grandin
2014-08-13remove dead java constantsNoel Grandin
2014-08-13make some java fields privateNoel Grandin
2014-08-13java: remove dead methodsNoel Grandin
2014-08-13fix makefileNoel Grandin
2014-08-13java: remove unused enum valuesNoel Grandin
2014-08-13java: remove unused fieldsNoel Grandin
2014-08-13java: reduce scope, make some methods privateNoel Grandin
2014-08-13java: reduce scope, make member classes privateNoel Grandin
2014-08-13java: reduce scope, make fields privateNoel Grandin
2014-08-13java: reduce scope, make constructors privateNoel Grandin
2014-08-12java: reduce scope, make constants privateNoel Grandin
2014-08-12java: fix broken javadoc tagsNoel Grandin
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
2014-08-08java: remove unnecessary semi-colonsNoel Grandin
2014-08-07nlpsolver: Use System.arraycopyrbuj
2014-08-07nlpsolver: Number parsingrbuj
2014-08-07convert EvolutionarySolver source to unix LFNoel Grandin
2014-08-05java: remove commented out codeNoel Grandin
2014-08-05java: remove some unused fields in the ODK examplesNoel Grandin
2014-08-04java: remove some unused fields in the ODK examplesNoel Grandin
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky
2014-04-27fdo#78004 fix string formattingAlex Gulyás
2014-02-26Remove trailing whitespace from nlpsolverAlexander Wilms
2014-01-08Some ConfigurationProvider -> theDefaultProvider simplificationsStephan Bergmann