Added a very basic test to see, if BRoster cooperates smoothly with the registrar to init its messengers. And yes, it does. :-)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@382 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-07-21 22:54:15 +00:00
parent 70da77794e
commit 23ce7baa24
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,9 @@
SubDir OBOS_TOP src tests servers registrar ;
UsePublicHeaders app ;
SimpleTest RegistrarTest1
: RegistrarTest1.cpp
: <boot!home!config!lib>libopenbeos.so
;

View File

@ -0,0 +1,28 @@
// RegistrarTest1.cpp
#include <stdio.h>
#include <Application.h>
class TestApp : public BApplication {
public:
TestApp(const char *signature)
: BApplication(signature)
{
}
~TestApp()
{
}
};
// main
int
main()
{
TestApp *app = new TestApp("application/x-vnd.OBOS-TestApp1");
app->Run();
delete app;
return 0;
}