[1/2] msi/tests: Test MsiRecordGetString on null and empty strings.

James Hawkins truiken at gmail.com
Wed Apr 15 18:40:18 CDT 2009

On Wed, Apr 15, 2009 at 4:34 PM, Nicolas Le Cam <niko.lecam at gmail.com> wrote:
> While trying to solve ACTION_AppSearchDr problem revealed by my previous
> patch, I discovered that MSI_RecordGetStringW was returning a buffer
> length of 1 on null and empty strings.
> Here is the test, the fix follows.
> Tested on WinXP and Wine.

This patch has 39 lines of test code without a single empty line.
Unit tests test one thing at a time and should be well documented and
easy to read.

James Hawkins

More information about the wine-devel mailing list