From: Ziqing Hui Subject: [PATCH 1/5] d2d1/tests: Add more test xml. Message-Id: <20220606073525.1774002-1-zhui@codeweavers.com> Date: Mon, 6 Jun 2022 15:35:21 +0800 Signed-off-by: Ziqing Hui --- dlls/d2d1/tests/d2d1.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c index bc662b4f8ae..3e385b2b05f 100644 --- a/dlls/d2d1/tests/d2d1.c +++ b/dlls/d2d1/tests/d2d1.c @@ -170,6 +170,29 @@ L" \ \ "; +static const WCHAR *effect_xml_wrong_type = +L" \ + \ + \ + \ + \ + \ + \ + \ +"; + +static const WCHAR *effect_xml_duplicate_property = +L" \ + \ + \ + \ + \ + \ + \ + \ + \ +"; + static const DWORD test_vs[] = { #if 0 @@ -10615,6 +10638,8 @@ static void test_effect_register(BOOL d3d11) {effect_xml_without_category, E_INVALIDARG}, {effect_xml_without_description, E_INVALIDARG}, {effect_xml_without_type, E_INVALIDARG}, + {effect_xml_wrong_type, E_INVALIDARG}, + {effect_xml_duplicate_property, E_INVALIDARG}, }; const D2D1_PROPERTY_BINDING binding[] = -- 2.25.1