1 /*
2  * PROJECT:     ReactOS kernel-mode tests
3  * LICENSE:     LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
4  * PURPOSE:     Kernel-Mode Test Suite user-mode test list
5  */
6 
7 #include <kmt_test.h>
8 
9 KMT_TESTFUNC Test_CcCopyRead;
10 KMT_TESTFUNC Test_CcCopyWrite;
11 KMT_TESTFUNC Test_CcMapData;
12 KMT_TESTFUNC Test_CcPinMappedData;
13 KMT_TESTFUNC Test_CcPinRead;
14 KMT_TESTFUNC Test_CcSetFileSizes;
15 KMT_TESTFUNC Test_Example;
16 KMT_TESTFUNC Test_FileAttributes;
17 KMT_TESTFUNC Test_FindFile;
18 KMT_TESTFUNC Test_FltMgrLoad;
19 KMT_TESTFUNC Test_FltMgrReg;
20 KMT_TESTFUNC Test_HidPDescription;
21 KMT_TESTFUNC Test_IoCreateFile;
22 KMT_TESTFUNC Test_IoDeviceObject;
23 KMT_TESTFUNC Test_IoReadWrite;
24 KMT_TESTFUNC Test_MmMapLockedPagesSpecifyCache;
25 KMT_TESTFUNC Test_NtCreateSection;
26 KMT_TESTFUNC Test_NtSystemDebugControl;
27 KMT_TESTFUNC Test_PoIrp;
28 KMT_TESTFUNC Test_RtlAvlTree;
29 KMT_TESTFUNC Test_RtlCaptureContext;
30 KMT_TESTFUNC Test_RtlException;
31 KMT_TESTFUNC Test_RtlIntSafe;
32 KMT_TESTFUNC Test_RtlMemory;
33 KMT_TESTFUNC Test_RtlRegistry;
34 KMT_TESTFUNC Test_RtlSplayTree;
35 KMT_TESTFUNC Test_RtlStack;
36 KMT_TESTFUNC Test_RtlStrSafe;
37 KMT_TESTFUNC Test_RtlUnicodeString;
38 KMT_TESTFUNC Test_TcpIpIoctl;
39 KMT_TESTFUNC Test_TcpIpTdi;
40 KMT_TESTFUNC Test_TcpIpConnect;
41 
42 /* tests with a leading '-' will not be listed */
43 const KMT_TEST TestList[] =
44 {
45     { "-CcCopyRead",                   Test_CcCopyRead },   // TODO: Crashes on TestWHS
46     { "-CcCopyWrite",                  Test_CcCopyWrite },  // TODO: Crashes on TestWHS
47     { "-CcMapData",                    Test_CcMapData },
48     { "-CcPinMappedData",              Test_CcPinMappedData },
49     { "-CcPinRead",                    Test_CcPinRead },
50     { "-CcSetFileSizes",               Test_CcSetFileSizes },
51     { "-Example",                     Test_Example },
52     { "FileAttributes",               Test_FileAttributes },
53     { "FindFile",                     Test_FindFile },
54     { "-FltMgrLoad",                  Test_FltMgrLoad }, // TODO: WIP/untested/crashes.
55     { "-FltMgrReg",                   Test_FltMgrReg }, // TODO: WIP/untested/crashes.
56     { "HidPDescription",              Test_HidPDescription },
57     { "IoCreateFile",                 Test_IoCreateFile },
58     { "IoDeviceObject",               Test_IoDeviceObject },
59     { "IoReadWrite",                  Test_IoReadWrite },
60     { "MmMapLockedPagesSpecifyCache", Test_MmMapLockedPagesSpecifyCache },
61     { "NtCreateSection",              Test_NtCreateSection },
62     { "NtSystemDebugControl",         Test_NtSystemDebugControl },
63     { "PoIrp",                        Test_PoIrp },
64     { "RtlAvlTree",                   Test_RtlAvlTree },
65     { "RtlException",                 Test_RtlException },
66     { "RtlIntSafe",                   Test_RtlIntSafe },
67     { "RtlMemory",                    Test_RtlMemory },
68     { "RtlRegistry",                  Test_RtlRegistry },
69     { "RtlSplayTree",                 Test_RtlSplayTree },
70     { "RtlStack",                     Test_RtlStack },
71     { "RtlStrSafe",                   Test_RtlStrSafe },
72     { "RtlUnicodeString",             Test_RtlUnicodeString },
73     { "TcpIpTdi",                     Test_TcpIpTdi },
74     { "TcpIpConnect",                 Test_TcpIpConnect },
75 #ifdef _M_AMD64
76     { "RtlCaptureContextUM",          Test_RtlCaptureContext },
77 #endif
78     { NULL,                           NULL },
79 };
80