~cppunit2/cppunit2/monitor

« back to all changes in this revision

Viewing changes to src/cpput/runner.cpp

  • Committer: Teho
  • Date: 2009-08-17 13:54:13 UTC
  • Revision ID: teho@microtux-20090817135413-c0g07nbwruj71sqm
- added example that cause crash by using null pointer
- fixed bug: infinite loop if a test succeeded
- prevent the O.S. from displaying the dialog "do you want to debug" when a crash occurs in the executable under test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
      bool
165
165
      MonitoredSlaveRunner::run()
166
166
      {
 
167
         // Prevents the system error management dialog
 
168
         // from querying weither or not you want to debug the process
 
169
         // when an error occurs.
 
170
         NoDialogOnCrashForScope noErrorDialog;
 
171
 
167
172
         CppUT::SynchronousWriteChannelAutoPtr transportChannel = CppUT::makeSlaveChannel();
168
173
         JsonRPCChannel channel( transportChannel, *this );
169
174
         channel.waitForRequests();