Commit Graph

29 Commits

Author SHA1 Message Date
Michael Stefaniuc dcb6fcb2af dmstyle/tests: Add GetParam/SetParam tests for unsupported types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:56 +01:00
Michael Stefaniuc 62ff6ee754 dmstyle: Partially implement Audition track GetParam/SetParam methods.
Temporary drop a todo_wine test until all dmstyle tracks have their
SetParam() method implemented.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:40 +01:00
Michael Stefaniuc 7560f0c59d dmstyle/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 21:26:25 +01:00
Michael Stefaniuc 274427aa6a dmstyle: Implement IsParamSupported() for the Audition track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Michael Stefaniuc f5ad835ec3 dmstyle: The Chord track doesn't support the BandParam type.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Michael Stefaniuc 5d11ee2fe0 dmstyle/tests: Check all IDirectMusicTrack8_IsParamSupported() types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
Alistair Leslie-Hughes 7f469b689a dmstyle: IDirectMusicTrack GetParam add pointer check.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 23:01:57 +01:00
Sven Baars f3e3401a0a dmstyle/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:32:01 +01:00
Michael Stefaniuc 6b42be395d dmstyle/tests: Relax a test for a pristine DMStyle object.
Based on a patch by Alex Henrie.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 22:11:26 +01:00
Michael Stefaniuc 55587efd3a dmstyle: Reimplement ParseDescriptor() for DirectMusicStyle.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:31 +02:00
Michael Stefaniuc 7b5668a6e7 include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Michael Stefaniuc 6fd5bce038 dmstyle/tests: Avoid a clang warning.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 04:40:57 -06:00
Michael Stefaniuc ff4a81b47a dmstyle/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:27:08 +01:00
Nikolay Sivov f0fb2f16ca dmusic/tests: Use void* instead of void** type value for outer argument.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 20:30:30 +02:00
Michael Stefaniuc 396dd9d141 dmstyle/tests: Remove skips wrongly copied from the dmime tests. 2015-07-02 19:16:12 +09:00
Michael Stefaniuc 40769b4fad dmstyle: Mark IPersistStream_Save() as stub. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc 819d25a717 dmstyle: Use the generic IPersistStream for DMCommandTrack. 2015-07-01 19:18:22 +09:00
Michael Stefaniuc 699efa6f3e dmstyle: Use the generic IPersistStream for DMMotifTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc 6c057b03da dmstyle: Use the generic IPersistStream for DMAuditionTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc 2387bbfe3b dmstyle: Use the generic IPersistStream for DMMuteTrack. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc b2ff03ed03 dmstyle/tests: Add some basic DirectMusicTrack8 tests. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc ed48ffdfae dmstyle: IsParamSupported method doesn't crashes on NULL. 2015-06-26 20:35:04 +09:00
Michael Stefaniuc 19b9c8fdb7 dmstyle/tests: Add IPersistStream tests for DM*Track. 2015-06-16 20:00:36 +09:00
Michael Stefaniuc 277b09059c dmstyle/tests: Remove unused assigments (PVS-Studio). 2015-01-15 14:05:58 +01:00
Michael Stefaniuc 834bae9935 dmstyle/tests: Test some IPersistStream methods of DMStyle. 2014-06-11 12:59:15 +02:00
Michael Stefaniuc 29fe708970 dmstyle/tests: Fix a crash on old dmusic versions. 2014-01-17 11:01:15 +01:00
Michael Stefaniuc 134697b69f dmstyle/tests: COM tests for DirectMusicSection. 2014-01-15 11:55:01 +01:00
Michael Stefaniuc 31c9881f60 dmstyle/tests: COM tests for the different DirectMusic*Tracks. 2014-01-15 11:54:53 +01:00
Michael Stefaniuc e5b4b69352 dmstyle/tests: Add COM tests for IDirectMusicStyle8. 2014-01-15 11:54:48 +01:00