def testTopPopupExists(self):
        utils.setDdeDockPosition(utils.dock.position_top)
        for name in self.defaultfashioniconlist:
            icon = self.ddedockobject.child(name)
            self.assertTrue(
                icon,
                "Can't find the [ %s ] icon in the dock region with Fashion Mode"
                % name)
            icon.point()
            if name != "datetime-" and \
               name != "system-tray-fashion-mode-item" and \
               name != "Launcher":
                icon_popup = self.ddedockobject.child(name + '-popup')
            elif name == "system-tray-fashion-mode-item":
                icon.click()
                icon_popup = self.ddedockobject.child('sys-tray-popup')
                icon.click()
            elif name == "datetime-":
                icon_popup = self.ddedockobject.child(name + 'popup')
            elif name == "Launcher":
                icon_popup = self.ddedockobject.child("launcher-popup")

            self.assertTrue(
                icon_popup,
                "Position Top: Can't find the [ %s ] icon-popup in the dock region with Fashion Mode"
                % name)
            print("find the popup window with icon: %s" % name)
Exemple #2
0
 def setUpClass(cls):
     cls.icon_dfm = "深度文件管理器"
     cls.icon_dmusic = "深度音乐"
     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.launchername = "deepin-appstore"
     cls.icon_deepinappstore = "深度商店"
     cls.ddedockobject = utils.getDdeDockObject()
     cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
     cls.defaultposition = utils.getDdeDockPosition()
     if utils.dock.position_bottom != cls.defaultposition:
         utils.setDdeDockPosition(utils.dock.position_bottom)
Exemple #4
0
 def tearDownClass(cls):
     if utils.getDdeDockDisplayMode() != utils.dock.displaymode_fashion:
         utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)
     if utils.getDdeDockPosition() != utils.dock.position_bottom:
         utils.setDdeDockPosition(utils.dock.position_bottom)
     os.system('killall chrome')
     DragDockiconToDel.AddApptoDock(cls.icon_dfm)
     DragDockiconToDel.AddApptoDock(cls.icon_dmusic)
    def tearDownClass(cls):
        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)

        cls.dbus_launcher.Hide()
 def setUpClass(cls):
     cls.launchername = "deepin-appstore"
     cls.icon_deepinappstore = "深度商店"
     cls.ddedockobject = utils.getDdeDockObject()
     cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
     cls.defaultposition = utils.getDdeDockPosition()
     if utils.dock.position_bottom != cls.defaultposition:
         utils.setDdeDockPosition(utils.dock.position_bottom)
Exemple #7
0
    def tearDownClass(cls):
        if utils.getDdeDockDisplayMode() != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(cls.defaultdisplaymode)

        if utils.getDdeDockPosition() != cls.defaultposition:
            utils.setDdeDockPosition(cls.defaultposition)

        if utils.getDdeDockIconSize() != cls.defaulticonsize:
            utils.setDdeDockIconSize(cls.defaulticonsize)
Exemple #8
0
    def tearDownClass(cls):
        if utils.getDdeDockDisplayMode() != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.getDdeDockPosition() != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockIconSize() != utils.dock.iconsize_medium:
            utils.setDdeDockIconSize(utils.dock.iconsize_medium)
Exemple #9
0
    def tearDownClass(cls):
        if utils.getDdeDockDisplayMode() != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.getDdeDockPosition() != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockHideMode() != utils.dock.hidemode_keepshowing:
            utils.setDdeDockHideMode(utils.dock.hidemode_keepshowing)
    def setUpClass(cls):
        cls.chromeiconname = "Google Chrome"
        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)
Exemple #11
0
    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 tearDownClass(cls):
        global result
        utils.commitresult(cls.caseid, result)

        if utils.getDdeDockDisplayMode() != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(cls.defaultdisplaymode)

        if utils.getDdeDockPosition() != cls.defaultposition:
            utils.setDdeDockPosition(cls.defaultposition)
Exemple #13
0
    def setUpClass(cls):
        cls.dock = Dock()
        cls.gediticonname = cls.dock.string_Text_Editor
        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)
