ReactOS 0.4.15-dev-7906-g1b85a5f
testlist.cpp
Go to the documentation of this file.
1#ifndef _DDRAWTESTLIST_H
2#define _DDRAWTESTLIST_H
3
4#include "ddrawtest.h"
5#include "debug.cpp"
6
7/* include the tests */
8#include "DDraw/create.cpp"
11#include "Surface/create.cpp"
13#include "Surface/blt.cpp"
14#include "Surface/misc.cpp"
15
16/* The List of tests */
18{
19 { "IDirectDraw: COM Stuff", Test_CreateDDraw },
20 { "IDirectDraw: GetDeviceIdentifier", Test_GetDeviceIdentifier },
21 { "IDirectDraw: Display Modes", Test_DisplayModes },
22 { "IDirectDraw: Available Video Memory", Test_GetAvailableVidMem },
23 { "IDirectDraw: GetFourCC", Test_GetFourCCCodes },
24 { "IDirectDraw: Cooperative Levels", Test_SetCooperativeLevel },
25 { "IDirectDrawSurface: Creation", Test_CreateSurface },
26 { "IDirectDrawSurface: Blting", Test_Blt },
27 { "IDirectDrawSurface: Private Data", Test_PrivateData },
28 { "IDirectDrawSurface: Miscellaneous Tests", Test_Misc },
29};
30
31/* The function that gives us the number of tests */
33{
34 return sizeof(TestList) / sizeof(TEST);
35}
36
37#endif /* _DDRAWTESTLIST_H */
38
39/* EOF */
BOOL Test_GetAvailableVidMem(INT *passed, INT *failed)
BOOL Test_Blt(INT *passed, INT *failed)
Definition: blt.cpp:136
BOOL Test_DisplayModes(INT *passed, INT *failed)
BOOL Test_CreateDDraw(INT *passed, INT *failed)
Definition: create.cpp:5
BOOL Test_GetFourCCCodes(INT *passed, INT *failed)
Definition: create.cpp:89
BOOL Test_GetDeviceIdentifier(INT *passed, INT *failed)
Definition: create.cpp:115
BOOL Test_SetCooperativeLevel(INT *passed, INT *failed)
Definition: create.cpp:41
BOOL Test_CreateSurface(INT *passed, INT *failed)
Definition: create.cpp:26
BOOL Test_Misc(INT *passed, INT *failed)
Definition: misc.cpp:3
BOOL Test_PrivateData(INT *passed, INT *failed)
Definition: private_data.cpp:3
Definition: comm.c:65
EH_STD::__list__< TestClass, eh_allocator(TestClass) > TestList
Definition: test_list.cpp:31
INT NumTests(void)
Definition: testlist.cpp:32
TEST TestList[]
Definition: testlist.cpp:17
int32_t INT
Definition: typedefs.h:58