quartz: Move current tests into their own test case.

This commit is contained in:
Lei Zhang 2007-12-05 20:10:24 -08:00 committed by Alexandre Julliard
parent 5f7a9cea38
commit f84f4cab70
1 changed files with 11 additions and 6 deletions

View File

@ -85,20 +85,25 @@ static void releasefiltergraph(void)
ok(hr==0, "Releasing filtergraph returned: %x\n", hr);
}
START_TEST(filtergraph)
static void test_render_run(void)
{
HANDLE h;
CoInitialize(NULL);
if (!createfiltergraph())
return;
h = CreateFileW(file, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
if (h != INVALID_HANDLE_VALUE) {
CloseHandle(h);
renderfile();
rungraph();
CloseHandle(h);
renderfile();
rungraph();
}
releasefiltergraph();
}
START_TEST(filtergraph)
{
CoInitialize(NULL);
test_render_run();
}