Commit Graph

49 Commits

Author SHA1 Message Date
Michael Stefaniuc 604b874b20 dmime/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:20 +01:00
Michael Stefaniuc 59600f9588 dmime/tests: Add segment GetParam/SetParam tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Michael Stefaniuc 4649f2f1a0 dmime/tests: Add more GetTrack() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Michael Stefaniuc badea4cae0 dmime/tests: Add GetParam/SetParam tests for unsupported types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:55 +01:00
Michael Stefaniuc ca060d45e3 dmime: Tempo track supports only GUID_TempoParam in GetParam().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:52 +01:00
Michael Stefaniuc 2ff339f9ad dmime: Partial implementation of the TimeSig track Get/SetParam.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:44 +01:00
Michael Stefaniuc d423339960 dmime: Partial implementation of the Wave track Get/SetParam.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:40 +01:00
Michael Stefaniuc d827b65204 dmime: Partial implementation of the Marker track Get/SetParam.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:36 +01:00
Michael Stefaniuc d08bce15bc dmime: Implement the SegTrigger track Get/SetParam.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:30 +01:00
Michael Stefaniuc 88281f4b5f dmime/tests: Add some IDirectMusicSegment_GetTrack() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 09:47:31 +01:00
Michael Stefaniuc 1f5e2b7815 dmime/tests: Check all IDirectMusicTrack_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 14e36e6194 dmime: SegTrigger track supports parameter GUID_IDirectMusicStyle.
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-14 21:05:00 +01: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 a783d2a397 dmime/tests: Add an invalid stream test.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-15 12:18:45 +01:00
Michael Stefaniuc 83c078b0ab dmime/tests: Fix an IStream use after free and a leak.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-15 12:18:43 +01:00
Michael Stefaniuc 387a9f7038 dmime/tests: Add ParseDescriptor NULL pointer tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:32:02 +01:00
Michael Stefaniuc 156aceebbe dmime: Reimplement ParseDescriptor for DMGraph.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:31:58 +01:00
Michael Stefaniuc bdbd2e188c dmime: Reimplement ParseDescriptor for DMAudioPathConfig.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:31:55 +01:00
Michael Stefaniuc 0fa08f4793 dmime: Add a generic ParseDescriptor helper and use it for DMSegment.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:31:51 +01:00
Michael Stefaniuc 07fd2ef372 dmusic/tests: Check forms 'DMAP' and 'DMTG' in ParseDescriptor too.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 04:40:48 -06:00
Michael Stefaniuc 6d74b1ebed dmime/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:54:20 +01:00
Alistair Leslie-Hughes f62a891385 dmime: Support more interfaces in IDirectMusicAudioPath.GetObjectInPath.
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>
2017-06-28 17:15:42 +02: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
Huw Davies 5864ef417e dmime/tests: Skip the tests if InitAudio fails for any reason.
Fixes failures on Windows 10.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-13 14:51:02 +01:00
Michael Stefaniuc 3de79096aa dmime/tests: Add some basic IDirectMusicTrack8 tests. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 0789ddc322 dmime: Use the generic IPersistStream for DMWaveTrack. 2015-07-03 22:57:58 +09:00
Michael Stefaniuc 4a9eb8bfe0 dmime: Use the generic IPersistStream for DMParamControlTrack. 2015-07-03 22:57:40 +09:00
Michael Stefaniuc aad75398dd dmime: Use the generic IPersistStream for DMLyricsTrack. 2015-07-03 22:57:23 +09:00
Michael Stefaniuc 64e8b6c03a dmime: Use the generic IPersistStream for DMSysExTrack. 2015-07-03 22:57:05 +09:00
Michael Stefaniuc ac18130e76 dmime: Use the generic IPersistStream for DMSeqTrack. 2015-07-03 22:56:50 +09:00
Michael Stefaniuc 7123c74532 dmime: Use the generic IPersistStream for DMTimeSigTrack. 2015-07-02 19:16:10 +09:00
Michael Stefaniuc 5bf9d04581 dmime: Use the generic IPersistStream for DMMarkerTrack. 2015-07-02 19:16:04 +09:00
Michael Stefaniuc 5525f5d0fa dmime/tests: Deal with DMTrack objects without IDirectMusicTrack8. 2015-07-02 19:15:58 +09:00
Michael Stefaniuc 39cc9da12a dmime/tests: Add IPersistStream tests for DM*Track. 2015-06-16 16:50:47 +09:00
Michael Stefaniuc 060d8a4638 dmime: Use the generic DMObject implementation for DMGraph. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 93e61eb4e8 dmime: Use the generic DMObject implementation for DMAudioPathConfig. 2015-06-15 15:29:05 +09:00
Nikolay Sivov ef585842d6 dmime: Remove separate IUnknown vtable from IDirectMusicAudioPath impl. 2015-04-29 12:24:51 +09:00
Nikolay Sivov 494c674028 dmime/tests: Fix some failures on Win2k VMs. 2015-04-27 15:10:38 +09:00
Nikolay Sivov c6bc5f1a1c dmime: Implement GetClassID() for IDirectMusicGraph. 2015-04-27 15:10:35 +09:00
Michael Stefaniuc 4ffcae35d2 dmime/tests: Remove unused assigments (PVS-Studio). 2015-01-15 14:05:15 +01:00
Bruno Jesus 147bf5bd6f dmime/tests: Fix a crash in Windows 2000. 2014-07-28 17:20:35 -05:00
Michael Stefaniuc 1a3a6d0084 dmime/tests: Test some IPersistStream methods of objects with DMObject. 2014-06-11 16:12:00 +02:00
Nikolay Sivov a596cbb847 dmime: Fix handling of NULL out pointer in QI. 2014-05-05 12:17:57 +02:00
Michael Stefaniuc 03d5b1248b dmime/tests: Fix a crash due to a missing audio driver. 2014-01-13 17:37:39 +01:00
Michael Stefaniuc a64bda5b1b dmime/tests: COM tests for DirectMusicAudioPath and DirectMusicAudioPathConfig. 2014-01-10 12:08:06 +01:00
Michael Stefaniuc 0991d3a9bc dmime/tests: COM tests for DirectMusicGraph. 2014-01-10 12:07:59 +01:00
Michael Stefaniuc 13dfc393de dmime/tests: COM tests for the different DirectMusic*Tracks. 2014-01-10 12:07:56 +01:00
Michael Stefaniuc 77bf52b8a2 dmime/tests: Add COM tests for DirectMusicSegmentState. 2014-01-10 12:07:49 +01:00
Michael Stefaniuc d4861c07c4 dmime/tests: Move the unrelated COM test out of performance.c. 2014-01-10 12:07:44 +01:00