]> git.sesse.net Git - vlc/blobdiff - test/PyMediaControlVariablesTest.py
dummy .empty files added for needed folders
[vlc] / test / PyMediaControlVariablesTest.py
index 57820f0372d32d57135e26f7d789ad72ac7fd237..9a994f025fd60ef31ab75e6171f828e86230b081 100644 (file)
@@ -1,43 +1,43 @@
-import vlc
-import unittest
-
-# FIXME: Always segfault
-
-class VariablesTestCase( unittest.TestCase ):
-    """[PyMC] Test misc variables interaction"""
-    def setUp( self ):
-         print "broken"
-#        self.mc = vlc.MediaControl( [ '--quiet'] )
-        # FIXME ! - Get this through children test
-#        self.libvlc = vlc.Object(1)
-#        self.playlist = vlc.Object(268)
-
-    def tearDown( self ):
-         print "broken"
-#        self.playlist.release() 
-#        self.libvlc.release() 
-#        self.mc.exit()
-            
-    # The Python binding can't create variables, so just get default ones
-    def testInt( self ):
-        """[PyMC] Get/Set integer variable"""
-        print "broken"
-#        assert self.libvlc.get( "width" ) == 0
-#        self.libvlc.set( "width", 42 ) 
-#        assert self.libvlc.get( 'width' ) == 42
-
-    # FIXME: Python binding should listen to return value and raise exception 
-    def testInvalidInt( self ):
-        """[PyMC] Get/Set invalid integer"""
-        print "broken"
-#        self.libvlc.set( "width" , 5 )
-#        self.libvlc.set( "width", "foo" )
-#        assert self.libvlc.get( "width" ) == -1
-    
-    def testString( self ):
-        """[PyMC] Get/Set string variable"""
-        print "broken"
-#        assert self.libvlc.get( "open" ) == ''
-#        self.libvlc.set( "open", "foo" ) 
-#        assert self.libvlc.get( "open" ) == "foo"
-           
+#import vlc
+#import unittest
+#
+## FIXME: Always segfault
+#
+#class VariablesTestCase( unittest.TestCase ):
+#    """[PyMC] Test misc variables interaction"""
+#    def setUp( self ):
+#         print "broken"
+##        self.mc = vlc.MediaControl( [ '--quiet'] )
+#        # FIXME ! - Get this through children test
+##        self.libvlc = vlc.Object(1)
+##        self.playlist = vlc.Object(268)
+#
+#    def tearDown( self ):
+#         print "broken"
+##        self.playlist.release() 
+##        self.libvlc.release() 
+##        self.mc.exit()
+#            
+#    # The Python binding can't create variables, so just get default ones
+#    def testInt( self ):
+#        """[PyMC] Get/Set integer variable"""
+#        print "broken"
+##        assert self.libvlc.get( "width" ) == 0
+##        self.libvlc.set( "width", 42 ) 
+##        assert self.libvlc.get( 'width' ) == 42
+#
+#    # FIXME: Python binding should listen to return value and raise exception 
+#    def testInvalidInt( self ):
+#        """[PyMC] Get/Set invalid integer"""
+#        print "broken"
+##        self.libvlc.set( "width" , 5 )
+##        self.libvlc.set( "width", "foo" )
+##        assert self.libvlc.get( "width" ) == -1
+#    
+#    def testString( self ):
+#        """[PyMC] Get/Set string variable"""
+#        print "broken"
+##        assert self.libvlc.get( "open" ) == ''
+##        self.libvlc.set( "open", "foo" ) 
+##        assert self.libvlc.get( "open" ) == "foo"
+#