def setUpClass(cls): cls.dock = Dock() cls.ddedock = DdeDock() cls.daemondock = DaemonDock() cls.oldhidemode = cls.daemondock.getHideMode() cls.oldhidestate = cls.daemondock.getHideState() cls.dockp = properties.dockClass()
def setUpClass(cls): cls.launcher = Launcher() cls.dock = Dock() cls.googleName = cls.dock.string_Google_Chrome cls.QQname = cls.dock.string_QQ cls.googleFile = cls.dock.DesktopFile_Google_Chrome cls.QQFile = cls.dock.DesktopFile_QQ cls.launcher.freeMode()
def setUpClass(cls): cls.testiconname = "trash-" cls.dock = Dock() if utils.dock.displaymode_fashion != utils.getDdeDockDisplayMode(): utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion) if utils.dock.position_bottom != utils.getDdeDockPosition(): utils.setDdeDockPosition(utils.dock.position_bottom)
def setUpClass(cls): cls.dock = Dock() cls.ddedock = DdeDock() cls.daemondock = DaemonDock() cls.oldhidemode = cls.daemondock.getHideMode() cls.oldhidestate = cls.daemondock.getHideState() cls.dockp = properties.dockClass() cls.daemonnetwork = DaemonNetwork() cls.device = cls.daemonnetwork.getActiveDevices()
def setUpClass(cls): cls.homepath = os.path.expanduser('~') cls.dbpath = cls.homepath + '/.local/share/deepin/deepin-notifications/data.db' cls.conn = NotificationsDB(cls.dbpath) cls.conn.deleteAll() cls.launcher = Launcher() cls.launchername = translation.charTrans.getCharTrans('deepin-music') cls.appName = 'deepin-music' cls.dock = Dock()
def setUpClass(cls): cls.testiconname = "sound-" cls.dock = Dock() cls.ddecontrolcenter = Dde_control_center() if utils.dock.displaymode_fashion != utils.getDdeDockDisplayMode(): utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion) if utils.dock.position_bottom != utils.getDdeDockPosition(): utils.setDdeDockPosition(utils.dock.position_bottom)
def setUpClass(cls): cls.daemonnetwork = DaemonNetwork() cls.devices = cls.daemonnetwork.getActiveDevices() cls.testiconname = "network-" + cls.devices[0] cls.dock = Dock() cls.ddecontrolcenter = Dde_control_center() if utils.dock.displaymode_fashion != utils.getDdeDockDisplayMode(): utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion) if utils.dock.position_bottom != utils.getDdeDockPosition(): utils.setDdeDockPosition(utils.dock.position_bottom)
def setUpClass(cls): cls.dock = Dock() cls.dbus_launcher = DbusLauncher() cls.geidticonname = "Text Editor" cls.geidtwindowname = cls.dock.string_Text_Editor_Window1 cls.ddedockobject = utils.getDdeDockObject() if utils.dock.displaymode_fashion != utils.getDdeDockDisplayMode(): utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion) if utils.dock.position_bottom != utils.getDdeDockPosition(): utils.setDdeDockPosition(utils.dock.position_bottom)
def setUpClass(cls): cls.dock = Dock() cls.launcher = Launcher() cls.dockname = 'google-chrome' cls.dockApps = cls.dock.getAllDockApps()
def setUpClass(cls): cls.dock = Dock() cls.launcher = Launcher()