forked from Mirrors/wine-wine
xmllite/tests: There is no need to initialize OLE.
parent
42e681e31d
commit
ce894b9fc6
|
@ -1671,16 +1671,8 @@ static void test_read_attribute(void)
|
||||||
|
|
||||||
START_TEST(reader)
|
START_TEST(reader)
|
||||||
{
|
{
|
||||||
HRESULT r;
|
|
||||||
|
|
||||||
r = CoInitialize( NULL );
|
|
||||||
ok( r == S_OK, "failed to init com\n");
|
|
||||||
|
|
||||||
if (!init_pointers())
|
if (!init_pointers())
|
||||||
{
|
|
||||||
CoUninitialize();
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
test_reader_create();
|
test_reader_create();
|
||||||
test_readerinput();
|
test_readerinput();
|
||||||
|
@ -1697,6 +1689,4 @@ START_TEST(reader)
|
||||||
test_read_pending();
|
test_read_pending();
|
||||||
test_readvaluechunk();
|
test_readvaluechunk();
|
||||||
test_read_xmldeclaration();
|
test_read_xmldeclaration();
|
||||||
|
|
||||||
CoUninitialize();
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,18 +70,8 @@ static BOOL init_pointers(void)
|
||||||
|
|
||||||
START_TEST(writer)
|
START_TEST(writer)
|
||||||
{
|
{
|
||||||
HRESULT r;
|
|
||||||
|
|
||||||
r = CoInitialize( NULL );
|
|
||||||
ok( r == S_OK, "failed to init com\n");
|
|
||||||
|
|
||||||
if (!init_pointers())
|
if (!init_pointers())
|
||||||
{
|
|
||||||
CoUninitialize();
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
test_writer_create();
|
test_writer_create();
|
||||||
|
|
||||||
CoUninitialize();
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue