Jefferson Carpenter <jeffersoncarpenter2@gmail.com> writes: In general, to test something like a file loader, you'd want to test
> Without a large binary file, how would we test the successful
> processing of an audio or video file? We could use an IWMWriter to
> create it, but then we wouldn't be testing for conformance against the
> Windows API.
multiple files with various contents, including invalid values for
header fields and the like. This is better done by generating them
instead of including pre-built binaries. Like you said, using IWMWriter
wouldn't guarantee that we are testing the right thing, so we'd most
likely want to generate them by hand somehow.
Again, this would be better done along with the implementation, so we
can get a better idea of what cases would be interesting to test.
--
Alexandre Julliard
julliard@winehq.org