Show
Ignore:
Timestamp:
08/05/09 14:40:03 (15 years ago)
Author:
mido
Message:

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/unittest-cpp/XmlTestReporter.h

    r418 r477  
    66#include <iosfwd> 
    77 
    8 namespace UnitTest 
    9 { 
     8namespace UnitTest { 
    109 
    11 class XmlTestReporter : public DeferredTestReporter 
    12 { 
     10class XmlTestReporter : public DeferredTestReporter { 
    1311public: 
    14     explicit XmlTestReporter(std::ostream& ostream); 
     12        explicit XmlTestReporter ( std::ostream& ostream ); 
    1513 
    16     virtual void ReportSummary(int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed); 
     14        virtual void ReportSummary ( int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed ); 
    1715 
    1816private: 
    19     XmlTestReporter(XmlTestReporter const&); 
    20     XmlTestReporter& operator=(XmlTestReporter const&); 
     17        XmlTestReporter ( XmlTestReporter const& ); 
     18        XmlTestReporter& operator= ( XmlTestReporter const& ); 
    2119 
    22     void AddXmlElement(std::ostream& os, char const* encoding); 
    23     void BeginResults(std::ostream& os, int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed); 
    24     void EndResults(std::ostream& os); 
    25     void BeginTest(std::ostream& os, DeferredTestResult const& result); 
    26     void AddFailure(std::ostream& os, DeferredTestResult const& result); 
    27     void EndTest(std::ostream& os, DeferredTestResult const& result); 
     20        void AddXmlElement ( std::ostream& os, char const* encoding ); 
     21        void BeginResults ( std::ostream& os, int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed ); 
     22        void EndResults ( std::ostream& os ); 
     23        void BeginTest ( std::ostream& os, DeferredTestResult const& result ); 
     24        void AddFailure ( std::ostream& os, DeferredTestResult const& result ); 
     25        void EndTest ( std::ostream& os, DeferredTestResult const& result ); 
    2826 
    29     std::ostream& m_ostream; 
     27        std::ostream& m_ostream; 
    3028}; 
    3129