Sysparam regression test

Francois Gouget fgouget at free.fr
Sat May 18 21:49:36 CDT 2002


Changelog:

 * dlls/user/tests/sysparams.c

   Make the 'error' string of a couple of checks consistent with the
others



--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
           Demander si un ordinateur peut penser revient à demander
                          si un sous-marin peut nager.


Index: dlls/user/tests/sysparams.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/sysparams.c,v
retrieving revision 1.4
diff -u -r1.4 sysparams.c
--- dlls/user/tests/sysparams.c	2 Apr 2002 00:44:51 -0000	1.4
+++ dlls/user/tests/sysparams.c	19 May 2002 02:45:36 -0000
@@ -206,7 +206,7 @@
                   SPI_SETBEEP_VALNAME,
                   curr_val ? "Yes" : "No" );
     SystemParametersInfoA( SPI_GETBEEP, 0, &b, 0 );
-    eq( b, curr_val, "registry modification", "%d" );
+    eq( b, curr_val, "SPI_{GET,SET}BEEP", "%d" );
     if (has_unicode())
     {
         SystemParametersInfoW( SPI_GETBEEP, 0, &b, 0 );
@@ -419,7 +419,7 @@
     test_reg_key( SPI_SETKEYBOARDSPEED_REGKEY, SPI_SETKEYBOARDSPEED_VALNAME, buf );

     SystemParametersInfoA( SPI_GETKEYBOARDSPEED, 0, &speed, 0 );
-    eq( speed, curr_val, "registry modification", "%d");
+    eq( speed, curr_val, "SPI_{GET,SET}KEYBOARDSPEED", "%d");

     SystemParametersInfoA( SPI_SETKEYBOARDSPEED, old_speed, 0, SPIF_UPDATEINIFILE );
 }




More information about the wine-patches mailing list