gstreamer/bindings/python/testsuite/test_timeline_test_source.py

20 lines
508 B
Python
Raw Normal View History

2011-06-10 14:58:55 +00:00
import glib
import gst
from common import TestCase
import ges
2011-06-10 14:58:55 +00:00
class TimelineTestSource(TestCase):
def testTimelineTestSource(self):
src = ges.TimelineTestSource()
tck_src = ges.TrackAudioTestSource()
src.set_mute(True)
src.set_vpattern("snow")
src.set_frequency(880)
src.set_volume (1)
assert (src.get_vpattern() != None)
assert (src.is_muted() == True)
assert (src.get_frequency() == 880)
assert (src.get_volume() == 1)