1
0
Fork 0
flightgear/tests
Florent Rougon 4b494a69bd Rename fatalMessageBox() to fatalMessageBoxWithoutExit(), add exiting variant
- Rename fatalMessageBox() to fatalMessageBoxWithoutExit(). This should
  prevent the kind of bug that prompted this set of changes: someone
  calling fatalMessageBox(), assuming the program would stop at that
  point, whereas in reality it did not.

- Add new function fatalMessageBoxThenExit(). This is not vital of
  course, but allows one to spare one line here and there and to apply
  the DRY principle for such fatal exits.

- Replace every existing call to fatalMessageBox() with one or the other
  of the two new functions. Improve formatting along the way. This
  fixes a few bugs of the kind explained above.
2017-04-10 02:29:48 +02:00
..
.gitignore Ignore generated files 2010-06-02 11:27:16 +02:00
alcinfo.cxx KIll off ALUT now it's gone from SimGear 2012-08-22 00:10:00 +01:00
CMakeLists.txt Unit-test for initPosition. 2017-03-27 15:38:05 +01:00
est-epsilon.cxx John Denker: 2009-12-09 08:15:09 +01:00
fake_sgPrecipitation.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fake_sgSky.cxx Return reference to non temporary string. 2017-04-06 18:26:26 +09:00
fake_sgSky.hxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fake_sound.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fgTestDriver.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
gl-info.cxx John Denker: 2009-12-09 08:15:09 +01:00
test-env-map.cxx test for the presence of alut.h. if it's not found only display a warning message in gl-info and test-env-map. A clean build without glut installed is now possible. 2009-09-09 08:56:32 +02:00
test-gethostname.cxx Initial revision. 2001-03-22 04:19:12 +00:00
test-mktime.cxx Martin Spott: Use standardized Sun directive. 2005-10-06 11:08:26 +00:00
test-text.cxx Type consistency. 2007-05-16 16:47:13 +00:00
test-up.cxx Even more imlicit includes becoming explicit. 2010-08-07 14:07:17 +01:00
test_flightplan.cxx Retain signedness of numLegs to avoid unsigned/signed comparison. 2017-04-06 18:26:09 +09:00
test_navaids2.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
testStubs.cxx Rename fatalMessageBox() to fatalMessageBoxWithoutExit(), add exiting variant 2017-04-10 02:29:48 +02:00
unitTestHelpers.cxx Unit-test for initPosition. 2017-03-27 15:38:05 +01:00
unitTestHelpers.hxx Unit-test for initPosition. 2017-03-27 15:38:05 +01:00