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_PoIrp;
27 KMT_TESTFUNC Test_RtlAvlTree;
28 KMT_TESTFUNC Test_RtlCaptureContext;
29 KMT_TESTFUNC Test_RtlException;
30 KMT_TESTFUNC Test_RtlIntSafe;
31 KMT_TESTFUNC Test_RtlMemory;
32 KMT_TESTFUNC Test_RtlRegistry;
33 KMT_TESTFUNC Test_RtlSplayTree;
34 KMT_TESTFUNC Test_RtlStack;
35 KMT_TESTFUNC Test_RtlStrSafe;
36 KMT_TESTFUNC Test_RtlUnicodeString;
37 KMT_TESTFUNC Test_TcpIpIoctl;
38 KMT_TESTFUNC Test_TcpIpTdi;
39 KMT_TESTFUNC Test_TcpIpConnect;
40 
41 /* tests with a leading '-' will not be listed */
42 const KMT_TEST TestList[] =
43 {
44     { "-CcCopyRead",                   Test_CcCopyRead },   // TODO: Crashes on TestWHS
45     { "-CcCopyWrite",                  Test_CcCopyWrite },  // TODO: Crashes on TestWHS
46     { "-CcMapData",                    Test_CcMapData },
47     { "-CcPinMappedData",              Test_CcPinMappedData },
48     { "-CcPinRead",                    Test_CcPinRead },
49     { "-CcSetFileSizes",               Test_CcSetFileSizes },
50     { "-Example",                     Test_Example },
51     { "FileAttributes",               Test_FileAttributes },
52     { "FindFile",                     Test_FindFile },
53     { "-FltMgrLoad",                  Test_FltMgrLoad }, // TODO: WIP/untested/crashes.
54     { "-FltMgrReg",                   Test_FltMgrReg }, // TODO: WIP/untested/crashes.
55     { "HidPDescription",              Test_HidPDescription },
56     { "IoCreateFile",                 Test_IoCreateFile },
57     { "IoDeviceObject",               Test_IoDeviceObject },
58     { "IoReadWrite",                  Test_IoReadWrite },
59     { "MmMapLockedPagesSpecifyCache", Test_MmMapLockedPagesSpecifyCache },
60     { "NtCreateSection",              Test_NtCreateSection },
61     { "PoIrp",                        Test_PoIrp },
62     { "RtlAvlTree",                   Test_RtlAvlTree },
63     { "RtlException",                 Test_RtlException },
64     { "RtlIntSafe",                   Test_RtlIntSafe },
65     { "RtlMemory",                    Test_RtlMemory },
66     { "RtlRegistry",                  Test_RtlRegistry },
67     { "RtlSplayTree",                 Test_RtlSplayTree },
68     { "RtlStack",                     Test_RtlStack },
69     { "RtlStrSafe",                   Test_RtlStrSafe },
70     { "RtlUnicodeString",             Test_RtlUnicodeString },
71     { "TcpIpTdi",                     Test_TcpIpTdi },
72     { "TcpIpConnect",                 Test_TcpIpConnect },
73 #ifdef _M_AMD64
74     { "RtlCaptureContextUM",          Test_RtlCaptureContext },
75 #endif
76     { NULL,                           NULL },
77 };
78