Minor tweaks to try and get the remote object stuff working again.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3370 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz 2003-05-28 20:24:29 +00:00
parent 159d60f9fb
commit c48aa159a5
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,8 @@ void TBArchivableTestCase::InvalidArchiveShallow()
Resultant archive has a string field labeled "class".
Field "class" contains the string "BArchivable".
*/
#include <stdio.h>
#include <Debug.h>
void TBArchivableTestCase::ValidArchiveShallow()
{
BMessage Storage;
@ -66,6 +68,7 @@ void TBArchivableTestCase::ValidArchiveShallow()
CPPUNIT_ASSERT(Archive.Archive(&Storage, false) == B_OK);
const char* name;
CPPUNIT_ASSERT(Storage.FindString("class", &name) == B_OK);
printf("\n%s\n", name);
CPPUNIT_ASSERT(strcmp(name, "BArchivable") == 0);
}
//------------------------------------------------------------------------------