diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-23 20:46:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-23 20:46:58 (GMT) |
commit | 03582e574085bb1a722ddb42239db6116db7c66a (patch) | |
tree | b2acac1728a6dceb22148fb10c31e9f54749bad0 /tests/frame.test | |
parent | d1e742a7b7a9b4754993a7f19e61ecc674d14fa2 (diff) | |
download | tk-03582e574085bb1a722ddb42239db6116db7c66a.zip tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.gz tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.bz2 |
Revise "bad screen distance" error-messages
Diffstat (limited to 'tests/frame.test')
-rw-r--r-- | tests/frame.test | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/frame.test b/tests/frame.test index 23d8e5d..74768e4 100644 --- a/tests/frame.test +++ b/tests/frame.test @@ -198,7 +198,7 @@ test frame-1.15 {frame configuration options} -body { } -result 4 test frame-1.16 {frame configuration options} -body { .f configure -bd badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-1.17 {frame configuration options} -body { .f configure -bg #00ff00 lindex [.f configure -bg] 4 @@ -216,7 +216,7 @@ test frame-1.19 {frame configuration options} -body { } -result 1 test frame-1.20 {frame configuration options} -body { .f configure -borderwidth badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-1.21 {frame configuration options} -body { .f configure -cursor arrow lindex [.f configure -cursor] 4 @@ -234,7 +234,7 @@ test frame-1.23 {frame configuration options} -body { } -result 100 test frame-1.24 {frame configuration options} -body { .f configure -height not_a_number -} -returnCodes error -result {bad screen distance "not_a_number"} +} -returnCodes error -result {expected screen distance but got "not_a_number"} test frame-1.25 {frame configuration options} -body { .f configure -highlightbackground #112233 lindex [.f configure -highlightbackground] 4 @@ -261,7 +261,7 @@ test frame-1.29 {frame configuration options} -body { } -result 6 test frame-1.30 {frame configuration options} -body { .f configure -highlightthickness badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-1.31 {frame configuration options} -body { .f configure -padx 3 lindex [.f configure -padx] 4 @@ -270,7 +270,7 @@ test frame-1.31 {frame configuration options} -body { } -result 3 test frame-1.32 {frame configuration options} -body { .f configure -padx badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-1.33 {frame configuration options} -body { .f configure -pady 4 lindex [.f configure -pady] 4 @@ -279,7 +279,7 @@ test frame-1.33 {frame configuration options} -body { } -result 4 test frame-1.34 {frame configuration options} -body { .f configure -pady badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-1.35 {frame configuration options} -body { .f configure -relief ridge lindex [.f configure -relief] 4 @@ -303,7 +303,7 @@ test frame-1.38 {frame configuration options} -body { } -result 32 test frame-1.39 {frame configuration options} -body { .f configure -width badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} destroy .f test frame-2.1 {toplevel configuration options} -setup { @@ -503,7 +503,7 @@ test frame-2.22 {toplevel configuration options} -body { } -result 4 test frame-2.23 {toplevel configuration options} -body { .t configure -bd badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-2.24 {toplevel configuration options} -body { .t configure -bg #00ff00 lindex [.t configure -bg] 4 @@ -517,7 +517,7 @@ test frame-2.26 {toplevel configuration options} -body { } -result 1 test frame-2.27 {toplevel configuration options} -body { .t configure -borderwidth badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-2.28 {toplevel configuration options} -body { .t configure -cursor arrow lindex [.t configure -cursor] 4 @@ -531,7 +531,7 @@ test frame-2.30 {toplevel configuration options} -body { } -result 100 test frame-2.31 {toplevel configuration options} -body { .t configure -height not_a_number -} -returnCodes error -result {bad screen distance "not_a_number"} +} -returnCodes error -result {expected screen distance but got "not_a_number"} test frame-2.32 {toplevel configuration options} -body { .t configure -highlightcolor #123456 lindex [.t configure -highlightcolor] 4 @@ -545,21 +545,21 @@ test frame-2.34 {toplevel configuration options} -body { } -result 3 test frame-2.35 {toplevel configuration options} -body { .t configure -highlightthickness badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-2.36 {toplevel configuration options} -body { .t configure -padx 3 lindex [.t configure -padx] 4 } -result 3 test frame-2.37 {toplevel configuration options} -body { .t configure -padx badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-2.38 {toplevel configuration options} -body { .t configure -pady 4 lindex [.t configure -pady] 4 } -result 4 test frame-2.39 {toplevel configuration options} -body { .t configure -pady badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-2.40 {toplevel configuration options} -body { .t configure -relief ridge lindex [.t configure -relief] 4 @@ -573,7 +573,7 @@ test frame-2.42 {toplevel configuration options} -body { } -result 32 test frame-2.43 {toplevel configuration options} -body { .t configure -width badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} destroy .t test frame-3.1 {TkCreateFrame procedure} -returnCodes error -body { @@ -1233,7 +1233,7 @@ test frame-13.12 {labelframe configuration options} -body { } -result 4 test frame-13.13 {labelframe configuration options} -body { .f configure -bd badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-13.14 {labelframe configuration options} -body { .f configure -bg #00ff00 lindex [.f configure -bg] 4 @@ -1251,7 +1251,7 @@ test frame-13.16 {labelframe configuration options} -body { } -result 1 test frame-13.17 {labelframe configuration options} -body { .f configure -borderwidth badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-13.18 {labelframe configuration options} -body { .f configure -cursor arrow lindex [.f configure -cursor] 4 @@ -1293,7 +1293,7 @@ test frame-13.25 {labelframe configuration options} -body { } -result 100 test frame-13.26 {labelframe configuration options} -body { .f configure -height not_a_number -} -returnCodes error -result {bad screen distance "not_a_number"} +} -returnCodes error -result {expected screen distance but got "not_a_number"} test frame-13.27 {labelframe configuration options} -body { .f configure -highlightbackground #112233 lindex [.f configure -highlightbackground] 4 @@ -1320,7 +1320,7 @@ test frame-13.31 {labelframe configuration options} -body { } -result 6 test frame-13.32 {labelframe configuration options} -body { .f configure -highlightthickness badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-13.33 {labelframe configuration options} -body { .f configure -labelanchor se lindex [.f configure -labelanchor] 4 @@ -1338,7 +1338,7 @@ test frame-13.35 {labelframe configuration options} -body { } -result 3 test frame-13.36 {labelframe configuration options} -body { .f configure -padx badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-13.37 {labelframe configuration options} -body { .f configure -pady 4 lindex [.f configure -pady] 4 @@ -1347,7 +1347,7 @@ test frame-13.37 {labelframe configuration options} -body { } -result 4 test frame-13.38 {labelframe configuration options} -body { .f configure -pady badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} test frame-13.39 {labelframe configuration options} -body { .f configure -relief ridge lindex [.f configure -relief] 4 @@ -1377,7 +1377,7 @@ test frame-13.43 {labelframe configuration options} -body { } -result 32 test frame-13.44 {labelframe configuration options} -body { .f configure -width badValue -} -returnCodes error -result {bad screen distance "badValue"} +} -returnCodes error -result {expected screen distance but got "badValue"} destroy .f test frame-14.1 {labelframe labelwidget option} -setup { |