[haiku-bugs] Re: [Haiku] #12799: Unit test BClipboard::Clear1 crashes

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 May 2016 17:18:13 -0000

#12799: Unit test BClipboard::Clear1 crashes
------------------------------------+----------------------------
   Reporter:  markh                 |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Kits/Application Kit  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  1                     |   Platform:  All
------------------------------------+----------------------------

Comment (by pulkomandy):

 Ok, if it did the same on BeOS (hit the debugger call), we probably wan
 tto keep that and the _AssertLocked. It would be nice to note in a comment
 that this was checked against BeOS and that the Be Book is not entirely
 correct.

 It's possible to enable and disable the debugger with
 {{{enable_debugger()}}} / {{{disable_debugger()}}}. If the debugger is
 disabled, the return values will probably match the Be Book, but we'd have
 to check to make sure.

 I don't know how cppunit is configured to catch debugger calls, if that
 doesn't work it should be fixed. disable_debugger could work but then I
 don't know how it could check that the debugger function was actually
 called.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12799#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: