Esempio n. 1
0
def test_display():
    a = App()
    b = Box(a)
    display_test(b)
    a.destroy()
Esempio n. 2
0
def test_size():
    a = App()
    t = Text(a)
    size_text_test(t)
    size_fill_test(t)
    a.destroy()
Esempio n. 3
0
def test_cascaded_properties():
    a = App()
    t = Text(a, color=None, size=None, font=None)
    cascaded_properties_test(a, t, True)
    a.destroy()
Esempio n. 4
0
def test_enable():
    a = App()
    t = Text(a)
    enable_test(t)
    a.destroy()
Esempio n. 5
0
def test_text():
    a = App()
    # default values
    t = Text(a, color=None, size=None, font=None)
    text_test(t)
    a.destroy()
Esempio n. 6
0
def test_events():
    a = App()
    w = Waffle(a)
    events_test(w)
    a.destroy()
Esempio n. 7
0
def test_inherited_properties():
    a = App()
    inherited_properties_test(a, lambda: Waffle(a), False)
    a.destroy()
Esempio n. 8
0
def test_clear():
    a = App()
    t = Text(a, text="foo")
    t.clear()
    assert t.value == ""
    a.destroy()
Esempio n. 9
0
def test_append():
    a = App()
    t = Text(a, text="foo")
    t.append("bar")
    assert t.value == "foobar"
    a.destroy()
Esempio n. 10
0
def test_cascaded_properties():
    a = App()
    t = Text(a)
    cascaded_properties_test(a, t, True)
    a.destroy()
Esempio n. 11
0
def test_inherited_properties():
    a = App()
    inherited_properties_test(a, lambda: Text(a), True)
    a.destroy()
Esempio n. 12
0
def test_text():
    a = App()
    t = Text(a)
    text_test(t)
    a.destroy()
Esempio n. 13
0
def test_size():
    a = App()
    b = Box(a)
    size_pixel_test(b)
    size_fill_test(b)
    a.destroy()
Esempio n. 14
0
def test_color():
    a = App()
    b = Box(a)
    color_test(b)
    a.destroy()
Esempio n. 15
0
def test_display():
    a = App()
    w = Waffle(a)
    display_test(w)
    a.destroy()
Esempio n. 16
0
def test_after_schedule():
    a = App()
    t = Text(a)
    schedule_after_test(a, t)
    a.destroy()
Esempio n. 17
0
def test_color():
    a = App()
    w = Waffle(a)
    color_test(w)
    a.destroy()
Esempio n. 18
0
def test_repeat_schedule():
    a = App()
    t = Text(a)
    schedule_repeat_test(a, t)
    a.destroy()
Esempio n. 19
0
def test_cascaded_properties():
    a = App()
    w = Waffle(a)
    cascaded_properties_test(a, w, False)
    a.destroy()
Esempio n. 20
0
def test_destroy():
    a = App()
    t = Text(a)
    destroy_test(t)
    a.destroy()
Esempio n. 21
0
def test_auto_layout():
    a = App()
    w = Waffle(a)
    auto_layout_test(w, None)
    a.destroy()
Esempio n. 22
0
def test_after_schedule():
    a = App()
    w = Waffle(a)
    schedule_after_test(a, w)
    a.destroy()
Esempio n. 23
0
def test_display():
    a = App()
    t = Text(a)
    display_test(t)
    a.destroy()
Esempio n. 24
0
def test_repeat_schedule():
    a = App()
    w = Waffle(a)
    schedule_repeat_test(a, w)
    a.destroy()
Esempio n. 25
0
def test_color():
    a = App()
    t = Text(a)
    color_test(t)
    a.destroy()
Esempio n. 26
0
def test_destroy():
    a = App()
    w = Waffle(a)
    destroy_test(w)
    a.destroy()
Esempio n. 27
0
def test_events():
    a = App()
    t = Text(a)
    events_test(t)
    a.destroy()
Esempio n. 28
0
def test_enable():
    a = App()
    w = Waffle(a)
    enable_test(w)
    a.destroy()
Esempio n. 29
0
def test_inherited_properties():
    a = App()
    inherited_properties_test(
        a, lambda: Text(a, color=None, size=None, font=None), True)
    a.destroy()
Esempio n. 30
0
def test_destroy():
    a = App()
    b = Box(a)
    destroy_test(b)
    a.destroy()