VirtualBox

source: vbox/trunk/src/VBox/HostServices/testcase/tstHGCMSvc.cpp@ 24370

Last change on this file since 24370 was 22653, checked in by vboxsync, 15 years ago

OSE headers fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/* $Id: tstHGCMSvc.cpp 22653 2009-09-01 12:02:32Z vboxsync $ */
2/** @file
3 * HGCM Service Testcase.
4 */
5
6/*
7 * Copyright (C) 2009 Sun Microsystems, Inc.
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18 * Clara, CA 95054 USA or visit http://www.sun.com if you need
19 * additional information or have any questions.
20 */
21
22/*****************************************************************************
23* Header Files *
24*****************************************************************************/
25#include <VBox/hgcmsvc.h>
26#include <iprt/initterm.h>
27#include <iprt/test.h>
28
29int main()
30{
31 /*
32 * Init the runtime, test and say hello.
33 */
34 RTTEST hTest;
35 int rc = RTTestInitAndCreate("tstHGCMSvc", &hTest);
36 if (rc)
37 return rc;
38 RTTestBanner(hTest);
39
40 /*
41 * Run the test.
42 */
43 VBOXHGCMSVCPARM parm;
44 parm.testGetString(hTest);
45
46 /*
47 * Summary
48 */
49 return RTTestSummaryAndDestroy(hTest);
50}
51
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette