File: simple_encoder.py

package info (click to toggle)
gst-qa-system 0.0%2Bgit20110920.4750a8e8-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 980 kB
  • sloc: python: 8,498; xml: 855; makefile: 42
file content (26 lines) | stat: -rw-r--r-- 703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import os.path

from insanity.scenario import Scenario
from insanity.monitor import GstDebugLogMonitor

from insanity.tests.simple_encoder import SimpleEncoderTest

class SimpleEncoderScenario(Scenario):

    __test_name__ = "simple-encoder-scenario"
    __test_description__ = "Scenario for multiple video encoder tests"

    def setUp(self):
        if not Scenario.setUp(self):
            return False

        self.addSubTest(SimpleEncoderTest, {"codec":"theora"},
                        instance_name="theora")
        self.addSubTest(SimpleEncoderTest, {"codec":"schro"},
                        instance_name="schro")

        return True

    def subTestDone(self, test):
        return True