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:
Johan Dahlin 2004-04-21 09:45:44 +00:00
parent 90579783ce
commit a2040bb005
5 changed files with 17 additions and 7 deletions

View file

@ -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

@ -1 +1 @@
Subproject commit d03e4388098656fa65df4d3a29e40fc556173d2d
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87

View file

@ -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):

View file

@ -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)
testRunner.run(tests)
test.addTest(loader.loadTestsFromName(name))
testRunner.run(tests)

View file

@ -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):