Exemplo n.º 1
0
 def test_init(self):
     library = SongLibrary()
     x = CollectionBrowser(library, False)
     x.destroy()
Exemplo n.º 2
0
    def setUp(self):
        config.init()

        lib = SongLibrary()
        self.pane = Pane(lib, "artist")
Exemplo n.º 3
0
 def setUp(self):
     SongProperties.plugins = DummyPlugins()
     config.init()
     self.library = SongLibrary()
Exemplo n.º 4
0
 def test_edit_window(self):
     EditBookmarks(None, SongLibrary(), self.player).destroy()
Exemplo n.º 5
0
 def setUp(self):
     quodlibet.config.init()
     player = NullPlayer()
     self.queue = QueueExpander(Gtk.CheckMenuItem(), SongLibrary(), player)
Exemplo n.º 6
0
 def setUp(self):
     quodlibet.config.init()
     self.library = SongLibrary()
     self.bar = AudioFeeds(self.library)
Exemplo n.º 7
0
 def setUp(self):
     config.init()
     self.p = NullPlayer()
     self.l = SongLibrary()
Exemplo n.º 8
0
 def setUp(self):
     quodlibet.config.init()
     init_fake_app()
     self.inf = None
     self.library = SongLibrary()
Exemplo n.º 9
0
 def test_seekbutton(self):
     w = SeekButton(NullPlayer(), SongLibrary())
     w.destroy()
Exemplo n.º 10
0
 def setUp(self):
     self.info = SongInfo(SongLibrary(), NullPlayer())
Exemplo n.º 11
0
 def test_create(self):
     SeekBar = self.mod.SeekBar
     SeekBar(NullPlayer(), SongLibrary()).destroy()
Exemplo n.º 12
0
 def setUp(self):
     quodlibet.config.init()
     self.library = SongLibrary()
     self.bar = PlaylistsBrowser(SongLibrary(), NullPlayer())
Exemplo n.º 13
0
 def setUp(self):
     init_fake_app()
     fd, self.filename = mkstemp()
     os.close(fd)
     self.info = SongInfo(SongLibrary(), NullPlayer(), self.filename)
Exemplo n.º 14
0
 def test_random_at_startup(self):
     self.failIf(isinstance(self.queue.model.order, OrderShuffle))
     quodlibet.config.set("memory", "shufflequeue", True)
     self.queue = self.queue = QueueExpander(SongLibrary(), NullPlayer())
     # See issue #2411
     self.failUnless(isinstance(self.queue.model.order, OrderShuffle))
Exemplo n.º 15
0
 def setUp(self):
     l = SongLibrary()
     l.add(SONGS)
     l.albums.load()
     self.albums = l.albums
Exemplo n.º 16
0
 def setUp(self):
     quodlibet.config.init()
     self.bar = FileSystem(SongLibrary())
 def setUp(self):
     quodlibet.config.init()
     self.songlist = SongList(SongLibrary())
Exemplo n.º 18
0
 def setUp(self):
     quodlibet.config.init()
     self.bar = InternetRadio(SongLibrary())
Exemplo n.º 19
0
 def setUp(self):
     quodlibet.config.init()
     player = NullPlayer()
     self.queue = QueueExpander(SongLibrary(), player)
 def setUp(self):
     quodlibet.config.init()
     self.library = SongLibrary()
     self.bar = AudioFeeds(self.library, NullPlayer('fakesink'))