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:
parent
b052daff3b
commit
09f147fb33
@ -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 ;
|
||||
|
6
src/tests/servers/app/idle_test/Jamfile
Normal file
6
src/tests/servers/app/idle_test/Jamfile
Normal file
@ -0,0 +1,6 @@
|
||||
SubDir HAIKU_TOP src tests servers app idle_test ;
|
||||
|
||||
SimpleTest idle_test :
|
||||
test.cpp
|
||||
: be ;
|
||||
|
10
src/tests/servers/app/idle_test/test.cpp
Normal file
10
src/tests/servers/app/idle_test/test.cpp
Normal 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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user