Logo Search packages:      
Sourcecode: jockey version File versions  Download package

def ui::UITest::test_check_composite_avail (   self  ) 

calling with --check-composite and available driver

Definition at line 685 of file ui.py.

00685                                         :
        '''calling with --check-composite and available driver'''

        sys.argv = ['ui-test', '--check-composite']
        ui = sandbox.TestUI()

        class XorgComp(XorgDriverHandler):
            def __init__(self, ui):
                XorgDriverHandler.__init__(self, ui, 'vanilla3d',
                    'mesa-vanilla', 'v3d', 'vanilla')
            def supports_composite(self):
                return True

        h = XorgComp(ui)
        self.failIf(h.enabled())
        ui.handlers.add(h)

        self.assertEqual(ui.run(), 0)

        self.stop_capture()
        self.assertEqual(open(self.open_app_log).read(), 
            '--confirm --enable kmod:vanilla3d\n')

    def test_check_composite_enabled(self):


Generated by  Doxygen 1.6.0   Back to index