fix build second try

pull/1366/head
Kim Kulling 2017-07-27 13:31:22 +02:00
parent d74306ad67
commit 4b860dfc42
1 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ class utProfiler : public ::testing::Test {
public: public:
LogStream *m_stream; LogStream *m_stream;
virtual void SetUp() { /*virtual void SetUp() {
m_stream = new UTLogStream; m_stream = new UTLogStream;
DefaultLogger::create(); DefaultLogger::create();
DefaultLogger::get()->attachStream( m_stream ); DefaultLogger::get()->attachStream( m_stream );
@ -60,7 +60,7 @@ public:
virtual void TearDown() { virtual void TearDown() {
DefaultLogger::get()->detatchStream( m_stream ); DefaultLogger::get()->detatchStream( m_stream );
m_stream = nullptr; m_stream = nullptr;
} }*/
}; };
TEST_F( utProfiler, addRegion_success ) { TEST_F( utProfiler, addRegion_success ) {
@ -71,6 +71,6 @@ TEST_F( utProfiler, addRegion_success ) {
j++; j++;
} }
myProfiler.EndRegion( "t1" ); myProfiler.EndRegion( "t1" );
UTLogStream *stream( (UTLogStream*) m_stream ); //UTLogStream *stream( (UTLogStream*) m_stream );
//EXPECT_FALSE( stream->m_messages.empty() ); //EXPECT_FALSE( stream->m_messages.empty() );
} }