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:
@@ -0,0 +1,9 @@
|
|||||||
|
SubDir OBOS_TOP src tests servers registrar ;
|
||||||
|
|
||||||
|
UsePublicHeaders app ;
|
||||||
|
|
||||||
|
SimpleTest RegistrarTest1
|
||||||
|
: RegistrarTest1.cpp
|
||||||
|
: <boot!home!config!lib>libopenbeos.so
|
||||||
|
;
|
||||||
|
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user