dinput8/tests: Created directory structure
Lucas Fialho Zawacki
lfzawacki at gmail.com
Tue Apr 26 14:16:26 CDT 2011
---
configure.ac | 1 +
dlls/dinput8/tests/Makefile.in | 7 ++++++
dlls/dinput8/tests/device.c | 42 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 0 deletions(-)
create mode 100644 dlls/dinput8/tests/Makefile.in
create mode 100644 dlls/dinput8/tests/device.c
diff --git a/configure.ac b/configure.ac
index c22fcc8..7df621a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2495,6 +2495,7 @@ WINE_CONFIG_DLL(devenum,,[po])
WINE_CONFIG_DLL(dinput,,[implib,staticimplib])
WINE_CONFIG_TEST(dlls/dinput/tests)
WINE_CONFIG_DLL(dinput8,,[implib])
+WINE_CONFIG_TEST(dlls/dinput8/tests)
WINE_CONFIG_DLL(dispdib.dll16,enable_win16)
WINE_CONFIG_DLL(dispex)
WINE_CONFIG_TEST(dlls/dispex/tests)
diff --git a/dlls/dinput8/tests/Makefile.in b/dlls/dinput8/tests/Makefile.in
new file mode 100644
index 0000000..cfc388c
--- /dev/null
+++ b/dlls/dinput8/tests/Makefile.in
@@ -0,0 +1,7 @@
+TESTDLL = dinput8.dll
+IMPORTS = dinput ole32 version user32
+
+C_SRCS = \
+ device.c
+
+ at MAKE_TEST_RULES@
diff --git a/dlls/dinput8/tests/device.c b/dlls/dinput8/tests/device.c
new file mode 100644
index 0000000..9d9de2d
--- /dev/null
+++ b/dlls/dinput8/tests/device.c
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2006 Vitaliy Margolen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define DIRECTINPUT_VERSION 0x0800
+
+#define COBJMACROS
+#include <windows.h>
+
+#include "wine/test.h"
+#include "windef.h"
+#include "initguid.h"
+#include "dinput.h"
+
+static void device_tests(void)
+{
+
+}
+
+
+START_TEST(device)
+{
+ CoInitialize(NULL);
+
+ device_tests();
+
+ CoUninitialize();
+}
--
1.7.0.4
More information about the wine-patches
mailing list