Hugh McMaster : regedit/tests: Add REG_BINARY to the empty hex data import tests.

Alexandre Julliard julliard at winehq.org
Mon Oct 9 14:28:41 CDT 2017


Module: wine
Branch: master
Commit: 1e6bf7d996c6013e0a0fa3baa104811605720527
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1e6bf7d996c6013e0a0fa3baa104811605720527

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Mon Oct  9 11:46:58 2017 +0000

regedit/tests: Add REG_BINARY to the empty hex data import tests.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/regedit/tests/regedit.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c
index 79640a5..3e949a5 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -652,7 +652,8 @@ static void test_basic_import(void)
                     "\"Wine22d\"=hex(4):\n"
                     "\"Wine22e\"=hex(7):\n"
                     "\"Wine22f\"=hex(100):\n"
-                    "\"Wine22g\"=hex(abcd):\n\n");
+                    "\"Wine22g\"=hex(abcd):\n"
+                    "\"Wine22h\"=hex:\n\n");
     verify_reg(hkey, "Wine22a", REG_SZ, NULL, 0, 0);
     verify_reg(hkey, "Wine22b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE);
     verify_reg(hkey, "Wine22c", REG_BINARY, NULL, 0, 0);
@@ -660,6 +661,7 @@ static void test_basic_import(void)
     verify_reg(hkey, "Wine22e", REG_MULTI_SZ, NULL, 0, TODO_REG_SIZE);
     verify_reg(hkey, "Wine22f", 0x100, NULL, 0, 0);
     verify_reg(hkey, "Wine22g", 0xabcd, NULL, 0, 0);
+    verify_reg(hkey, "Wine22h", REG_BINARY, NULL, 0, 0);
 
     RegCloseKey(hkey);
 
@@ -1066,7 +1068,8 @@ static void test_basic_import_unicode(void)
                      "\"Wine22d\"=hex(4):\n"
                      "\"Wine22e\"=hex(7):\n"
                      "\"Wine22f\"=hex(100):\n"
-                     "\"Wine22g\"=hex(abcd):\n\n");
+                     "\"Wine22g\"=hex(abcd):\n"
+                     "\"Wine22h\"=hex:\n\n");
     verify_reg(hkey, "Wine22a", REG_SZ, NULL, 0, 0);
     verify_reg(hkey, "Wine22b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE);
     verify_reg(hkey, "Wine22c", REG_BINARY, NULL, 0, 0);
@@ -1074,6 +1077,7 @@ static void test_basic_import_unicode(void)
     verify_reg(hkey, "Wine22e", REG_MULTI_SZ, NULL, 0, TODO_REG_SIZE);
     verify_reg(hkey, "Wine22f", 0x100, NULL, 0, 0);
     verify_reg(hkey, "Wine22g", 0xabcd, NULL, 0, 0);
+    verify_reg(hkey, "Wine22h", REG_BINARY, NULL, 0, 0);
 
     RegCloseKey(hkey);
 




More information about the wine-cvs mailing list