[interfacekit] Re: Broken BMessage

On 2004-10-05 at 09:34:14 [+0200], Erik Jaesler wrote:
> I finally found the time to do some work.  Fixed the SendMessageTest1()
> issue (BMessage::fWasDelivered wasn't getting initialized when
> unflattening); that now passes.  Unfortunately, the OBOS version of the
> unit tests for storage kit don't seem to get loaded, though everything
> looks correct: the lib is in the right place and is exporting the right
> entry point.  If anybody has any idea why that might be, I'd love some
> suggestions; otherwise I'll have to do a debug build of the testing
> framework and step through. =P

Works well enough here:

$ RUN_WITHOUT_APP_SERVER=1 jam -a libstoragetest.so UnitTester 
UnitTesterHelper obos_registrar
[...]
...updated 37 target(s)...
[start ./distro/x86.R1/beos/system/servers/obos_registrar in another 
terminal]
$ ./tests/UnitTester BAppFileInfo
----------------------------------------------------------------------------
--
Tests
----------------------------------------------------------------------------
--
BAppFileInfo::Init Test1
[0][1][2][3]
  + PASSED
    Clock time: 278 ms
[...]
BAppFileInfo::Icon Test
[0][1][2][3][4][5][6][7][8][9]
[registrar eats up all memory]

> Couldn't get anywhere with the BApplication tests, on account of
> app_server dying on a strcmp() in CursorManager::RemoveAppCursors()
> during QuitTest2().  Anyway, still pokin' away here when time presents
> itself. =)

You can compile libopenbeos without app_server dependency (as done above).

CU, Ingo

Other related posts: