mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 19:41:57 +00:00
e620c729eb
Add tests for IoCreateFile for target directory open. They will fail on ReactOS. svn path=/trunk/; revision=62934
122 lines
5.3 KiB
C
122 lines
5.3 KiB
C
/*
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
* LICENSE: GPLv2+ - See COPYING in the top level directory
|
|
* PURPOSE: Kernel-Mode Test Suite Driver test list
|
|
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
|
|
*/
|
|
|
|
#include <kmt_test.h>
|
|
|
|
KMT_TESTFUNC Test_Example;
|
|
KMT_TESTFUNC Test_ExCallback;
|
|
KMT_TESTFUNC Test_ExDoubleList;
|
|
KMT_TESTFUNC Test_ExFastMutex;
|
|
KMT_TESTFUNC Test_ExHardError;
|
|
KMT_TESTFUNC Test_ExHardErrorInteractive;
|
|
KMT_TESTFUNC Test_ExInterlocked;
|
|
KMT_TESTFUNC Test_ExPools;
|
|
KMT_TESTFUNC Test_ExResource;
|
|
KMT_TESTFUNC Test_ExSequencedList;
|
|
KMT_TESTFUNC Test_ExSingleList;
|
|
KMT_TESTFUNC Test_ExTimer;
|
|
KMT_TESTFUNC Test_FsRtlExpression;
|
|
KMT_TESTFUNC Test_FsRtlMcb;
|
|
KMT_TESTFUNC Test_FsRtlTunnel;
|
|
KMT_TESTFUNC Test_IoCreateFile;
|
|
KMT_TESTFUNC Test_IoDeviceInterface;
|
|
KMT_TESTFUNC Test_IoEvent;
|
|
KMT_TESTFUNC Test_IoInterrupt;
|
|
KMT_TESTFUNC Test_IoIrp;
|
|
KMT_TESTFUNC Test_IoMdl;
|
|
KMT_TESTFUNC Test_KeApc;
|
|
KMT_TESTFUNC Test_KeDeviceQueue;
|
|
KMT_TESTFUNC Test_KeDpc;
|
|
KMT_TESTFUNC Test_KeEvent;
|
|
KMT_TESTFUNC Test_KeGuardedMutex;
|
|
KMT_TESTFUNC Test_KeIrql;
|
|
KMT_TESTFUNC Test_KeMutex;
|
|
KMT_TESTFUNC Test_KeProcessor;
|
|
KMT_TESTFUNC Test_KeTimer;
|
|
KMT_TESTFUNC Test_KernelType;
|
|
KMT_TESTFUNC Test_MmSection;
|
|
KMT_TESTFUNC Test_NpfsConnect;
|
|
KMT_TESTFUNC Test_NpfsCreate;
|
|
KMT_TESTFUNC Test_NpfsFileInfo;
|
|
KMT_TESTFUNC Test_NpfsReadWrite;
|
|
KMT_TESTFUNC Test_NpfsVolumeInfo;
|
|
KMT_TESTFUNC Test_ObReference;
|
|
KMT_TESTFUNC Test_ObType;
|
|
KMT_TESTFUNC Test_ObTypeClean;
|
|
KMT_TESTFUNC Test_ObTypeNoClean;
|
|
KMT_TESTFUNC Test_ObTypes;
|
|
KMT_TESTFUNC Test_PsNotify;
|
|
KMT_TESTFUNC Test_SeQueryInfoToken;
|
|
KMT_TESTFUNC Test_RtlAvlTree;
|
|
KMT_TESTFUNC Test_RtlException;
|
|
KMT_TESTFUNC Test_RtlIntSafe;
|
|
KMT_TESTFUNC Test_RtlMemory;
|
|
KMT_TESTFUNC Test_RtlRegistry;
|
|
KMT_TESTFUNC Test_RtlSplayTree;
|
|
KMT_TESTFUNC Test_ZwAllocateVirtualMemory;
|
|
KMT_TESTFUNC Test_ZwCreateSection;
|
|
KMT_TESTFUNC Test_ZwMapViewOfSection;
|
|
|
|
const KMT_TEST TestList[] =
|
|
{
|
|
{ "ExCallback", Test_ExCallback },
|
|
{ "ExDoubleList", Test_ExDoubleList },
|
|
{ "ExFastMutex", Test_ExFastMutex },
|
|
{ "ExHardError", Test_ExHardError },
|
|
{ "-ExHardErrorInteractive", Test_ExHardErrorInteractive },
|
|
{ "ExInterlocked", Test_ExInterlocked },
|
|
{ "ExPools", Test_ExPools },
|
|
{ "ExResource", Test_ExResource },
|
|
{ "ExSequencedList", Test_ExSequencedList },
|
|
{ "ExSingleList", Test_ExSingleList },
|
|
{ "-ExTimer", Test_ExTimer },
|
|
{ "Example", Test_Example },
|
|
{ "FsRtlExpression", Test_FsRtlExpression },
|
|
/* Skipped on testman. See ROSTESTS-106. */
|
|
{ "-FsRtlMcb", Test_FsRtlMcb },
|
|
{ "-FsRtlTunnel", Test_FsRtlTunnel },
|
|
{ "IoCreateFile", Test_IoCreateFile },
|
|
{ "IoDeviceInterface", Test_IoDeviceInterface },
|
|
{ "IoEvent", Test_IoEvent },
|
|
{ "IoInterrupt", Test_IoInterrupt },
|
|
{ "IoIrp", Test_IoIrp },
|
|
{ "IoMdl", Test_IoMdl },
|
|
{ "KeApc", Test_KeApc },
|
|
{ "KeDeviceQueue", Test_KeDeviceQueue },
|
|
{ "KeDpc", Test_KeDpc },
|
|
{ "KeEvent", Test_KeEvent },
|
|
{ "KeGuardedMutex", Test_KeGuardedMutex },
|
|
{ "KeIrql", Test_KeIrql },
|
|
{ "KeMutex", Test_KeMutex },
|
|
{ "-KeProcessor", Test_KeProcessor },
|
|
{ "KeTimer", Test_KeTimer },
|
|
{ "-KernelType", Test_KernelType },
|
|
{ "MmSection", Test_MmSection },
|
|
{ "NpfsConnect", Test_NpfsConnect },
|
|
{ "NpfsCreate", Test_NpfsCreate },
|
|
{ "NpfsFileInfo", Test_NpfsFileInfo },
|
|
{ "NpfsReadWrite", Test_NpfsReadWrite },
|
|
{ "NpfsVolumeInfo", Test_NpfsVolumeInfo },
|
|
{ "ObReference", Test_ObReference },
|
|
{ "ObType", Test_ObType },
|
|
{ "-ObTypeClean", Test_ObTypeClean },
|
|
{ "-ObTypeNoClean", Test_ObTypeNoClean },
|
|
{ "ObTypes", Test_ObTypes },
|
|
{ "PsNotify", Test_PsNotify },
|
|
{ "-SeQueryInfoToken", Test_SeQueryInfoToken },
|
|
{ "RtlAvlTreeKM", Test_RtlAvlTree },
|
|
{ "RtlExceptionKM", Test_RtlException },
|
|
{ "RtlIntSafeKM", Test_RtlIntSafe },
|
|
{ "RtlMemoryKM", Test_RtlMemory },
|
|
{ "RtlRegistryKM", Test_RtlRegistry },
|
|
{ "RtlSplayTreeKM", Test_RtlSplayTree },
|
|
{ "ZwAllocateVirtualMemory", Test_ZwAllocateVirtualMemory },
|
|
{ "ZwCreateSection", Test_ZwCreateSection },
|
|
{ "ZwMapViewOfSection", Test_ZwMapViewOfSection },
|
|
{ NULL, NULL }
|
|
};
|