https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f21f75046780b342d73ab…
commit f21f75046780b342d73aba3c863327866364d7a9
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Apr 28 22:47:14 2019 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Apr 28 23:46:35 2019 +0200
[KERNEL32_APITEST] Rename the 'Console.c' file into 'ConsoleCP.c' and
its test-function as well, in order to reflect the actual name of the corresponding test.
---
modules/rostests/apitests/kernel32/CMakeLists.txt | 2 +-
modules/rostests/apitests/kernel32/{Console.c => ConsoleCP.c} | 2 +-
modules/rostests/apitests/kernel32/testlist.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/rostests/apitests/kernel32/CMakeLists.txt
b/modules/rostests/apitests/kernel32/CMakeLists.txt
index 205c9cb2ab..1b8c8314c8 100644
--- a/modules/rostests/apitests/kernel32/CMakeLists.txt
+++ b/modules/rostests/apitests/kernel32/CMakeLists.txt
@@ -4,7 +4,7 @@ add_subdirectory(redirptest)
add_message_headers(ANSI FormatMessage.mc)
list(APPEND SOURCE
- Console.c
+ ConsoleCP.c
CreateProcess.c
DefaultActCtx.c
DeviceIoControl.c
diff --git a/modules/rostests/apitests/kernel32/Console.c
b/modules/rostests/apitests/kernel32/ConsoleCP.c
similarity index 99%
rename from modules/rostests/apitests/kernel32/Console.c
rename to modules/rostests/apitests/kernel32/ConsoleCP.c
index 21dfd4b9e7..5d12bd88c5 100644
--- a/modules/rostests/apitests/kernel32/Console.c
+++ b/modules/rostests/apitests/kernel32/ConsoleCP.c
@@ -446,7 +446,7 @@ static void test_cp932(HANDLE hConOut)
SetConsoleOutputCP(oldcp);
}
-START_TEST(Console)
+START_TEST(ConsoleCP)
{
HANDLE hConIn, hConOut;
FreeConsole();
diff --git a/modules/rostests/apitests/kernel32/testlist.c
b/modules/rostests/apitests/kernel32/testlist.c
index 469926aa11..1a15572f98 100644
--- a/modules/rostests/apitests/kernel32/testlist.c
+++ b/modules/rostests/apitests/kernel32/testlist.c
@@ -3,7 +3,7 @@
#define STANDALONE
#include <apitest.h>
-extern void func_Console(void);
+extern void func_ConsoleCP(void);
extern void func_CreateProcess(void);
extern void func_DefaultActCtx(void);
extern void func_DeviceIoControl(void);
@@ -36,7 +36,7 @@ extern void func_WideCharToMultiByte(void);
const struct test winetest_testlist[] =
{
- { "ConsoleCP", func_Console },
+ { "ConsoleCP", func_ConsoleCP },
{ "CreateProcess", func_CreateProcess },
{ "DefaultActCtx", func_DefaultActCtx },
{ "DeviceIoControl", func_DeviceIoControl },