Lei Zhang : quartz: Add a test for IFilterGraph2.

Alexandre Julliard julliard at winehq.org
Fri Dec 7 11:02:06 CST 2007


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

Author: Lei Zhang <thestig at google.com>
Date:   Wed Dec  5 20:10:41 2007 -0800

quartz: Add a test for IFilterGraph2.

---

 dlls/quartz/tests/filtergraph.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index 57400d2..8cbae7b 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -102,8 +102,22 @@ static void test_render_run(void)
     releasefiltergraph();
 }
 
+static void test_filter_graph2(void)
+{
+    HRESULT hr;
+    IFilterGraph2 *pF = NULL;
+
+    hr = CoCreateInstance(&CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER,
+            &IID_IFilterGraph2, (LPVOID*)&pF);
+    todo_wine {
+        ok(hr == S_OK, "CoCreateInstance failed with %x\n", hr);
+        ok(pF != NULL, "pF is NULL\n");
+    }
+}
+
 START_TEST(filtergraph)
 {
     CoInitialize(NULL);
     test_render_run();
+    test_filter_graph2();
 }




More information about the wine-cvs mailing list