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/Test.cpp

    r435 r477  
    99 
    1010#ifdef UNITTEST_POSIX 
    11     #include "Posix/SignalTranslator.h" 
     11#include "Posix/SignalTranslator.h" 
    1212#endif 
    1313 
    1414namespace UnitTest { 
    1515 
    16 TestList& Test::GetTestList() 
    17 { 
    18     static TestList s_list; 
    19     return s_list; 
     16TestList& Test::GetTestList() { 
     17        static TestList s_list; 
     18        return s_list; 
    2019} 
    2120 
    22 Test::Test(char const* testName, char const* suiteName, char const* filename, int lineNumber) 
    23     : m_details(testName, suiteName, filename, lineNumber) 
    24     , next(0) 
    25     , m_timeConstraintExempt(false) 
    26 { 
     21Test::Test ( char const* testName, char const* suiteName, char const* filename, int lineNumber ) 
     22                : m_details ( testName, suiteName, filename, lineNumber ) 
     23                , next ( 0 ) 
     24                , m_timeConstraintExempt ( false ) { 
    2725} 
    2826 
    29 Test::~Test() 
    30 { 
     27Test::~Test() { 
    3128} 
    3229 
    33 void Test::Run() 
    34 { 
     30void Test::Run() { 
    3531        // made more chatty; presumes the only used test reporter is 
    3632        // TestReporterStdout 
    37         std::printf("running %s...\n", m_details.testName); 
     33        std::printf ( "running %s...\n", m_details.testName ); 
    3834 
    39         ExecuteTest(*this, m_details); 
     35        ExecuteTest ( *this, m_details ); 
    4036} 
    4137 
    42 void Test::RunImpl() const 
    43 { 
     38void Test::RunImpl() const { 
    4439} 
    4540