Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • next protected
  • UI-EvenMoreTweaks
  • merge/materials_featurette protected
  • merge/webrtc protected
  • darl/linux-sh-installer
  • xenhat/maint/bolt
  • xenhat/features/cinematic-mode-new
  • screensquare
  • ssestuff
  • spdlog
  • 7.1.7.2486-beta
  • 7.1.4.2442-beta
  • 7.1.4.2413-beta
  • 7.1.3.2338-beta
  • 7.1.3.2332-beta
  • 7.1.2.2304-beta
  • 7.1.1.2251-beta
  • 7.0.1.2244-beta
  • 7.0.1.2240-beta
  • 7.0.1.2230-beta
  • 7.0.1.2206-beta
22 results

catch_and_store_what_in.h

Blame
    • Nat Goodspeed's avatar
      10ab4adc
      Fix llprocess_test.cpp's exception catching for Linux. · 10ab4adc
      Nat Goodspeed authored
      In the course of re-enabling the indra/test tests last year, Log generalized a
      workaround I'd introduced in llsdmessage_test.cpp. In Linux viewer land, a
      test program trying to catch an expected exception can't seem to catch it by
      its specific class (across the libllcommon.so boundary), but must instead
      catch std::runtime_error and validate the typeid().name() string. Log added a
      macro for this idiom in llevents_tut.cpp. Generalize that macro further for
      normal-case processing as well, move it to a header file of its own and use it
      in all known places -- plus the new exception-catching tests in
      llprocess_test.cpp.
      10ab4adc
      History
      Fix llprocess_test.cpp's exception catching for Linux.
      Nat Goodspeed authored
      In the course of re-enabling the indra/test tests last year, Log generalized a
      workaround I'd introduced in llsdmessage_test.cpp. In Linux viewer land, a
      test program trying to catch an expected exception can't seem to catch it by
      its specific class (across the libllcommon.so boundary), but must instead
      catch std::runtime_error and validate the typeid().name() string. Log added a
      macro for this idiom in llevents_tut.cpp. Generalize that macro further for
      normal-case processing as well, move it to a header file of its own and use it
      in all known places -- plus the new exception-catching tests in
      llprocess_test.cpp.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.