test app for idle_time() (bug 1593)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22755 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2007-10-28 23:13:47 +00:00
parent b052daff3b
commit 09f147fb33
3 changed files with 17 additions and 0 deletions

View File

@ -167,6 +167,7 @@ SubInclude HAIKU_TOP src tests servers app cursor_test ;
SubInclude HAIKU_TOP src tests servers app desktop_window ;
SubInclude HAIKU_TOP src tests servers app event_mask ;
SubInclude HAIKU_TOP src tests servers app following ;
SubInclude HAIKU_TOP src tests servers app idle_test ;
SubInclude HAIKU_TOP src tests servers app look_and_feel ;
SubInclude HAIKU_TOP src tests servers app menu_crash ;
SubInclude HAIKU_TOP src tests servers app no_pointer_history ;

View File

@ -0,0 +1,6 @@
SubDir HAIKU_TOP src tests servers app idle_test ;
SimpleTest idle_test :
test.cpp
: be ;

View File

@ -0,0 +1,10 @@
#include <Application.h>
#include <InterfaceDefs.h>
#include <stdio.h>
int main()
{
BApplication app("application/x-vnd.idle-test");
printf("idle_time() : %Ld\n", idle_time());
}