[USER32_APITEST]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 6 Apr 2015 06:34:04 +0000 (06:34 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 6 Apr 2015 06:34:04 +0000 (06:34 +0000)
- Rename CreateWindowEx test to SetParent since that's what it tests

svn path=/trunk/; revision=67070

rostests/apitests/user32/CMakeLists.txt
rostests/apitests/user32/SetParent.c [moved from rostests/apitests/user32/CreateWindowEx.c with 98% similarity]
rostests/apitests/user32/testlist.c

index 1231522..c64025c 100644 (file)
@@ -3,7 +3,6 @@ list(APPEND SOURCE
     AttachThreadInput.c
     helper.c
     CreateIconFromResourceEx.c
-    CreateWindowEx.c
     DeferWindowPos.c
     DestroyCursorIcon.c
     DrawIconEx.c
@@ -24,6 +23,7 @@ list(APPEND SOURCE
     SendMessageTimeout.c
     SetActiveWindow.c
     SetCursorPos.c
+    SetParent.c
     SystemParametersInfo.c
     TrackMouseEvent.c
     WndProc.c
similarity index 98%
rename from rostests/apitests/user32/CreateWindowEx.c
rename to rostests/apitests/user32/SetParent.c
index 1cdac50..721b0ed 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * PROJECT:         ReactOS API tests
  * LICENSE:         LGPLv2.1+ - See COPYING.LIB in the top level directory
- * PURPOSE:         Test for CreateWindow stuff
+ * PURPOSE:         Test for SetParent
  * PROGRAMMERS:     Thomas Faber <thomas.faber@reactos.org>
  */
 
@@ -114,7 +114,7 @@ WndProc(
 }
 
 
-START_TEST(CreateWindowEx)
+START_TEST(SetParent)
 {
     HWND hWnd;
     MSG msg;
index 3c06dca..b3ff5dd 100644 (file)
@@ -5,7 +5,6 @@
 
 extern void func_AttachThreadInput(void);
 extern void func_CreateIconFromResourceEx(void);
-extern void func_CreateWindowEx(void);
 extern void func_DeferWindowPos(void);
 extern void func_DestroyCursorIcon(void);
 extern void func_DrawIconEx(void);
@@ -26,6 +25,7 @@ extern void func_ScrollWindowEx(void);
 extern void func_SendMessageTimeout(void);
 extern void func_SetActiveWindow(void);
 extern void func_SetCursorPos(void);
+extern void func_SetParent(void);
 extern void func_SystemParametersInfo(void);
 extern void func_TrackMouseEvent(void);
 extern void func_WndProc(void);
@@ -35,7 +35,6 @@ const struct test winetest_testlist[] =
 {
     { "AttachThreadInput", func_AttachThreadInput },
     { "CreateIconFromResourceEx", func_CreateIconFromResourceEx },
-    { "CreateWindowEx", func_CreateWindowEx },
     { "DeferWindowPos", func_DeferWindowPos },
     { "DestroyCursorIcon", func_DestroyCursorIcon },
     { "DrawIconEx", func_DrawIconEx },
@@ -56,6 +55,7 @@ const struct test winetest_testlist[] =
     { "SendMessageTimeout", func_SendMessageTimeout },
     { "SetActiveWindow", func_SetActiveWindow },
     { "SetCursorPos", func_SetCursorPos },
+    { "SetParent", func_SetParent },
     { "SystemParametersInfo", func_SystemParametersInfo },
     { "TrackMouseEvent", func_TrackMouseEvent },
     { "WndProc", func_WndProc },