Commit Graph

55 Commits

Author SHA1 Message Date
Michael Stefaniuc 6b76648a8b dmime/tests: Test the return value of IDirectMusic_SetDirectSound().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-05 22:10:47 +01:00
Sven Baars 8f3a474655 dmime/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-29 21:38:10 +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
Michael Stefaniuc 14f899317a dmime: Initialize dmusic in InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:53 +02:00
Michael Stefaniuc 195280bee3 dmime/tests: Add refcount test for generated dmusic/dsound.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 36a88d2841 dmusic: Implement IDirectMusic8::SetDirectSound().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:00 -05:00
Michael Stefaniuc f221298e61 dmime/tests: Add more InitAudio() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:58 +02:00
Michael Stefaniuc a306577803 dmime/tests: Use simpler variable names in test_InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:55 +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 232aeb6b20 dmime/tests: Rather test for IDirectMusicObject as invalid iface. 2014-06-11 19:15:20 +02: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
Frédéric Delanoy cd4cd76614 dmime/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:50 +01: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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Andrew Eikum 629e857c2e dmime: Don't try to create a standard audio path if the client didn't ask for one. 2012-04-19 12:00:52 +02:00
Michael Stefaniuc edcf723bab dmime/tests: Add some COM tests for DirectMusicSegment. 2012-04-06 20:14:29 +02:00
Michael Stefaniuc 2259da712e dmime/tests: Add some COM tests for IDirectMusicPerformance. 2012-04-02 12:41:12 +02:00