0

这是我运行的单元测试。它不会出错,但不会在测试中运行。但是,当我在调试模式下运行时,我在 VS 中得到以下异常:CppUnitTest.h:

#include "stdafx.h"
#include "CppUnitTest.h"
#include "UT_TestSupport.h"

using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace SAP;

namespace UnitTest
{
  ///-------------------------------------------------------------------------------------
  /// \testclass TC_RunTimeProperties
  ///
  /// \brief Unit tests
  ///-------------------------------------------------------------------------------------
  TEST_CLASS (TC_CommMgr)
  {

  public:  // Test Methods

    ///-----------------------------------------------------------------------------
    ///  
    ///-----------------------------------------------------------------------------
    TEST_METHOD(TM_CommMgr_ParseConfig)
    {
      U32 u32TestCase = 0; 

    } // END TEST_METHOD 

  }; // END TEST_CLASS 
}

在此处输入图像描述

4

0 回答 0