浏览代码

fix build second try

Kim Kulling 8 年之前
父节点
当前提交
4b860dfc42
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/unit/utProfiler.cpp

+ 3 - 3
test/unit/utProfiler.cpp

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