Exemple #14
0
    def setUpClass(cls):
        cls.icon_sound = "sound-"
        cls.popup_name = "设备"
        cls.ddedockobject = utils.getDdeDockObject()

        if utils.getDdeDockPosition != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockDisplayMode != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)
Exemple #15
0
    def setUpClass(cls):
        cls.terminaliconname = "深度终端"
        cls.terminalwindowname = "deepin - 深度终端"
        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)
Exemple #16
0
    def setUpClass(cls):
        cls.dock = Dock()
        cls.screenshoticonname = cls.dock.string_Deepin_Screenshot
        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)
Exemple #17
0
    def setUpClass(cls):
        cls.filemanagericonname = "深度文件管理器"
        cls.filemanagerwindowname = "深度文件管理器"
        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)
Exemple #18
0
    def setUpClass(cls):
        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition = utils.getDdeDockPosition()

        if utils.dock.displaymode_efficient != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
    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.dock = Dock()
        cls.filemanagericonname = cls.dock.string_Deepin_File_Manager
        cls.filemanagerwindowname = cls.dock.string_Deepin_File_Manager
        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)
Exemple #21
0
    def setUpClass(cls):
        cls.casename = 'all-3547:hover 声音插件'
        cls.icon_sound = "sound-"
        cls.popup_percent = "70%"
        cls.ddedockobject = utils.getDdeDockObject()

        if utils.getDdeDockPosition != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockDisplayMode != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)
Exemple #22
0
    def setUpClass(cls):
        cls.ddedockobject = utils.getDdeDockObject()

        if utils.getDdeDockDisplayMode() != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.getDdeDockPosition() != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockIconSize() != utils.dock.iconsize_medium:
            utils.setDdeDockIconSize(utils.dock.iconsize_medium)
Exemple #23
0
    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)
Exemple #24
0
    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.caseid = '68490'
        cls.casename = "all-2493:高效模式大图标显示"
        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition = utils.getDdeDockPosition()

        if utils.dock.displaymode_efficient != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
Exemple #26
0
    def setUpClass(cls):
        cls.defaultefficienticonlist = [
            "Launcher", "显示桌面", "多任务视图", "深度文件管理器", "深度商店", "深度音乐", "深度影院",
            "Google Chrome", "控制中心", "datetime-", "sound-", "shutdown-shutdown"
        ]

        cls.ddedockobject = utils.getDdeDockObject()

        if utils.dock.displaymode_efficient != utils.getDdeDockDisplayMode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != utils.getDdeDockPosition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
Exemple #27
0
    def setUpClass(cls):
        cls.defaultefficienticonlist = [
            "Show Desktop", "Multitasking View", "Deepin File Manager",
            "Deepin Store", "Deepin Music", "Deepin Movie", "Google Chrome",
            "Control Center", "datetime-", "sound-", "shutdown-shutdown"
        ]

        cls.ddedockobject = utils.getDdeDockObject()

        if utils.dock.displaymode_efficient != utils.getDdeDockDisplayMode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != utils.getDdeDockPosition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
