Stein Magnus Jodal
4bffea8b1f
Test the GStreamer class as an actor
...
The test should use the same interface and code paths as production code.
2012-09-10 00:34:12 +02:00
Stein Magnus Jodal
e948a51310
Remove duplicate tearDown()
2012-09-08 23:05:31 +02:00
Thomas Adamcik
b0d6dc3e0c
Remove injected gstreamer settings.
2012-09-05 22:42:09 +02:00
Thomas Adamcik
40502e41e5
Update tests to catch scaling problem in mixer.
...
- Fixes problem where 60% became 59% due to bad rounding.
- Tests assume scale of 0-65536 which matches ALSA.
- Check all possible values of set_volume and ensure we the right value out.
2012-09-01 14:35:20 +02:00
Thomas Adamcik
2b01860680
Make it possible to override GStreamer settings in tests.
...
- Specifically you can now pass in values instead of relying on global
settings.
2012-09-01 14:01:11 +02:00
Thomas Adamcik
b796d7c859
Add create fakemixer element for testing.
...
- GStreamer tests now use this instead of a real mixer.
- fakemixer and the autoaudiomixer still need to be moved.
- We should probably use a fakesink as output as well.
2012-09-01 13:34:16 +02:00
Thomas Adamcik
703141c15b
Make sure bad data to OUTPUT does not deadlock.
...
- Moves GStreamer initialization out of on-start as it is not obvious to me how
to stop rest of setup on other ways.
- Note that gst.GError != gobject.GError as far as except is concerned.
2012-09-01 01:35:51 +02:00
Stein Magnus Jodal
413603f981
Remove old redundant comment
2012-02-10 00:02:54 +01:00
Thomas Adamcik
1985b4af76
Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise
2011-07-31 22:21:34 +02:00
Thomas Adamcik
e1cc1dfe48
Rename prepare_playback to prepare_change
2011-05-05 20:17:28 +02:00
Thomas Adamcik
76a33f37db
Add some more tests
2011-05-04 23:42:14 +02:00
Thomas Adamcik
9998a0e80f
Update gstreamer test
2011-05-04 23:35:50 +02:00
Thomas Adamcik
42547563ea
Convert set_state to internal method
2011-05-03 23:08:31 +02:00
Thomas Adamcik
a4c526774b
Kill off stale shoutcast tests
2011-04-25 17:44:21 +02:00
Thomas Adamcik
4a1df118fb
Move GStreamerOutput up one level to mopidy.gstreamer and rename to GStreamer
2011-04-25 01:31:28 +02:00