d3drm/tests: Remove stray backslashes at end of lines.
This commit is contained in:
parent
96470dfcb4
commit
8e4d76bf2c
|
@ -603,7 +603,8 @@ static void test_Frame(void)
|
||||||
hr = IDirect3DRMFrame_GetChildren(pFrameP1, &pArray);
|
hr = IDirect3DRMFrame_GetChildren(pFrameP1, &pArray);
|
||||||
ok(hr == D3DRM_OK, "Cannot get children (hr = %x)\n", hr);
|
ok(hr == D3DRM_OK, "Cannot get children (hr = %x)\n", hr);
|
||||||
/* In some older version of d3drm, creating IDirect3DRMFrameArray object with GetChildren does not increment refcount of children frames */
|
/* In some older version of d3drm, creating IDirect3DRMFrameArray object with GetChildren does not increment refcount of children frames */
|
||||||
ok((get_refcount((IUnknown*)pFrameC) == 3) || broken(get_refcount((IUnknown*)pFrameC) == 2), "Invalid refcount. Expected 3 (or 2) got %d\n", get_refcount((IUnknown*)pFrameC)); \
|
ok((get_refcount((IUnknown*)pFrameC) == 3) || broken(get_refcount((IUnknown*)pFrameC) == 2),
|
||||||
|
"Invalid refcount. Expected 3 (or 2) got %d\n", get_refcount((IUnknown*)pFrameC));
|
||||||
if (pArray)
|
if (pArray)
|
||||||
{
|
{
|
||||||
count = IDirect3DRMFrameArray_GetSize(pArray);
|
count = IDirect3DRMFrameArray_GetSize(pArray);
|
||||||
|
@ -611,9 +612,11 @@ static void test_Frame(void)
|
||||||
hr = IDirect3DRMFrameArray_GetElement(pArray, 0, &pFrameTmp);
|
hr = IDirect3DRMFrameArray_GetElement(pArray, 0, &pFrameTmp);
|
||||||
ok(hr == D3DRM_OK, "Cannot get element (hr = %x)\n", hr);
|
ok(hr == D3DRM_OK, "Cannot get element (hr = %x)\n", hr);
|
||||||
ok(pFrameTmp == pFrameC, "pFrameTmp = %p\n", pFrameTmp);
|
ok(pFrameTmp == pFrameC, "pFrameTmp = %p\n", pFrameTmp);
|
||||||
ok((get_refcount((IUnknown*)pFrameC) == 4) || broken(get_refcount((IUnknown*)pFrameC) == 3), "Invalid refcount. Expected 4 (or 3) got %d\n", get_refcount((IUnknown*)pFrameC)); \
|
ok((get_refcount((IUnknown*)pFrameC) == 4) || broken(get_refcount((IUnknown*)pFrameC) == 3),
|
||||||
|
"Invalid refcount. Expected 4 (or 3) got %d\n", get_refcount((IUnknown*)pFrameC));
|
||||||
IDirect3DRMFrame_Release(pFrameTmp);
|
IDirect3DRMFrame_Release(pFrameTmp);
|
||||||
ok((get_refcount((IUnknown*)pFrameC) == 3) || broken(get_refcount((IUnknown*)pFrameC) == 2), "Invalid refcount. Expected 3 (or 2) got %d\n", get_refcount((IUnknown*)pFrameC)); \
|
ok((get_refcount((IUnknown*)pFrameC) == 3) || broken(get_refcount((IUnknown*)pFrameC) == 2),
|
||||||
|
"Invalid refcount. Expected 3 (or 2) got %d\n", get_refcount((IUnknown*)pFrameC));
|
||||||
IDirect3DRMFrameArray_Release(pArray);
|
IDirect3DRMFrameArray_Release(pArray);
|
||||||
CHECK_REFCOUNT(pFrameC, 2);
|
CHECK_REFCOUNT(pFrameC, 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue