From ba8729940223dda9c9e4942c761668aef149a8f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20H=C3=B6hle?= Date: Sat, 11 Jul 2009 16:05:41 +0200 Subject: [PATCH] d3d9/tests: Detect empty graphics driver name. --- dlls/d3d9/tests/visual.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index d4fabf373b..ce53ca986c 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -182,7 +182,9 @@ static IDirect3DDevice9 *init_d3d9(void) ok(hr == D3D_OK, "Failed to get adapter identifier description\n"); trace("Driver string: \"%s\"\n", identifier.Driver); trace("Description string: \"%s\"\n", identifier.Description); + ok(identifier.Description[0] != '\0', "Empty driver description\n"); trace("Device name string: \"%s\"\n", identifier.DeviceName); + ok(identifier.DeviceName[0] != '\0', "Empty device name\n"); trace("Driver version %d.%d.%d.%d\n", HIWORD(U(identifier.DriverVersion).HighPart), LOWORD(U(identifier.DriverVersion).HighPart), HIWORD(U(identifier.DriverVersion).LowPart), LOWORD(U(identifier.DriverVersion).LowPart));