mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
testsuite/runtests.py (tests): Run all tests in one TestSuite instead of several.
Original commit message from CVS: * testsuite/runtests.py (tests): Run all tests in one TestSuite instead of several. * testsuite/element.py (FakeSinkTest.setUp): Disable StateError tests until there is a way to disable element error output.
This commit is contained in:
parent
90579783ce
commit
a2040bb005
5 changed files with 17 additions and 7 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-04-21 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* testsuite/runtests.py (tests): Run all tests in one TestSuite
|
||||
instead of several.
|
||||
|
||||
* testsuite/element.py (FakeSinkTest.setUp): Disable StateError
|
||||
tests until there is a way to disable element error output.
|
||||
|
||||
2004-04-16 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* configure.ac (PYGTK_CODEGEN): Use built in code generator again
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit d03e4388098656fa65df4d3a29e40fc556173d2d
|
||||
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87
|
|
@ -32,7 +32,8 @@ class FakeSinkTest(ElementTest):
|
|||
def setUp(self):
|
||||
self.element = gst.Element('fakesink', 'sink')
|
||||
|
||||
def testStateError(self):
|
||||
# Disabled - since it outputs junks
|
||||
def _testStateError(self):
|
||||
self.element.set_property('state-error',
|
||||
self.FAKESINK_STATE_ERROR_NULL_READY)
|
||||
def error_cb(element, source, error, debug):
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
import sys
|
||||
from unittest import TestLoader, TextTestRunner
|
||||
from unittest import TestSuite, TestLoader, TextTestRunner
|
||||
from types import ClassType
|
||||
|
||||
loader = TestLoader()
|
||||
testRunner = TextTestRunner()
|
||||
|
||||
test = TestSuite()
|
||||
for name in ('element', 'interface', 'pipeline'):
|
||||
print 'Testing', name
|
||||
tests = loader.loadTestsFromName(name)
|
||||
test.addTest(loader.loadTestsFromName(name))
|
||||
testRunner.run(tests)
|
||||
|
|
|
@ -32,7 +32,8 @@ class FakeSinkTest(ElementTest):
|
|||
def setUp(self):
|
||||
self.element = gst.Element('fakesink', 'sink')
|
||||
|
||||
def testStateError(self):
|
||||
# Disabled - since it outputs junks
|
||||
def _testStateError(self):
|
||||
self.element.set_property('state-error',
|
||||
self.FAKESINK_STATE_ERROR_NULL_READY)
|
||||
def error_cb(element, source, error, debug):
|
||||
|
|
Loading…
Reference in a new issue