Exemple #1
0
def run_detailed():
    """Test that more complex GUI actions are working."""
    _initialize()
    tests = [
        test_cf_coords, test_test_pattern, test_projection,
        test_orientation_tuning
    ]  # and so on...
    return ft.run(tests, "Running detailed GUI tests...")
Exemple #2
0
def run_basic():
    """Check that the windows all open ok (i.e. is GUI functioning?)."""
    _initialize()

    s = 'Simulation'
    p = 'Plots'

    menu_paths = [(s, 'Test Pattern'), (s, 'Model Editor'), (p, 'Activity'),
                  (p, 'Connection Fields'), (p, 'Projection'),
                  (p, 'Projection Activity'),
                  (p, 'Preference Maps', 'Orientation Preference'),
                  (p, 'Tuning Curves', 'Orientation Tuning')]

    return ft.run([_menu_item_fn(*x) for x in menu_paths],
                  "Running basic GUI tests...")
Exemple #3
0
def run_basic():
    """Check that the windows all open ok (i.e. is GUI functioning?)."""
    _initialize()

    s = 'Simulation'
    p = 'Plots'

    menu_paths = [ (s,'Test Pattern'),
                   (s,'Model Editor'),
                   (p,'Activity'),
                   (p,'Connection Fields'),
                   (p,'Projection'),
                   (p,'Projection Activity'),
                   (p,'Preference Maps','Orientation Preference'),
                   (p,'Tuning Curves','Orientation Tuning') ]

    return ft.run([_menu_item_fn(*x) for x in menu_paths],"Running basic GUI tests...")
def run_basic():
    """Check that the windows all open ok (i.e. is GUI functioning?)."""
    _initialize()

    s = "Simulation"
    p = "Plots"

    menu_paths = [
        (s, "Test Pattern"),
        (s, "Model Editor"),
        (p, "Activity"),
        (p, "Connection Fields"),
        (p, "Projection"),
        (p, "Projection Activity"),
        (p, "Preference Maps", "Orientation Preference"),
        (p, "Tuning Curves", "Orientation Tuning"),
    ]

    return ft.run([_menu_item_fn(*x) for x in menu_paths], "Running basic GUI tests...")
Exemple #5
0
def run_detailed():
    """Test that more complex GUI actions are working."""
    _initialize()
    tests = [test_cf_coords,test_test_pattern,
             test_projection,test_orientation_tuning] # and so on...
    return ft.run(tests,"Running detailed GUI tests...")