Exemple #28
0
    def tearDownClass(cls):
        if utils.getDdeDockDisplayMode() != utils.dock.displaymode_fashion:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.getDdeDockPosition() != utils.dock.position_bottom:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.getDdeDockHideMode() != utils.dock.hidemode_keepshowing:
            utils.setDdeDockHideMode(utils.dock.hidemode_keepshowing)

        win = utils.findWindow(cls.filemanager_windowname)
        if win != None:
            win.unmaximize()
            win.close(time.time())
    def setUpClass(cls):
        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition = utils.getDdeDockPosition()
        cls.defaulthidemode = utils.getDdeDockHideMode()
        cls.dock_mainwindow = "dock-mainwindow"
        cls.filemanager = "深度文件管理器"
        cls.filemanager_windowname = "深度文件管理器"

        if utils.dock.displaymode_fashion != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
    def setUpClass(cls):
        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition = utils.getDdeDockPosition()
        cls.defaulthidemode = utils.getDdeDockHideMode()
        cls.dockmenuname = "DesktopMenu"

        if utils.dock.displaymode_efficient != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.dock.hidemode_keepshowing != cls.defaulthidemode:
            utils.setDdeDockHideMode(utils.dock.hidemode_keepshowing)
    def setUpClass(cls):
        cls.caseid = '33414'
        cls.casename = "all-437:一直隐藏"
        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition = utils.getDdeDockPosition()
        cls.defaulthidemode = utils.getDdeDockHideMode()
        cls.dock_mainwindow = "dock-mainwindow"
        cls.filemanager = "文件"
        cls.filemanager_windowname = "主文件夹"

        if utils.dock.displaymode_fashion != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
    def tearDownClass(cls):
        global result
        utils.commitresult(cls.caseid, result)

        if utils.dock.displaymode_fashion != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(cls.defaultdisplaymode)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(cls.defaultposition)

        if utils.dock.hidemode_keepshowing != cls.defaulthidemode:
            utils.setDdeDockHideMode(cls.defaulthidemode)

        google = cls.ddedockobject.child(cls.filemanager)
        win = utils.findWindow(cls.filemanager_windowname)
        win.close(time.time())
    def testLeftPopupExists(self):
        utils.setDdeDockPosition(utils.dock.position_left)
        for name in self.defaultefficienticonlist:
            icon = self.ddedockobject.child(name)
            self.assertTrue(icon, "Can't find the [ %s ] icon in the dock region with Efficient Mode" % name)
            icon.point()
            if name != "datetime-" and \
               name != "Launcher":
                icon_popup = self.ddedockobject.child(name + '-popup')
            elif name == "datetime-":
                icon_popup = self.ddedockobject.child(name + 'popup')
            elif name == "Launcher":
                icon_popup = self.ddedockobject.child("launcher-popup")

            self.assertTrue(icon_popup, "Position Left: Can't find the [ %s ] icon-popup in the dock region with Efficient Mode" % name)
            print("find the popup window with icon: %s" % name)
