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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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