Menu

Browse button in MFC TestRunner is Disabled

Anonymous
2002-10-23
2002-11-12
  • Anonymous

    Anonymous - 2002-10-23

    I had used CppUnit 1.8.0 before. It's OK. And I got latest version(1.9.10) and then built in success without Unicode mode. After setting up TestFixture,  registering TestSuite ... After that I ran it but the Browse is sometime Disabled. It has a problem when I build without Unicode mode, hasn't it?

    Hau Tran

     
    • Helmut Mülner

      Helmut Mülner - 2002-11-12

      Quick fix:
      in  file TestRunnerDlg.cpp change in method TestRunnerDlg::beRunDisabled()
      change the line
      m_buttonBrowse.EnableWindow( FALSE );
      to
      m_buttonBrowse.EnableWindow( TRUE );

      otherwise you cannot activate any tests that are not yet recorded in the registry

       

Log in to post a comment.