Skip to content

Commit

Permalink
Updated testing #69
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Apr 11, 2018
1 parent 5380f1d commit afa11cc
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion tests/widget_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,8 +1149,27 @@ def test_text_areas():
assert app.getTextArea("st1") == EMPTY
assert app.getTextArea("st2") == EMPTY

print("\t >> all tests complete")
app.setTextAreaFont("t1", size=20, family='Verdana')
app.setTextArea("t1", TEXT_ONE)
app.highlightTextArea("t1", "1.0")

app.textAreaToggleFontSelected("t1", "BOLD")
app.textAreaToggleFontSelected("t1", "BOLD")
app.textAreaApplyFontSelected("t1", "BOLD")

app.textAreaToggleFontSelected("t1", "ITALIC")
app.textAreaToggleFontSelected("t1", "ITALIC")
app.textAreaApplyFontSelected("t1", "ITALIC")

app.textAreaToggleFontSelected("t1", "UNDERLINE")
app.textAreaToggleFontSelected("t1", "UNDERLINE")
app.textAreaApplyFontSelected("t1", "UNDERLINE")

app.textAreaToggleFontSelected("t1", "BOLD_ITALIC")
app.textAreaToggleFontSelected("t1", "BOLD_ITALIC")
app.textAreaApplyFontSelected("t1", "BOLD_ITALIC")

print("\t >> all tests complete")

def test_meters():
print("\tTesting meters")
Expand Down

0 comments on commit afa11cc

Please sign in to comment.