Michael Stefaniuc : dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer vtbl.

Alexandre Julliard julliard at winehq.org
Mon Aug 29 11:28:34 CDT 2011


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Aug 29 00:28:50 2011 +0200

dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer vtbl.

---

 dlls/dsound/tests/dsound.c  |    3 +++
 dlls/dsound/tests/dsound8.c |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c
index 64b188c..be846df 100644
--- a/dlls/dsound/tests/dsound.c
+++ b/dlls/dsound/tests/dsound.c
@@ -627,6 +627,9 @@ static HRESULT test_primary_secondary(LPGUID lpGuid)
                "IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x\n",rc);
 
             if (rc==DS_OK && secondary!=NULL) {
+                todo_wine ok(primary->lpVtbl==secondary->lpVtbl,
+                            "Primary and secondary buffers have different vtbls.\n");
+
                 test_buffer(dso,&secondary,0,FALSE,0,FALSE,0,
                             winetest_interactive,1.0,0,NULL,0,0,FALSE,0);
 
diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index 6406b47..87d9adb 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -639,6 +639,9 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid)
                "buffer %08x\n",rc);
 
             if (rc==DS_OK && secondary!=NULL) {
+                todo_wine ok(primary->lpVtbl==secondary->lpVtbl,
+                            "Primary and secondary buffers have different vtbls.\n");
+
                 test_buffer8(dso,&secondary,0,FALSE,0,FALSE,0,
                              winetest_interactive,1.0,0,NULL,0,0);
 




More information about the wine-cvs mailing list