[PATCH 5/6] quartz/tests/filesource: Add some tests for IBaseFilter_EnumPins().

Alexandre Julliard julliard at winehq.org
Thu Sep 27 03:15:01 CDT 2018


Zebediah Figura <z.figura12 at gmail.com> writes:

> diff --git a/dlls/quartz/tests/util.h b/dlls/quartz/tests/util.h
> new file mode 100644
> index 0000000..fe08c65
> --- /dev/null
> +++ b/dlls/quartz/tests/util.h
> @@ -0,0 +1,4 @@
> +static const WCHAR avifile[] = {'t','e','s','t','.','a','v','i',0};
> +static const WCHAR mpegfile[] = {'t','e','s','t','.','m','p','g',0};
> +
> +WCHAR *load_resource(const WCHAR *name);

It's better to avoid dependencies between test files when possible.
load_resource() is only a few lines and can be duplicated where needed.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list