def test_display(): a = App() b = Box(a) display_test(b) a.destroy()
def test_size(): a = App() t = Text(a) size_text_test(t) size_fill_test(t) a.destroy()
def test_cascaded_properties(): a = App() t = Text(a, color=None, size=None, font=None) cascaded_properties_test(a, t, True) a.destroy()
def test_enable(): a = App() t = Text(a) enable_test(t) a.destroy()
def test_text(): a = App() # default values t = Text(a, color=None, size=None, font=None) text_test(t) a.destroy()
def test_events(): a = App() w = Waffle(a) events_test(w) a.destroy()
def test_inherited_properties(): a = App() inherited_properties_test(a, lambda: Waffle(a), False) a.destroy()
def test_clear(): a = App() t = Text(a, text="foo") t.clear() assert t.value == "" a.destroy()
def test_append(): a = App() t = Text(a, text="foo") t.append("bar") assert t.value == "foobar" a.destroy()
def test_cascaded_properties(): a = App() t = Text(a) cascaded_properties_test(a, t, True) a.destroy()
def test_inherited_properties(): a = App() inherited_properties_test(a, lambda: Text(a), True) a.destroy()
def test_text(): a = App() t = Text(a) text_test(t) a.destroy()
def test_size(): a = App() b = Box(a) size_pixel_test(b) size_fill_test(b) a.destroy()
def test_color(): a = App() b = Box(a) color_test(b) a.destroy()
def test_display(): a = App() w = Waffle(a) display_test(w) a.destroy()
def test_after_schedule(): a = App() t = Text(a) schedule_after_test(a, t) a.destroy()
def test_color(): a = App() w = Waffle(a) color_test(w) a.destroy()
def test_repeat_schedule(): a = App() t = Text(a) schedule_repeat_test(a, t) a.destroy()
def test_cascaded_properties(): a = App() w = Waffle(a) cascaded_properties_test(a, w, False) a.destroy()
def test_destroy(): a = App() t = Text(a) destroy_test(t) a.destroy()
def test_auto_layout(): a = App() w = Waffle(a) auto_layout_test(w, None) a.destroy()
def test_after_schedule(): a = App() w = Waffle(a) schedule_after_test(a, w) a.destroy()
def test_display(): a = App() t = Text(a) display_test(t) a.destroy()
def test_repeat_schedule(): a = App() w = Waffle(a) schedule_repeat_test(a, w) a.destroy()
def test_color(): a = App() t = Text(a) color_test(t) a.destroy()
def test_destroy(): a = App() w = Waffle(a) destroy_test(w) a.destroy()
def test_events(): a = App() t = Text(a) events_test(t) a.destroy()
def test_enable(): a = App() w = Waffle(a) enable_test(w) a.destroy()
def test_inherited_properties(): a = App() inherited_properties_test( a, lambda: Text(a, color=None, size=None, font=None), True) a.destroy()
def test_destroy(): a = App() b = Box(a) destroy_test(b) a.destroy()