Esempio n. 1
0
    def __init__(self, **kwds):
        super().__init__(**kwds)

        self.test_actions = [testActions.ShowGUIControl(control_name = "focus lock"),
                             testActions.Timer(100),
                             SetFocusLockModeAction1(mode_name = "Always On",
                                                     locked = True),
                             testActions.Timer(2000)]
Esempio n. 2
0
    def __init__(self, **kwds):
        super().__init__(**kwds)

        self.test_actions = [
            testActions.ShowGUIControl(control_name="focus lock"),
            testActions.Timer(100),
            SetFocusLockModeAction1(mode_name="Always On", locked=True),
            testActions.Timer(100),
            CheckFocusLockAction1(focus_scan=False, num_focus_checks=6)
        ]
Esempio n. 3
0
    def __init__(self, **kwds):
        super().__init__(**kwds)

        self.test_actions = [testActions.ShowGUIControl(control_name = "focus lock"),
                             testActions.Timer(100),
                             SetFocusLockModeAction1(mode_name = "Always On",
                                                     locked = True),
                             testActionsTCP.MoveStage(x = -6, y = 0),
                             testActions.Timer(200),
                             CheckFocusLockAction2(focus_scan = True,
                                                   num_focus_checks = 6,
                                                   scan_range = 1)]
Esempio n. 4
0
    def __init__(self, **kwds):
        super().__init__(**kwds)

        self.test_actions = [
            testActions.ShowGUIControl(control_name="focus lock"),
            testActions.Timer(100),
            SetFocusLockModeAction1(mode_name="Always On", locked=True),
            testActionsTCP.MoveStage(x=-40.5, y=0),
            testActions.Timer(200),
            FindSumAction1(min_sum=100),
            testActions.Timer(400),
            CheckFocusLockAction1(focus_scan=False, num_focus_checks=6)
        ]
Esempio n. 5
0
    def __init__(self, **kwds):
        super().__init__(**kwds)

        directory = test.dataDirectory()
        filename = "movie_01"

        # Remove old movie (if any).
        fullname = os.path.join(directory, filename + ".dax")
        if os.path.exists(fullname):
            os.remove(fullname)
            os.remove(os.path.join(directory, filename + ".xml"))

        self.test_actions = [testActions.SetDirectory(directory = directory),
                             testActions.ShowGUIControl(control_name = "focus lock"),
                             testActions.Timer(100),
                             testActions.Record(filename = filename, length = 10)]