Author: gedmurphy
Date: Tue Aug 9 21:23:40 2016
New Revision: 72173
URL:
http://svn.reactos.org/svn/reactos?rev=72173&view=rev
Log:
[FLTLIB_APITEST]
- Create a skeleton test project for fltlib.dll
- Not yet part of the build
Added:
trunk/rostests/apitests/fltlib/
trunk/rostests/apitests/fltlib/CMakeLists.txt (with props)
trunk/rostests/apitests/fltlib/comms.c (with props)
trunk/rostests/apitests/fltlib/filter_find.c (with props)
trunk/rostests/apitests/fltlib/handles.c (with props)
trunk/rostests/apitests/fltlib/info.c (with props)
trunk/rostests/apitests/fltlib/instance.c (with props)
trunk/rostests/apitests/fltlib/instance_find.c (with props)
trunk/rostests/apitests/fltlib/load.c (with props)
trunk/rostests/apitests/fltlib/testlist.c (with props)
trunk/rostests/apitests/fltlib/volume_find.c (with props)
Added: trunk/rostests/apitests/fltlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/CMakeList…
==============================================================================
--- trunk/rostests/apitests/fltlib/CMakeLists.txt (added)
+++ trunk/rostests/apitests/fltlib/CMakeLists.txt [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,16 @@
+
+list(APPEND SOURCE
+ load.c
+ handles.c
+ instance.c
+ instance_find.c
+ filter_find.c
+ volume_find.c
+ info.c
+ comms.c
+ testlist.c)
+
+add_executable(fltlib_apitest ${SOURCE})
+set_module_type(fltlib_apitest win32cui)
+add_importlibs(fltlib_apitest user32 msvcrt kernel32)
+add_cd_file(TARGET fltlib_apitest DESTINATION reactos/bin FOR all)
Propchange: trunk/rostests/apitests/fltlib/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/comms.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/comms.c?r…
==============================================================================
--- trunk/rostests/apitests/fltlib/comms.c (added)
+++ trunk/rostests/apitests/fltlib/comms.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,45 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterConnectCommunicationPort
+// FilterSendMessage
+// FilterGetMessage
+// FilterReplyMessage
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(comms)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/comms.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/filter_find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/filter_fi…
==============================================================================
--- trunk/rostests/apitests/fltlib/filter_find.c (added)
+++ trunk/rostests/apitests/fltlib/filter_find.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,47 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterFindFirst
+// FilterFindNext
+// FilterFindClose
+// FilterVolumeFindFirst
+// FilterVolumeFindNext
+// FilterVolumeFindClose
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(filter_find)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/filter_find.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/handles.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/handles.c…
==============================================================================
--- trunk/rostests/apitests/fltlib/handles.c (added)
+++ trunk/rostests/apitests/fltlib/handles.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,45 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterCreate
+// FilterClose
+// FilterInstanceCreate
+// FilterInstanceClose
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(handles)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/handles.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/info.c?re…
==============================================================================
--- trunk/rostests/apitests/fltlib/info.c (added)
+++ trunk/rostests/apitests/fltlib/info.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,44 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterGetInformation
+// FilterInstanceGetInformation
+// FilterGetDosName
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(info)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/info.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/instance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/instance.…
==============================================================================
--- trunk/rostests/apitests/fltlib/instance.c (added)
+++ trunk/rostests/apitests/fltlib/instance.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,44 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterAttach
+// FilterAttachAtAltitude
+// FilterDetach
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(instance)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/instance.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/instance_find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/instance_…
==============================================================================
--- trunk/rostests/apitests/fltlib/instance_find.c (added)
+++ trunk/rostests/apitests/fltlib/instance_find.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,44 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterInstanceFindFirst
+// FilterInstanceFindNext
+// FilterInstanceFindClose
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(instance_find)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/instance_find.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/load.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/load.c?re…
==============================================================================
--- trunk/rostests/apitests/fltlib/load.c (added)
+++ trunk/rostests/apitests/fltlib/load.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,44 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterLoad
+// FilterUnload
+//
+
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(load)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/load.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/testlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/testlist.…
==============================================================================
--- trunk/rostests/apitests/fltlib/testlist.c (added)
+++ trunk/rostests/apitests/fltlib/testlist.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,26 @@
+#define __ROS_LONG64__
+
+#define STANDALONE
+#include <apitest.h>
+
+extern void func_load(void);
+extern void func_handles(void);
+extern void func_instance(void);
+extern void func_instance_find(void);
+extern void func_filter_find(void);
+extern void func_volume_find(void);
+extern void func_info(void);
+extern void func_comms(void);
+
+const struct test winetest_testlist[] =
+{
+ { "load", func_load },
+ { "handles", func_handles},
+ { "instance", func_instance },
+ { "instance_find", func_instance_find },
+ { "filter_find", func_filter_find },
+ { "volume_find", func_volume_find },
+ { "info", func_info },
+ { "comms", func_comms },
+ { 0, 0 }
+};
Propchange: trunk/rostests/apitests/fltlib/testlist.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rostests/apitests/fltlib/volume_find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/fltlib/volume_fi…
==============================================================================
--- trunk/rostests/apitests/fltlib/volume_find.c (added)
+++ trunk/rostests/apitests/fltlib/volume_find.c [iso-8859-1] Tue Aug 9 21:23:40 2016
@@ -0,0 +1,44 @@
+/*
+* FltLib related functions tests
+*
+* Copyright 2016 Ged Murphy (ged.murphy(a)reactos.org)
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public Licence as
+* published by the Free Software Foundation; either version 2 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU 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
+*/
+
+#include <apitest.h>
+#include <stdio.h>
+#include <assert.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winsvc.h>
+
+//
+// Tests for:
+// FilterVolumeInstanceFindFirst
+// FilterVolumeInstanceFindNext
+// FilterVolumeInstanceFindClose
+//
+
+static void test_FIXME(void)
+{
+
+}
+
+
+START_TEST(volume_find)
+{
+ test_FIXME();
+}
Propchange: trunk/rostests/apitests/fltlib/volume_find.c
------------------------------------------------------------------------------
svn:eol-style = native