Exemple #34
0
 def testChangePosition(self):
     if utils.getDdeDockPosition() == utils.dock.position_bottom:
         utils.setDdeDockPosition(utils.dock.position_top)
     elif utils.getDdeDockPosition() == utils.dock.position_top:
         utils.setDdeDockPosition(utils.dock.position_right)
     elif utils.getDdeDockPosition() == utils.dock.position_right:
         utils.setDdeDockPosition(utils.dock.position_left)
     elif utils.getDdeDockPosition() == utils.dock.position_left:
         utils.setDdeDockPosition(utils.dock.position_bottom)
    def tearDownClass(cls):
        global result
        utils.commitresult(cls.caseid, result)

        if utils.getDdeDockDisplayMode() != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(cls.defaultdisplaymode)

        if utils.getDdeDockPosition() != cls.defaultposition:
            utils.setDdeDockPosition(cls.defaultposition)

        if utils.getDdeDockHideMode() != cls.defaulthidemode:
            utils.setDdeDockHideMode(cls.defaulthidemode)

        google = cls.ddedockobject.child(cls.filemanager)
        win = utils.findWindow(cls.filemanager_windowname)
        if None != win:
            win.close(time.time())
    def setUpClass(cls):
        cls.daemonnetwork = DaemonNetwork()
        cls.devices = cls.daemonnetwork.getActiveDevices()
        cls.defaultfashioniconlist = [
            "Show Desktop", "Multitasking View", "Deepin File Manager",
            "Deepin Store", "Deepin Music", "Deepin Movie", "Google Chrome",
            "Control Center", "system-tray-fashion-mode-item", "datetime-",
            "shutdown-shutdown", "sound-", "trash-"
        ]

        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.defaultefficienticonlist = ["Launcher",
                                        "显示桌面",
                                        "多任务视图",
                                        "文件",
                                        "深度商店",
                                        "深度音乐",
                                        "Google Chrome",
                                        "控制中心",
                                        "datetime-"]

        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition    = utils.getDdeDockPosition()

        if utils.dock.displaymode_efficient != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_efficient)

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)
    def setUpClass(cls):
        cls.defaultfashioniconlist = ["Launcher",
                               "显示桌面",
                               "多任务视图",
                               "文件",
                               "深度商店",
                               "深度音乐",
                               "Google Chrome",
                               "控制中心",
                               "system-tray-fashion-mode-item",
                               "datetime-"]

        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition    = utils.getDdeDockPosition()

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.dock.displaymode_fashion != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)
    def testRightPopupExists(self):
        utils.setDdeDockPosition(utils.dock.position_right)
        for name in self.defaultfashioniconlist:
            icon = self.ddedockobject.child(name)
            self.assertTrue(icon, "Can't find the [ %s ] icon in the dock region with Efficient Mode" % name)
            icon.point()
            if name != "datetime-" and \
               name != "system-tray-fashion-mode-item" and \
               name != "Launcher":
                icon_popup = self.ddedockobject.child(name + '-popup')
            elif name == "system-tray-fashion-mode-item":
                icon.click()
                icon_popup = self.ddedockobject.child('sys-tray-popup')
                icon.click()
            elif name == "datetime-":
                icon_popup = self.ddedockobject.child(name + 'popup')
            elif name == "Launcher":
                icon_popup = self.ddedockobject.child("launcher-popup") 

            self.assertTrue(icon_popup, "Position Right: Can't find the [ %s ] icon-popup in the dock region with Fashion Mode" % name)
            print("find the popup window with icon: %s" % name)
 def testChangePosition(self):
     if utils.getDdeDockPosition() == utils.dock.position_bottom:
         utils.setDdeDockPosition(utils.dock.position_top)
     elif utils.getDdeDockPosition() == utils.dock.position_top:
         utils.setDdeDockPosition(utils.dock.position_right)
     elif utils.getDdeDockPosition() == utils.dock.position_right:
         utils.setDdeDockPosition(utils.dock.position_left)
    def setUpClass(cls):
        cls.defaultfashioniconlist = ["Launcher",
                               "显示桌面",
                               "多任务视图",
                               "深度文件管理器",
                               "深度商店",
                               "深度音乐",
                               "Google Chrome",
                               "控制中心",
                               "system-tray-fashion-mode-item",
                               "shutdown-shutdown",
                               "datetime-"]

        cls.ddedockobject = utils.getDdeDockObject()
        cls.defaultdisplaymode = utils.getDdeDockDisplayMode()
        cls.defaultposition    = utils.getDdeDockPosition()

        if utils.dock.position_bottom != cls.defaultposition:
            utils.setDdeDockPosition(utils.dock.position_bottom)

        if utils.dock.displaymode_fashion != cls.defaultdisplaymode:
            utils.setDdeDockDisplayMode(utils.dock.displaymode_fashion)
 def testChangeDockPositionLeft(self):
     utils.setDdeDockPosition(utils.dock.position_left)
 def testChangeDockPositionTop(self):
     utils.setDdeDockPosition(utils.dock.position_top)
 def tearDownClass(cls):
     utils.setDdeDockDisplayMode(cls.defaultdisplaymode)
     utils.setDdeDockPosition(cls.defaultposition)
     utils.keySingle(utils.k.windows_l_key)
 def testTopExists(self):
     utils.setDdeDockPosition(utils.dock.position_top)
     for name in self.defaultfashioniconlist:
         icon = self.ddedockobject.child(name)
         self.assertTrue(icon, "Position Top: Can't find the [ %s ] icon in the dock region after chenge back to Efficient Mode" % name)
 def testChangeDockPositionRight(self):
     utils.setDdeDockPosition(utils.dock.position_right)
 def testLeftExists(self):
     utils.setDdeDockPosition(utils.dock.position_left)
     for name in self.defaultefficienticonlist:
         icon = self.ddedockobject.child(name)
         self.assertTrue(icon, "Position Left: Can't find the [ %s ] icon in the dock region after chenge back to Fashion Mode" % name)
 def tearDownClass(cls):
     utils.setDdeDockDisplayMode(cls.defaultdisplaymode)
     utils.setDdeDockPosition(cls.defaultposition)