[FASTFAT]
[reactos.git] / rostests / apitests / user32api / testlist.c
index f77cb30..0dc0513 100644 (file)
@@ -1,25 +1,33 @@
-#ifndef _USER32TESTLIST_H\r
-#define _USER32TESTLIST_H\r
-\r
-#include "user32api.h"\r
-\r
-/* include the tests */\r
-#include "tests/ScrollDC.c"\r
-#include "tests/ScrollWindowEx.c"\r
-\r
-/* The List of tests */\r
-TESTENTRY TestList[] =\r
-{\r
-       { L"ScrollDC", Test_ScrollDC },\r
-       { L"ScrollWindowEx", Test_ScrollWindowEx }\r
-};\r
-\r
-/* The function that gives us the number of tests */\r
-INT NumTests(void)\r
-{\r
-       return sizeof(TestList) / sizeof(TESTENTRY);\r
-}\r
-\r
-#endif /* _USER32TESTLIST_H */\r
-\r
-/* EOF */\r
+#ifndef _USER32TESTLIST_H
+#define _USER32TESTLIST_H
+
+#define ARRAY_SIZE(x)   (sizeof(x)/sizeof(x[0]))
+
+#include "user32api.h"
+
+/* include the tests */
+#include "tests/GetSystemMetrics.c"
+#include "tests/InitializeLpkHooks.c"
+#include "tests/ScrollDC.c"
+#include "tests/ScrollWindowEx.c"
+#include "tests/RealGetWindowClass.c"
+
+/* The List of tests */
+TESTENTRY TestList[] =
+{
+    { L"GetSystemMetrics", Test_GetSystemMetrics },
+    { L"InitializeLpkHooks", Test_InitializeLpkHooks },
+    { L"ScrollDC", Test_ScrollDC },
+    { L"ScrollWindowEx", Test_ScrollWindowEx },
+    { L"RealGetWindowClass", Test_RealGetWindowClass },
+};
+
+/* The function that gives us the number of tests */
+INT NumTests(void)
+{
+    return ARRAY_SIZE(TestList);
+}
+
+#endif /* _USER32TESTLIST_H */
+
+/* EOF */