Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / rostests / apitests / kernel32 / lstrcpynW.c
diff --git a/rostests/apitests/kernel32/lstrcpynW.c b/rostests/apitests/kernel32/lstrcpynW.c
deleted file mode 100644 (file)
index a6e953b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * PROJECT:         ReactOS api tests
- * LICENSE:         GPLv2+ - See COPYING in the top level directory
- * PURPOSE:         Test for lstrcpynW
- */
-
-#include <apitest.h>
-
-#define WIN32_NO_STATUS
-#include <stdio.h>
-
-START_TEST(lstrcpynW)
-{
-    WCHAR buffer[256];
-    
-    /* Test basic functionality */
-    ok(lstrcpynW(buffer, L"Copy this string", 256) == buffer, "lstrncpyW failed!\n");
-    ok(!lstrcmpW(buffer, L"Copy this string"), "Copy went wrong.\n");
-    
-    /* Test for buffer too small */
-    ok(lstrcpynW(buffer, L"Copy this string", 10) == buffer, "lstrncpyW failed!\n");
-    ok(buffer[9] == 0, "lstrncpyW should have NULL-terminated the string");
-    ok(!lstrcmpW(buffer, L"Copy this"), "Copy went wrong.\n");
-    
-    /* Test some invalid buffer */
-    ok(lstrcpynW((LPWSTR)0xbaadf00d, L"Copy this string", 256) == NULL, "lstrncpyW should have returned NULL.\n");
-}