Author: greatlrd
Date: Sun Jun 8 03:29:04 2008
New Revision: 33896
URL:
http://svn.reactos.org/svn/reactos?rev=33896&view=rev
Log:
add dummy test for dciman32 for now, real test will come later
Added:
trunk/rostests/apitests/dciman32api/
trunk/rostests/apitests/dciman32api/dciman32api.c (with props)
trunk/rostests/apitests/dciman32api/dciman32api.h (with props)
trunk/rostests/apitests/dciman32api/dciman32api.rbuild (with props)
trunk/rostests/apitests/dciman32api/testlist.c (with props)
trunk/rostests/apitests/dciman32api/tests/
trunk/rostests/apitests/dciman32api/tests/DCICreatePrimary.c (with props)
Modified:
trunk/rostests/apitests/directory.rbuild
Added: trunk/rostests/apitests/dciman32api/dciman32api.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/dciman32api/dcim…
==============================================================================
--- trunk/rostests/apitests/dciman32api/dciman32api.c (added)
+++ trunk/rostests/apitests/dciman32api/dciman32api.c [iso-8859-1] Sun Jun 8 03:29:04
2008
@@ -1,0 +1,19 @@
+#include "dciman32api.h"
+
+HINSTANCE g_hInstance;
+
+BOOL
+IsFunctionPresent(LPWSTR lpszFunction)
+{
+ return TRUE;
+}
+
+int APIENTRY
+WinMain(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPSTR lpCmdLine,
+ int nCmdShow)
+{
+ g_hInstance = hInstance;
+ return TestMain(L"dciman32api", L"dciman32.dll");
+}
Propchange: trunk/rostests/apitests/dciman32api/dciman32api.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/dciman32api/dciman32api.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/dciman32api/dcim…
==============================================================================
--- trunk/rostests/apitests/dciman32api/dciman32api.h (added)
+++ trunk/rostests/apitests/dciman32api/dciman32api.h [iso-8859-1] Sun Jun 8 03:29:04
2008
@@ -1,0 +1,22 @@
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0501
+#endif
+
+#define WIN32_NO_STATUS
+#include <windows.h>
+#include <windows.h>
+#include <ndk/ntndk.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <d3dnthal.h>
+#include <prntfont.h>
+
+/* Public Win32K Headers */
+#include <win32k/ntgdityp.h>
+#include <ntgdi.h>
+#include <win32k/ntgdihdl.h>
+
+#include "../apitest.h"
+
+
+
Propchange: trunk/rostests/apitests/dciman32api/dciman32api.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/dciman32api/dciman32api.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/dciman32api/dcim…
==============================================================================
--- trunk/rostests/apitests/dciman32api/dciman32api.rbuild (added)
+++ trunk/rostests/apitests/dciman32api/dciman32api.rbuild [iso-8859-1] Sun Jun 8
03:29:04 2008
@@ -1,0 +1,12 @@
+<module name="dciman32api" type="win32cui">
+ <include base="dciman32api">.</include>
+ <define name="__USE_W32API" />
+ <define name="_WIN32_WINNT">0x0501</define>
+ <library>apitest</library>
+ <library>kernel32</library>
+ <library>user32</library>
+ <library>gdi32</library>
+ <library>shell32</library>
+ <file>dciman32api.c</file>
+ <file>testlist.c</file>
+</module>
Propchange: trunk/rostests/apitests/dciman32api/dciman32api.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/dciman32api/testlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/dciman32api/test…
==============================================================================
--- trunk/rostests/apitests/dciman32api/testlist.c (added)
+++ trunk/rostests/apitests/dciman32api/testlist.c [iso-8859-1] Sun Jun 8 03:29:04 2008
@@ -1,0 +1,32 @@
+#ifndef _DCIMAN32TESTLIST_H
+#define _DCIMAN32TESTLIST_H
+
+#include "dciman32api.h"
+
+/* include the tests */
+#include "tests/DCICreatePrimary.c"
+
+
+
+
+
+
+
+
+
+
+/* The List of tests */
+TESTENTRY TestList[] =
+{
+ { L"DCICreatePrimary", Test_DCICreatePrimary }
+};
+
+/* The function that gives us the number of tests */
+INT NumTests(void)
+{
+ return sizeof(TestList) / sizeof(TESTENTRY);
+}
+
+#endif
+
+/* EOF */
Propchange: trunk/rostests/apitests/dciman32api/testlist.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/dciman32api/tests/DCICreatePrimary.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/dciman32api/test…
==============================================================================
--- trunk/rostests/apitests/dciman32api/tests/DCICreatePrimary.c (added)
+++ trunk/rostests/apitests/dciman32api/tests/DCICreatePrimary.c [iso-8859-1] Sun Jun 8
03:29:04 2008
@@ -1,0 +1,8 @@
+
+INT
+Test_DCICreatePrimary(PTESTINFO pti)
+{
+
+ return APISTATUS_NORMAL;
+}
+
Propchange: trunk/rostests/apitests/dciman32api/tests/DCICreatePrimary.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rostests/apitests/directory.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/directory.rbuild…
==============================================================================
--- trunk/rostests/apitests/directory.rbuild [iso-8859-1] (original)
+++ trunk/rostests/apitests/directory.rbuild [iso-8859-1] Sun Jun 8 03:29:04 2008
@@ -7,6 +7,10 @@
<define name="_WIN32_WINNT">0x0501</define>
<file>apitest.c</file>
</module>
+
+ <directory name="dciman32api">
+ <xi:include href="dciman32api/dciman32api.rbuild" />
+ </directory>
<directory name="gdi32api">
<xi:include href="gdi32api/gdi32api.rbuild" />