Use longer integers as context parameter of drawing operations
[pipeglade.git] / pipegladetest.sh
blobf50e6f2626f6c150e8f52e46dcd8af5af182ddc6
1 #! /usr/bin/env bash
3 # Another possible shebang line:
4 #! /usr/bin/env mksh
6 # Pipeglade tests; they should be invoked in the build directory.
8 # Failure of a test can cause failure of one or more subsequent tests.
10 export LC_ALL=C
11 export NO_AT_BRIDGE=1
12 FIN=to-g.fifo
13 FOUT=from-g.fifo
14 FERR=err.fifo
15 LOG=test.log
16 ERR_FILE=err.txt
17 BAD_FIFO=bad_fifo
18 PID_FILE=pid
19 OUT_FILE=out.txt
20 DIR=test_dir
21 FILE1=saved1.txt
22 FILE2=saved2.txt
23 FILE3=saved3.txt
24 FILE4=saved4.txt
25 FILE5=saved5.txt
26 FILE6=saved6.txt
27 rm -rf $FIN $FOUT $FERR $LOG $ERR_FILE $BAD_FIFO $PID_FILE $OUT_FILE \
28 $FILE1 $FILE2 $FILE3 $FILE4 $FILE5 $FILE6 $DIR
30 if stat -f "%0p"; then
31 STAT_CMD='stat -f "%0p"'
32 else
33 # probably GNU stat
34 STAT_CMD='stat -c "%a"'
37 # colored messages: bright green
38 OK=$'\E[32;1mOK\E[0m'
39 # bright red
40 FAIL=$'\E[31;1mFAIL\E[0m'
41 EXPECTED=$'\E[31;1mEXPECTED\E[0m'
42 # yellow
43 CALL=$'\E[33mCALL\E[0m'
44 SEND=$'\E[33mSEND\E[0m'
46 TESTS=0
47 FAILS=0
48 OKS=0
50 count_fail() {
51 (( TESTS+=1 ))
52 (( FAILS+=1 ))
55 count_ok() {
56 (( TESTS+=1 ))
57 (( OKS+=1 ))
60 check_rm() {
61 i=0
62 while test -e $1 && (( i<50 )); do
63 sleep .1
64 (( i+=1 ))
65 done
66 if test -e $1; then
67 count_fail
68 echo " $FAIL $1 should be deleted"
69 rm -f $1
70 else
71 count_ok
72 echo " $OK $1 deleted"
76 check_cmd() {
77 i=0
78 while ! eval "$1" && (( i<50 )); do
79 sleep .1
80 (( i+=1 ))
81 done
82 if eval "$1"; then
83 count_ok
84 echo " $OK $1"
85 else
86 count_fail
87 echo " $FAIL $1"
92 # echo "
93 # # BATCH ONE
94 # #
95 # # Situations where pipeglade should exit immediately. These tests
96 # # should run automatically
97 # ######################################################################
98 # "
100 # # check_call command expected_status expected_stderr expected_stdout
101 # check_call() {
102 # r=$2
103 # e=$3
104 # o=$4
105 # output=$($1 2>tmperr.txt)
106 # retval=$?
107 # error=$(<tmperr.txt)
108 # rm tmperr.txt
109 # echo "$CALL $1"
110 # if test "$output" = "" -a "$o" = "" || (echo "$output" | grep -Fqe "$o"); then
111 # count_ok
112 # echo " $OK STDOUT $output"
113 # else
114 # count_fail
115 # echo " $FAIL STDOUT $output"
116 # echo " $EXPECTED $o"
117 # fi
118 # if test "$error" = "" -a "$e" = "" || test "$retval" -eq "$r" && (echo "$error" | grep -Fqe "$e"); then
119 # count_ok
120 # echo " $OK EXIT/STDERR $retval $error"
121 # else
122 # count_fail
123 # echo " $FAIL EXIT/STDERR $retval $error"
124 # echo " $EXPECTED $r $e"
125 # fi
128 # check_call "./pipeglade -u nonexistent.ui" 1 \
129 # "nonexistent.ui" ""
130 # check_call "./pipeglade -u bad_window.ui" 1 \
131 # "no toplevel window named 'main'" ""
132 # check_call "./pipeglade -u www-template/404.html" 1 \
133 # "html" ""
134 # check_call "./pipeglade -u README" 1 \
135 # "Document must begin with an element" ""
136 # check_call "./pipeglade -e x" 1 \
137 # "x is not a valid XEmbed socket id" ""
138 # check_call "./pipeglade -ex" 1 \
139 # "x is not a valid XEmbed socket id" ""
140 # check_call "./pipeglade -e -77" 1 \
141 # "-77 is not a valid XEmbed socket id" ""
142 # check_call "./pipeglade -e 77x" 1 \
143 # "77x is not a valid XEmbed socket id" ""
144 # check_call "./pipeglade -e +77" 1 \
145 # "+77 is not a valid XEmbed socket id" ""
146 # check_call "./pipeglade -e 999999999999999999999999999999" 1 \
147 # "999999999999999999999999999999 is not a valid XEmbed socket id" ""
148 # check_call "./pipeglade -e 99999999999999999" 1 \
149 # "unable to embed into XEmbed socket 99999999999999999" ""
150 # touch $BAD_FIFO
151 # check_call "./pipeglade -i $BAD_FIFO" 1 \
152 # "making fifo" ""
153 # check_call "./pipeglade -o $BAD_FIFO" 1 \
154 # "making fifo" ""
155 # rm $BAD_FIFO
156 # check_call "./pipeglade -b" 1 \
157 # "parameter -b requires both -i and -o"
158 # check_call "./pipeglade -b -i $FIN" 1 \
159 # "parameter -b requires both -i and -o"
160 # check_call "./pipeglade -b -i $FOUT" 1 \
161 # "parameter -b requires both -i and -o"
162 # rm $FIN $FOUT
163 # check_call "./pipeglade -h" 0 \
164 # "" "usage: pipeglade [[-i in-fifo] [-o out-fifo] [-b] [-u glade-file.ui] [-e xid]
165 # [-l log-file] [-O err-file] [--display X-server]] | [-h|-G|-V]"
166 # check_call "./pipeglade -G" 0 \
167 # "" "GTK+ v"
168 # check_call "./pipeglade -G" 0 \
169 # "" "cairo v"
170 # check_call "./pipeglade -V" 0 \
171 # "" "."
172 # check_call "./pipeglade -X" 1 \
173 # "option" ""
174 # check_call "./pipeglade -e" 1 \
175 # "argument" ""
176 # check_call "./pipeglade -u" 1 \
177 # "argument" ""
178 # check_call "./pipeglade -i" 1 \
179 # "argument" ""
180 # check_call "./pipeglade -o" 1 \
181 # "argument" ""
182 # mkdir -p $DIR
183 # check_call "./pipeglade -O" 1 \
184 # "argument" ""
185 # check_call "./pipeglade -O $DIR" 1 \
186 # "" "couldn't redirect stderr to"
187 # check_call "./pipeglade -l $DIR" 1 \
188 # "opening log file" ""
189 # check_call "./pipeglade -l" 1 \
190 # "argument" ""
191 # check_call "./pipeglade yyy" 1 \
192 # "illegal parameter 'yyy'" ""
193 # check_call "./pipeglade --display nnn" 1 \
194 # "nnn"
195 # mkfifo $FIN
196 # echo -e "statusbar1:pop\n _:main_quit" > $FIN &
197 # check_call "./pipeglade -i $FIN" 0 \
198 # "" ""
199 # mkfifo $FIN
200 # echo -e "statusbar1:pop_id 111\n _:main_quit" > $FIN &
201 # check_call "./pipeglade -i $FIN" 0 \
202 # "" ""
204 # check_rm $FIN
205 # check_rm $FOUT
209 # #exit
211 echo "
212 # BATCH TWO
214 # Error handling tests---bogus actions leading to appropriate error
215 # messages. Most of these tests should run automatically.
216 ######################################################################
219 mkfifo $FERR
221 # check_error command expected_stderr
222 check_error() {
223 echo "$SEND $1"
224 echo -e "$1" >$FIN
225 while read r <$FERR; do
226 # ignore irrelevant GTK warnings
227 if test "$r" != "" && ! grep -qe "WARNING"<<< "$r"; then
228 break;
230 done
231 if grep -qe "$2" <<< "$r"; then
232 count_ok
233 echo " $OK $r"
234 else
235 count_fail
236 echo " $FAIL $r"
237 echo " $EXPECTED $2"
241 read r 2< $FERR &
242 ./pipeglade -i $FIN 2> $FERR &
244 # wait for $FIN to appear
245 while test ! \( -e $FIN \); do :; done
247 # # Non-existent name
248 # check_error "nnn" \
249 # "ignoring command \"nnn\""
250 # check_error "nnn:set_text FFFF" \
251 # "ignoring command \"nnn:set_text FFFF\""
252 # check_error "nnn:set_tooltip_text FFFF" \
253 # "ignoring command \"nnn:set_tooltip_text FFFF\""
254 # check_error "nnn:set_sensitive 0" \
255 # "ignoring command \"nnn:set_sensitive 0\""
256 # check_error "nnn:set_sensitive 1" \
257 # "ignoring command \"nnn:set_sensitive 1\""
258 # check_error "nnn:set_visible 0" \
259 # "ignoring command \"nnn:set_visible 0\""
260 # check_error "nnn:set_visible 1" \
261 # "ignoring command \"nnn:set_visible 1\""
262 # check_error "nnn:grab_focus" \
263 # "ignoring command \"nnn:grab_focus\""
264 # check_error "nnn:set_size_request 100 100" \
265 # "ignoring command \"nnn:set_size_request 100 100\""
266 # check_error "nnn:style font:Bold 11" \
267 # "ignoring command \"nnn:style font:Bold 11\""
268 # check_error "nnn:force" \
269 # "ignoring command \"nnn:force\""
270 # # Wrong number or kind of arguments for generic actions
271 # check_error "button1:set_sensitive" \
272 # "ignoring GtkButton command \"button1:set_sensitive\""
273 # check_error "button1:set_sensitive 2" \
274 # "ignoring GtkButton command \"button1:set_sensitive 2\""
275 # check_error "button1:set_sensitive nnn" \
276 # "ignoring GtkButton command \"button1:set_sensitive nnn\""
277 # check_error "button1:set_sensitive 0 1" \
278 # "ignoring GtkButton command \"button1:set_sensitive 0 1\""
279 # check_error "button1:set_visible" \
280 # "ignoring GtkButton command \"button1:set_visible\""
281 # check_error "button1:set_visible 2" \
282 # "ignoring GtkButton command \"button1:set_visible 2\""
283 # check_error "button1:set_visible nnn" \
284 # "ignoring GtkButton command \"button1:set_visible nnn\""
285 # check_error "button1:set_visible 0 1" \
286 # "ignoring GtkButton command \"button1:set_visible 0 1\""
287 # check_error "button1:grab_focus 2" \
288 # "ignoring GtkButton command \"button1:grab_focus 2\""
289 # check_error "nnn:set_size_request 100" \
290 # "ignoring command \"nnn:set_size_request 100\""
291 # check_error "nnn:set_size_request 100 100 100" \
292 # "ignoring command \"nnn:set_size_request 100 100 100\""
293 # check_error "button1:force 2" \
294 # "ignoring GtkButton command \"button1:force 2\""
295 # check_error "_:main_quit 2" \
296 # "ignoring command \"_:main_quit 2\""
297 # # Widget that shouldn't fire callbacks
298 # check_error "label1:force" \
299 # "ignoring GtkLabel command \"label1:force\""
300 # # Widget that can't grab focus
301 # check_error "label1:grab_focus" \
302 # "ignoring GtkLabel command \"label1:grab_focus\""
303 # # load file
304 # check_error "_:load" \
305 # "ignoring command \"_:load\""
306 # check_error "_:load " \
307 # "ignoring command \"_:load \""
308 # check_error "_:load nonexistent.txt" \
309 # "ignoring command \"_:load nonexistent.txt\""
310 # mkdir -p $DIR
311 # cat >$DIR/$FILE1 <<< "blah"
312 # check_error "_:load $DIR/$FILE1" \
313 # "ignoring command \"blah\""
314 # cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE1"
315 # check_error "_:load $DIR/$FILE1" \
316 # "ignoring command \"_:load $DIR/$FILE1\""
317 # cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
318 # cat >$DIR/$FILE2 <<< "_:load $DIR/$FILE1"
319 # check_error "_:load $DIR/$FILE1" \
320 # "ignoring command \"_:load $DIR/$FILE1\""
321 # cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
322 # cat >$DIR/$FILE2 <<< "_:blah"
323 # check_error "_:load $DIR/$FILE1" \
324 # "ignoring command \"_:blah\""
325 # rm -rf $DIR
326 # # GtkWindow
327 # check_error "main:nnn" \
328 # "ignoring GtkWindow command \"main:nnn\""
329 # check_error "main:move" \
330 # "ignoring GtkWindow command \"main:move\""
331 # check_error "main:move " \
332 # "ignoring GtkWindow command \"main:move \""
333 # check_error "main:move 700" \
334 # "ignoring GtkWindow command \"main:move 700\""
335 # check_error "main:move 700 nnn" \
336 # "ignoring GtkWindow command \"main:move 700 nnn\""
337 # check_error "main:move 700 700 700" \
338 # "ignoring GtkWindow command \"main:move 700 700 700\""
339 # check_error "main:resize 700" \
340 # "ignoring GtkWindow command \"main:resize 700\""
341 # check_error "main:resize 700 nnn" \
342 # "ignoring GtkWindow command \"main:resize 700 nnn\""
343 # check_error "main:resize 700 700 700" \
344 # "ignoring GtkWindow command \"main:resize 700 700 700\""
345 # check_error "main:fullscreen 1" \
346 # "ignoring GtkWindow command \"main:fullscreen 1\""
347 # check_error "main:unfullscreen 1" \
348 # "ignoring GtkWindow command \"main:unfullscreen 1\""
349 # # GtkLabel
350 # check_error "label1:nnn" \
351 # "ignoring GtkLabel command \"label1:nnn\""
352 # # GtkImage
353 # check_error "image1:nnn" \
354 # "ignoring GtkImage command \"image1:nnn\""
355 # # GtkNotebook
356 # check_error "notebook1:nnn" \
357 # "ignoring GtkNotebook command \"notebook1:nnn\""
358 # check_error "notebook1:set_current_page" \
359 # "ignoring GtkNotebook command \"notebook1:set_current_page\""
360 # check_error "notebook1:set_current_page " \
361 # "ignoring GtkNotebook command \"notebook1:set_current_page \""
362 # check_error "notebook1:set_current_page nnn" \
363 # "ignoring GtkNotebook command \"notebook1:set_current_page nnn\""
364 # check_error "notebook1:set_current_page 1 1" \
365 # "ignoring GtkNotebook command \"notebook1:set_current_page 1 1\""
366 # # GtkExpander
367 # check_error "expander1:nnn" \
368 # "ignoring GtkExpander command \"expander1:nnn\""
369 # check_error "expander1:set_expanded" \
370 # "ignoring GtkExpander command \"expander1:set_expanded\""
371 # check_error "expander1:set_expanded 3" \
372 # "ignoring GtkExpander command \"expander1:set_expanded 3\""
373 # check_error "expander1:set_expanded 0 1" \
374 # "ignoring GtkExpander command \"expander1:set_expanded 0 1\""
375 # # GtkTextView
376 # check_error "textview1:nnn" \
377 # "ignoring GtkTextView command \"textview1:nnn\""
378 # check_error "textview1:save" \
379 # "ignoring GtkTextView command \"textview1:save\""
380 # check_error "textview1:delete nnn" \
381 # "ignoring GtkTextView command \"textview1:delete nnn\""
382 # check_error "textview1:place_cursor" \
383 # "ignoring GtkTextView command \"textview1:place_cursor\""
384 # check_error "textview1:place_cursor " \
385 # "ignoring GtkTextView command \"textview1:place_cursor \""
386 # check_error "textview1:place_cursor nnn" \
387 # "ignoring GtkTextView command \"textview1:place_cursor nnn\""
388 # check_error "textview1:place_cursor 1 1" \
389 # "ignoring GtkTextView command \"textview1:place_cursor 1 1\""
390 # check_error "textview1:place_cursor end 1" \
391 # "ignoring GtkTextView command \"textview1:place_cursor end 1\""
392 # check_error "textview1:place_cursor_at_line" \
393 # "ignoring GtkTextView command \"textview1:place_cursor_at_line\""
394 # check_error "textview1:place_cursor_at_line " \
395 # "ignoring GtkTextView command \"textview1:place_cursor_at_line \""
396 # check_error "textview1:place_cursor_at_line nnn" \
397 # "ignoring GtkTextView command \"textview1:place_cursor_at_line nnn\""
398 # check_error "textview1:place_cursor_at_line 1 1" \
399 # "ignoring GtkTextView command \"textview1:place_cursor_at_line 1 1\""
400 # check_error "textview1:scroll_to_cursor nnn" \
401 # "ignoring GtkTextView command \"textview1:scroll_to_cursor nnn\""
402 # mkdir $DIR; chmod a-w $DIR
403 # check_error "textview1:save $DIR/$FILE1" \
404 # "ignoring GtkTextView command \"textview1:save $DIR/$FILE1\""
405 # check_error "textview1:save nonexistent/$FILE1" \
406 # "ignoring GtkTextView command \"textview1:save nonexistent/$FILE1\""
407 # rm -rf $DIR
408 # # GtkButton
409 # check_error "button1:nnn" \
410 # "ignoring GtkButton command \"button1:nnn\""
411 # # GtkSwitch
412 # check_error "switch1:nnn" \
413 # "ignoring GtkSwitch command \"switch1:nnn\""
414 # check_error "switch1:set_active" \
415 # "ignoring GtkSwitch command \"switch1:set_active\""
416 # check_error "switch1:set_active " \
417 # "ignoring GtkSwitch command \"switch1:set_active \""
418 # check_error "switch1:set_active 2" \
419 # "ignoring GtkSwitch command \"switch1:set_active 2\""
420 # check_error "switch1:set_active 0 1" \
421 # "ignoring GtkSwitch command \"switch1:set_active 0 1\""
422 # # GtkToggleButton
423 # check_error "togglebutton1:nnn" \
424 # "ignoring GtkToggleButton command \"togglebutton1:nnn\""
425 # check_error "togglebutton1:set_active" \
426 # "ignoring GtkToggleButton command \"togglebutton1:set_active\""
427 # check_error "togglebutton1:set_active " \
428 # "ignoring GtkToggleButton command \"togglebutton1:set_active \""
429 # check_error "togglebutton1:set_active 2" \
430 # "ignoring GtkToggleButton command \"togglebutton1:set_active 2\""
431 # check_error "togglebutton1:set_active 1 0" \
432 # "ignoring GtkToggleButton command \"togglebutton1:set_active 1 0\""
433 # # GtkCheckButton
434 # check_error "checkbutton1:nnn" \
435 # "ignoring GtkCheckButton command \"checkbutton1:nnn\""
436 # check_error "checkbutton1:set_active" \
437 # "ignoring GtkCheckButton command \"checkbutton1:set_active\""
438 # check_error "checkbutton1:set_active " \
439 # "ignoring GtkCheckButton command \"checkbutton1:set_active \""
440 # check_error "checkbutton1:set_active 2" \
441 # "ignoring GtkCheckButton command \"checkbutton1:set_active 2\""
442 # check_error "checkbutton1:set_active 1 1" \
443 # "ignoring GtkCheckButton command \"checkbutton1:set_active 1 1\""
444 # # GtkRadioButton
445 # check_error "radiobutton1:nnn" \
446 # "ignoring GtkRadioButton command \"radiobutton1:nnn\""
447 # check_error "radiobutton1:set_active" \
448 # "ignoring GtkRadioButton command \"radiobutton1:set_active\""
449 # check_error "radiobutton1:set_active " \
450 # "ignoring GtkRadioButton command \"radiobutton1:set_active \""
451 # check_error "radiobutton1:set_active nnn" \
452 # "ignoring GtkRadioButton command \"radiobutton1:set_active nnn\""
453 # check_error "radiobutton1:set_active 0 1" \
454 # "ignoring GtkRadioButton command \"radiobutton1:set_active 0 1\""
455 # # GtkSpinButton
456 # check_error "spinbutton1:nnn" \
457 # "ignoring GtkSpinButton command \"spinbutton1:nnn\""
458 # check_error "spinbutton1:set_text" \
459 # "ignoring GtkSpinButton command \"spinbutton1:set_text\""
460 # check_error "spinbutton1:set_text " \
461 # "ignoring GtkSpinButton command \"spinbutton1:set_text \""
462 # check_error "spinbutton1:set_text nnn" \
463 # "ignoring GtkSpinButton command \"spinbutton1:set_text nnn\""
464 # check_error "spinbutton1:set_text 10 10" \
465 # "ignoring GtkSpinButton command \"spinbutton1:set_text 10 10\""
466 # check_error "spinbutton1:set_range" \
467 # "ignoring GtkSpinButton command \"spinbutton1:set_range\""
468 # check_error "spinbutton1:set_range " \
469 # "ignoring GtkSpinButton command \"spinbutton1:set_range \""
470 # check_error "spinbutton1:set_range 10 nnn" \
471 # "ignoring GtkSpinButton command \"spinbutton1:set_range 10 nnn\""
472 # check_error "spinbutton1:set_range 10 20 10" \
473 # "ignoring GtkSpinButton command \"spinbutton1:set_range 10 20 10\""
474 # check_error "spinbutton1:set_increments" \
475 # "ignoring GtkSpinButton command \"spinbutton1:set_increments\""
476 # check_error "spinbutton1:set_increments " \
477 # "ignoring GtkSpinButton command \"spinbutton1:set_increments \""
478 # check_error "spinbutton1:set_increments 10 nnn" \
479 # "ignoring GtkSpinButton command \"spinbutton1:set_increments 10 nnn\""
480 # check_error "spinbutton1:set_increments 10 20 10" \
481 # "ignoring GtkSpinButton command \"spinbutton1:set_increments 10 20 10\""
482 # # GtkDialog
483 # check_error "dialog1:resize 100" \
484 # "ignoring GtkDialog command \"dialog1:resize 100\""
485 # check_error "dialog1:resize 100 100 100" \
486 # "ignoring GtkDialog command \"dialog1:resize 100 100 100\""
487 # check_error "dialog1:move" \
488 # "ignoring GtkDialog command \"dialog1:move\""
489 # check_error "dialog1:move " \
490 # "ignoring GtkDialog command \"dialog1:move \""
491 # check_error "dialog1:move 100" \
492 # "ignoring GtkDialog command \"dialog1:move 100\""
493 # check_error "dialog1:move 100 100 100" \
494 # "ignoring GtkDialog command \"dialog1:move 100 100 100\""
495 # check_error "dialog1:fullscreen 1" \
496 # "ignoring GtkDialog command \"dialog1:fullscreen 1\""
497 # check_error "dialog1:unfullscreen 1" \
498 # "ignoring GtkDialog command \"dialog1:unfullscreen 1\""
499 # # GtkFileChooserButton
500 # check_error "filechooserbutton1:nnn" \
501 # "ignoring GtkFileChooserButton command \"filechooserbutton1:nnn\""
502 # # GtkFilechooserDialog
503 # check_error "open_dialog:nnn" \
504 # "ignoring GtkFileChooserDialog command \"open_dialog:nnn\""
505 # check_error "open_dialog:resize 100" \
506 # "ignoring GtkFileChooserDialog command \"open_dialog:resize 100\""
507 # check_error "open_dialog:resize 100 100 100" \
508 # "ignoring GtkFileChooserDialog command \"open_dialog:resize 100 100 100\""
509 # check_error "open_dialog:move" \
510 # "ignoring GtkFileChooserDialog command \"open_dialog:move\""
511 # check_error "open_dialog:move " \
512 # "ignoring GtkFileChooserDialog command \"open_dialog:move \""
513 # check_error "open_dialog:move 100" \
514 # "ignoring GtkFileChooserDialog command \"open_dialog:move 100\""
515 # check_error "open_dialog:move 100 100 100" \
516 # "ignoring GtkFileChooserDialog command \"open_dialog:move 100 100 100\""
517 # check_error "open_dialog:fullscreen 1" \
518 # "ignoring GtkFileChooserDialog command \"open_dialog:fullscreen 1\""
519 # check_error "open_dialog:unfullscreen 1" \
520 # "ignoring GtkFileChooserDialog command \"open_dialog:unfullscreen 1\""
521 # # GtkFontButton
522 # check_error "fontbutton1:nnn" \
523 # "ignoring GtkFontButton command \"fontbutton1:nnn\""
524 # # GtkColorButton
525 # check_error "colorbutton1:nnn" \
526 # "ignoring GtkColorButton command \"colorbutton1:nnn\""
527 # # GtkPrintUnixDialog
528 # check_error "printdialog:nnn" \
529 # "ignoring GtkPrintUnixDialog command \"printdialog:nnn\""
530 # check_error "statusbar1:push Click \"Print\"\n printdialog:print nonexistent.ps" \
531 # "ignoring GtkPrintUnixDialog command \" printdialog:print nonexistent.ps\""
532 # # GtkScale
533 # check_error "scale1:nnn" \
534 # "ignoring GtkScale command \"scale1:nnn\""
535 # check_error "scale1:set_value" \
536 # "ignoring GtkScale command \"scale1:set_value\""
537 # check_error "scale1:set_value " \
538 # "ignoring GtkScale command \"scale1:set_value \""
539 # check_error "scale1:set_value nnn" \
540 # "ignoring GtkScale command \"scale1:set_value nnn\""
541 # check_error "scale1:set_value 10 10" \
542 # "ignoring GtkScale command \"scale1:set_value 10 10\""
543 # check_error "scale1:set_fill_level nnn" \
544 # "ignoring GtkScale command \"scale1:set_fill_level nnn\""
545 # check_error "scale1:set_fill_level 10 10" \
546 # "ignoring GtkScale command \"scale1:set_fill_level 10 10\""
547 # check_error "scale1:set_range" \
548 # "ignoring GtkScale command \"scale1:set_range\""
549 # check_error "scale1:set_range " \
550 # "ignoring GtkScale command \"scale1:set_range \""
551 # check_error "scale1:set_range 10" \
552 # "ignoring GtkScale command \"scale1:set_range 10\""
553 # check_error "scale1:set_range x 10" \
554 # "ignoring GtkScale command \"scale1:set_range x 10\""
555 # check_error "scale1:set_range 10 10 10" \
556 # "ignoring GtkScale command \"scale1:set_range 10 10 10\""
557 # check_error "scale1:set_increments" \
558 # "ignoring GtkScale command \"scale1:set_increments\""
559 # check_error "scale1:set_increments " \
560 # "ignoring GtkScale command \"scale1:set_increments \""
561 # check_error "scale1:set_increments 10" \
562 # "ignoring GtkScale command \"scale1:set_increments 10\""
563 # check_error "scale1:set_increments x 10" \
564 # "ignoring GtkScale command \"scale1:set_increments x 10\""
565 # check_error "scale1:set_increments 10 10 10" \
566 # "ignoring GtkScale command \"scale1:set_increments 10 10 10\""
567 # # GtkProgressBar
568 # check_error "progressbar1:nnn" \
569 # "ignoring GtkProgressBar command \"progressbar1:nnn\""
570 # check_error "progressbar1:set_fraction" \
571 # "ignoring GtkProgressBar command \"progressbar1:set_fraction\""
572 # check_error "progressbar1:set_fraction " \
573 # "ignoring GtkProgressBar command \"progressbar1:set_fraction \""
574 # check_error "progressbar1:set_fraction nnn" \
575 # "ignoring GtkProgressBar command \"progressbar1:set_fraction nnn\""
576 # check_error "progressbar1:set_fraction .5 1" \
577 # "ignoring GtkProgressBar command \"progressbar1:set_fraction .5 1\""
578 # # GtkSpinner
579 # check_error "spinner1:nnn" \
580 # "ignoring GtkSpinner command \"spinner1:nnn\""
581 # check_error "spinner1:start 1" \
582 # "ignoring GtkSpinner command \"spinner1:start 1\""
583 # check_error "spinner1:stop 1" \
584 # "ignoring GtkSpinner command \"spinner1:stop 1\""
585 # # GtkStatusbar
586 # check_error "statusbar1:nnn" \
587 # "ignoring GtkStatusbar command \"statusbar1:nnn\""
588 # check_error "statusbar1:push_id" \
589 # "ignoring GtkStatusbar command \"statusbar1:push_id\""
590 # check_error "statusbar1:pop_id" \
591 # "ignoring GtkStatusbar command \"statusbar1:pop_id\""
592 # check_error "statusbar1:remove_all_id" \
593 # "ignoring GtkStatusbar command \"statusbar1:remove_all_id\""
594 # check_error "statusbar1:remove_all_id " \
595 # "ignoring GtkStatusbar command \"statusbar1:remove_all_id \""
596 # check_error "statusbar1:remove_all_id a b" \
597 # "ignoring GtkStatusbar command \"statusbar1:remove_all_id a b\""
598 # check_error "statusbar1:remove_all a" \
599 # "ignoring GtkStatusbar command \"statusbar1:remove_all a\""
600 # # GtkComboBoxText
601 # check_error "comboboxtext1:nnn" \
602 # "ignoring GtkComboBoxText command \"comboboxtext1:nnn\""
603 # check_error "comboboxtext1:force" \
604 # "ignoring GtkComboBoxText command \"comboboxtext1:force\""
606 # # GtkTreeView #
607 # check_error "treeview1:nnn" \
608 # "ignoring GtkTreeView command \"treeview1:nnn\""
609 # check_error "treeview2:nnn" \
610 # "ignoring GtkTreeView command \"treeview2:nnn\""
611 # check_error "treeview1:force" \
612 # "ignoring GtkTreeView command \"treeview1:force\""
613 # # GtkTreeView save
614 # check_error "treeview1:save" \
615 # "ignoring GtkTreeView command \"treeview1:save\""
616 # mkdir $DIR; chmod a-w $DIR
617 # check_error "treeview1:save $DIR/$FILE1" \
618 # "ignoring GtkTreeView command \"treeview1:save $DIR/$FILE1\""
619 # check_error "treeview1:save nonexistent/$FILE1" \
620 # "ignoring GtkTreeView command \"treeview1:save nonexistent/$FILE1\""
621 # rm -rf $DIR
622 # # GtkTreeView insert_row
623 # check_error "treeview1:insert_row 10000" \
624 # "ignoring GtkTreeView command \"treeview1:insert_row 10000\""
625 # check_error "treeview1:insert_row -1" \
626 # "ignoring GtkTreeView command \"treeview1:insert_row -1\""
627 # check_error "treeview1:insert_row nnn" \
628 # "ignoring GtkTreeView command \"treeview1:insert_row nnn\""
629 # check_error "treeview1:insert_row" \
630 # "ignoring GtkTreeView command \"treeview1:insert_row\""
631 # check_error "treeview1:insert_row " \
632 # "ignoring GtkTreeView command \"treeview1:insert_row \""
633 # check_error "treeview1:insert_row -1" \
634 # "ignoring GtkTreeView command \"treeview1:insert_row -1\""
635 # check_error "treeview1:insert_row 1000" \
636 # "ignoring GtkTreeView command \"treeview1:insert_row 1000\""
637 # check_error "treeview2:insert_row 0" \
638 # "ignoring GtkTreeView command \"treeview2:insert_row 0\""
639 # check_error "treeview3:insert_row end" \
640 # "missing model/ignoring GtkTreeView command \"treeview3:insert_row end\""
641 # check_error "treeview2:insert_row end\n treeview2:insert_row 0 as_child\n treeview2:insert_row 0:0 as_child\n treeview2:expand abc" \
642 # "ignoring GtkTreeView command \" treeview2:expand abc\""
643 # check_error "treeview2:expand" \
644 # "ignoring GtkTreeView command \"treeview2:expand\""
645 # check_error "treeview2:expand 0:abc" \
646 # "ignoring GtkTreeView command \"treeview2:expand 0:abc\""
647 # check_error "treeview2:expand 0 0" \
648 # "ignoring GtkTreeView command \"treeview2:expand 0 0\""
649 # check_error "treeview2:expand_all abc" \
650 # "ignoring GtkTreeView command \"treeview2:expand_all abc\""
651 # check_error "treeview2:expand_all 0:abc" \
652 # "ignoring GtkTreeView command \"treeview2:expand_all 0:abc\""
653 # check_error "treeview2:expand_all 0 0" \
654 # "ignoring GtkTreeView command \"treeview2:expand_all 0 0\""
655 # check_error "treeview2:collapse abc" \
656 # "ignoring GtkTreeView command \"treeview2:collapse abc\""
657 # check_error "treeview2:collapse 0:abc" \
658 # "ignoring GtkTreeView command \"treeview2:collapse 0:abc\""
659 # check_error "treeview2:collapse 0 0" \
660 # "ignoring GtkTreeView command \"treeview2:collapse 0 0\""
661 # check_error "treeview2:insert_row" \
662 # "ignoring GtkTreeView command \"treeview2:insert_row\""
663 # check_error "treeview2:insert_row abc" \
664 # "ignoring GtkTreeView command \"treeview2:insert_row abc\""
665 # check_error "treeview2:insert_row 0:abc" \
666 # "ignoring GtkTreeView command \"treeview2:insert_row 0:abc\""
667 # check_error "treeview2:insert_row end 0" \
668 # "ignoring GtkTreeView command \"treeview2:insert_row end 0\""
669 # # GtkTreeView move_row
670 # check_error "treeview1:move_row" \
671 # "ignoring GtkTreeView command \"treeview1:move_row\""
672 # check_error "treeview1:move_row " \
673 # "ignoring GtkTreeView command \"treeview1:move_row \""
674 # check_error "treeview1:move_row nnn" \
675 # "ignoring GtkTreeView command \"treeview1:move_row nnn\""
676 # check_error "treeview1:move_row 10000 end" \
677 # "ignoring GtkTreeView command \"treeview1:move_row 10000 end\""
678 # check_error "treeview1:move_row -1 end" \
679 # "ignoring GtkTreeView command \"treeview1:move_row -1 end\""
680 # check_error "treeview1:move_row nnn end" \
681 # "ignoring GtkTreeView command \"treeview1:move_row nnn end\""
682 # check_error "treeview1:move_row 0 10000" \
683 # "ignoring GtkTreeView command \"treeview1:move_row 0 10000\""
684 # check_error "treeview1:move_row 0 -1" \
685 # "ignoring GtkTreeView command \"treeview1:move_row 0 -1\""
686 # check_error "treeview1:move_row 0 nnn" \
687 # "ignoring GtkTreeView command \"treeview1:move_row 0 nnn\""
688 # check_error "treeview2:move_row" \
689 # "ignoring GtkTreeView command \"treeview2:move_row\""
690 # check_error "treeview2:move_row 0:0 abc" \
691 # "ignoring GtkTreeView command \"treeview2:move_row 0:0 abc\""
692 # check_error "treeview2:move_row 0:0 0:abc" \
693 # "ignoring GtkTreeView command \"treeview2:move_row 0:0 0:abc\""
694 # check_error "treeview2:move_row abc end" \
695 # "ignoring GtkTreeView command \"treeview2:move_row abc end\""
696 # check_error "treeview2:move_row 0:abc end" \
697 # "ignoring GtkTreeView command \"treeview2:move_row 0:abc end\""
698 # check_error "treeview2:move_row 0 end 0" \
699 # "ignoring GtkTreeView command \"treeview2:move_row 0 end 0\""
700 # # GtkTreeView remove_row
701 # check_error "treeview1:remove_row 10000" \
702 # "ignoring GtkTreeView command \"treeview1:remove_row 10000\""
703 # check_error "treeview1:remove_row -1" \
704 # "ignoring GtkTreeView command \"treeview1:remove_row -1\""
705 # check_error "treeview1:remove_row nnn" \
706 # "ignoring GtkTreeView command \"treeview1:remove_row nnn\""
707 # check_error "treeview1:remove_row" \
708 # "ignoring GtkTreeView command \"treeview1:remove_row\""
709 # check_error "treeview1:remove_row " \
710 # "ignoring GtkTreeView command \"treeview1:remove_row \""
711 # check_error "treeview2:remove_row" \
712 # "ignoring GtkTreeView command \"treeview2:remove_row\""
713 # check_error "treeview2:remove_row abc" \
714 # "ignoring GtkTreeView command \"treeview2:remove_row abc\""
715 # check_error "treeview2:remove_row 0:abc" \
716 # "ignoring GtkTreeView command \"treeview2:remove_row 0:abc\""
717 # check_error "treeview2:remove_row 0 0" \
718 # "ignoring GtkTreeView command \"treeview2:remove_row 0 0\""
719 # # GtkTreeView scroll
720 # check_error "treeview1:scroll" \
721 # "ignoring GtkTreeView command \"treeview1:scroll\""
722 # check_error "treeview1:scroll " \
723 # "ignoring GtkTreeView command \"treeview1:scroll \""
724 # check_error "treeview1:scroll nnn" \
725 # "ignoring GtkTreeView command \"treeview1:scroll nnn\""
726 # check_error "treeview1:scroll -1 1" \
727 # "ignoring GtkTreeView command \"treeview1:scroll -1 1\""
728 # check_error "treeview1:scroll 1 -1" \
729 # "ignoring GtkTreeView command \"treeview1:scroll 1 -1\""
730 # check_error "treeview1:scroll nnn 1" \
731 # "ignoring GtkTreeView command \"treeview1:scroll nnn 1\""
732 # check_error "treeview1:scroll 1 nnn" \
733 # "ignoring GtkTreeView command \"treeview1:scroll 1 nnn\""
734 # check_error "treeview1:scroll 0 0 0" \
735 # "ignoring GtkTreeView command \"treeview1:scroll 0 0 0\""
736 # check_error "treeview2:scroll" \
737 # "ignoring GtkTreeView command \"treeview2:scroll\""
738 # check_error "treeview2:scroll abc" \
739 # "ignoring GtkTreeView command \"treeview2:scroll abc\""
740 # check_error "treeview2:scroll 0:abc" \
741 # "ignoring GtkTreeView command \"treeview2:scroll 0:abc\""
742 # check_error "treeview2:scroll abc 0" \
743 # "ignoring GtkTreeView command \"treeview2:scroll abc 0\""
744 # check_error "treeview2:scroll 0:abc 0" \
745 # "ignoring GtkTreeView command \"treeview2:scroll 0:abc 0\""
746 # check_error "treeview2:scroll 0:0" \
747 # "ignoring GtkTreeView command \"treeview2:scroll 0:0\""
748 # check_error "treeview2:scroll 0:0 abc" \
749 # "ignoring GtkTreeView command \"treeview2:scroll 0:0 abc\""
750 # check_error "treeview2:set_cursor abc" \
751 # "ignoring GtkTreeView command \"treeview2:set_cursor abc\""
752 # check_error "treeview2:set_cursor 0:abc" \
753 # "ignoring GtkTreeView command \"treeview2:set_cursor 0:abc\""
754 # check_error "treeview2:set_cursor 0 0" \
755 # "ignoring GtkTreeView command \"treeview2:set_cursor 0 0\""
756 # check_error "treeview2:clear 0" \
757 # "ignoring GtkTreeView command \"treeview2:clear 0\""
758 # check_error "treeview2:clear\n treeview2:insert_row 0" \
759 # "ignoring GtkTreeView command \" treeview2:insert_row 0\""
760 # # GtkTreeView set
761 # check_error "treeview1:set" \
762 # "ignoring GtkTreeView command \"treeview1:set\""
763 # check_error "treeview1:set " \
764 # "ignoring GtkTreeView command \"treeview1:set \""
765 # check_error "treeview1:set nnn" \
766 # "ignoring GtkTreeView command \"treeview1:set nnn\""
767 # check_error "treeview1:set 0 nnn" \
768 # "ignoring GtkTreeView command \"treeview1:set 0 nnn\""
769 # check_error "treeview1:set nnn 0" \
770 # "ignoring GtkTreeView command \"treeview1:set nnn 0\""
771 # check_error "treeview1:set 1 10000 77" \
772 # "ignoring GtkTreeView command \"treeview1:set 1 10000 77\""
773 # check_error "treeview1:set 1 11 77" \
774 # "ignoring GtkTreeView command \"treeview1:set 1 11 77\""
775 # check_error "treeview1:set nnn 1 77" \
776 # "ignoring GtkTreeView command \"treeview1:set nnn 1 77\""
777 # check_error "treeview1:set 1 nnn 77" \
778 # "ignoring GtkTreeView command \"treeview1:set 1 nnn 77\""
779 # check_error "treeview1:set -1 1 77" \
780 # "ignoring GtkTreeView command \"treeview1:set -1 1 77\""
781 # check_error "treeview1:set 1 -1 77" \
782 # "ignoring GtkTreeView command \"treeview1:set 1 -1 77\""
783 # # GtkTreeView set "abc" into numeric column
784 # check_error "treeview1:set 1 1 abc" \
785 # "ignoring GtkTreeView command \"treeview1:set 1 1 abc\""
787 # # GtkTreeViewColumn
788 # check_error "treeviewcolumn3:nnn" \
789 # "ignoring GtkTreeViewColumn command \"treeviewcolumn3:nnn\""
790 # check_error "treeviewcolumn3:force" \
791 # "ignoring GtkTreeViewColumn command \"treeviewcolumn3:force\""
792 # # GtkEntry
793 # check_error "entry1:nnn" \
794 # "ignoring GtkEntry command \"entry1:nnn\""
795 # # GtkCalendar
796 # check_error "calendar1:nnn" \
797 # "ignoring GtkCalendar command \"calendar1:nnn\""
798 # check_error "calendar1:select_date" \
799 # "ignoring GtkCalendar command \"calendar1:select_date\""
800 # check_error "calendar1:select_date " \
801 # "ignoring GtkCalendar command \"calendar1:select_date \""
802 # check_error "calendar1:select_date nnn" \
803 # "ignoring GtkCalendar command \"calendar1:select_date nnn\""
804 # check_error "calendar1:select_date 2000-12-33" \
805 # "ignoring GtkCalendar command \"calendar1:select_date 2000-12-33\""
806 # check_error "calendar1:select_date 2000-13-20" \
807 # "ignoring GtkCalendar command \"calendar1:select_date 2000-13-20\""
808 # check_error "calendar1:select_date 2000-10-10 1" \
809 # "ignoring GtkCalendar command \"calendar1:select_date 2000-10-10 1\""
810 # check_error "calendar1:mark_day" \
811 # "ignoring GtkCalendar command \"calendar1:mark_day\""
812 # check_error "calendar1:mark_day " \
813 # "ignoring GtkCalendar command \"calendar1:mark_day \""
814 # check_error "calendar1:mark_day nnn" \
815 # "ignoring GtkCalendar command \"calendar1:mark_day nnn\""
816 # check_error "calendar1:mark_day 10 1" \
817 # "ignoring GtkCalendar command \"calendar1:mark_day 10 1\""
818 # check_error "calendar1:clear_marks 1" \
819 # "ignoring GtkCalendar command \"calendar1:clear_marks 1\""
820 # # GtkSocket
821 # check_error "socket1:nnn" \
822 # "ignoring GtkSocket command \"socket1:nnn\""
823 # check_error "socket1:id 1" \
824 # "ignoring GtkSocket command \"socket1:id 1\""
825 # # GtkScrolledWindow
826 # check_error "scrolledwindow3:nnn" \
827 # "ignoring GtkScrolledWindow command \"scrolledwindow3:nnn\""
828 # check_error "scrolledwindow3:hscroll" \
829 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll\""
830 # check_error "scrolledwindow3:hscroll " \
831 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll \""
832 # check_error "scrolledwindow3:hscroll nnn" \
833 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll nnn\""
834 # check_error "scrolledwindow3:hscroll 100 100" \
835 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll 100 100\""
836 # check_error "scrolledwindow3:vscroll" \
837 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll\""
838 # check_error "scrolledwindow3:vscroll " \
839 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll \""
840 # check_error "scrolledwindow3:vscroll nnn" \
841 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll nnn\""
842 # check_error "scrolledwindow3:vscroll 100 100" \
843 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll 100 100\""
844 # check_error "scrolledwindow3:hscroll_to_range" \
845 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range\""
846 # check_error "scrolledwindow3:hscroll_to_range " \
847 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range \""
848 # check_error "scrolledwindow3:hscroll_to_range nnn" \
849 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range nnn\""
850 # check_error "scrolledwindow3:hscroll_to_range 10" \
851 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 10\""
852 # check_error "scrolledwindow3:hscroll_to_range 10 nnn" \
853 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 10 nnn\""
854 # check_error "scrolledwindow3:hscroll_to_range nnn 10" \
855 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range nnn 10\""
856 # check_error "scrolledwindow3:hscroll_to_range 5 10 10" \
857 # "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 5 10 10\""
858 # check_error "scrolledwindow3:vscroll_to_range" \
859 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range\""
860 # check_error "scrolledwindow3:vscroll_to_range " \
861 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range \""
862 # check_error "scrolledwindow3:vscroll_to_range nnn" \
863 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range nnn\""
864 # check_error "scrolledwindow3:vscroll_to_range 10" \
865 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 10\""
866 # check_error "scrolledwindow3:vscroll_to_range 10 nnn" \
867 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 10 nnn\""
868 # check_error "scrolledwindow3:vscroll_to_range nnn 10" \
869 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range nnn 10\""
870 # check_error "scrolledwindow3:vscroll_to_range 5 10 10" \
871 # "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 5 10 10\""
872 # # GtkEventBox
873 # check_error "eventbox1:nnn" \
874 # "ignoring GtkEventBox command \"eventbox1:nnn\""
875 # # GtkDrawingArea
876 check_error "drawingarea1:nnn" \
877 "ignoring GtkDrawingArea command \"drawingarea1:nnn\""
878 check_error "drawingarea1:rectangle" \
879 "ignoring GtkDrawingArea command \"drawingarea1:rectangle\""
880 check_error "drawingarea1:rectangle " \
881 "ignoring GtkDrawingArea command \"drawingarea1:rectangle \""
882 check_error "drawingarea1:rectangle nnn" \
883 "ignoring GtkDrawingArea command \"drawingarea1:rectangle nnn\""
884 check_error "drawingarea1:rectangle 1" \
885 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1\""
886 check_error "drawingarea1:rectangle 1 10" \
887 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10\""
888 check_error "drawingarea1:rectangle 1 10 10" \
889 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10\""
890 check_error "drawingarea1:rectangle 1 10 10 20" \
891 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20\""
892 check_error "drawingarea1:rectangle 1 10 10 20 nnn" \
893 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20 nnn\""
894 check_error "drawingarea1:rectangle 1 10 10 20 20 20" \
895 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20 20 20\""
896 check_error "drawingarea1:arc" \
897 "ignoring GtkDrawingArea command \"drawingarea1:arc\""
898 check_error "drawingarea1:arc " \
899 "ignoring GtkDrawingArea command \"drawingarea1:arc \""
900 check_error "drawingarea1:arc nnn" \
901 "ignoring GtkDrawingArea command \"drawingarea1:arc nnn\""
902 check_error "drawingarea1:arc 1" \
903 "ignoring GtkDrawingArea command \"drawingarea1:arc 1\""
904 check_error "drawingarea1:arc 1 10" \
905 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10\""
906 check_error "drawingarea1:arc 1 10 10" \
907 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10\""
908 check_error "drawingarea1:arc 1 10 10 20" \
909 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20\""
910 check_error "drawingarea1:arc 1 10 10 20 45" \
911 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45\""
912 check_error "drawingarea1:arc 1 10 10 20 45 nnn" \
913 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45 nnn\""
914 check_error "drawingarea1:arc 1 10 10 20 45 90 7" \
915 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45 90 7\""
916 check_error "drawingarea1:arc_negative" \
917 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative\""
918 check_error "drawingarea1:arc_negative " \
919 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative \""
920 check_error "drawingarea1:arc_negative nnn" \
921 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative nnn\""
922 check_error "drawingarea1:arc_negative 1" \
923 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1\""
924 check_error "drawingarea1:arc_negative 1 10" \
925 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10\""
926 check_error "drawingarea1:arc_negative 1 10 10" \
927 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10\""
928 check_error "drawingarea1:arc_negative 1 10 10 20" \
929 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20\""
930 check_error "drawingarea1:arc_negative 1 10 10 20 45" \
931 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45\""
932 check_error "drawingarea1:arc_negative 1 10 10 20 45 nnn" \
933 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45 nnn\""
934 check_error "drawingarea1:arc_negative 1 10 10 20 45 90 7" \
935 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45 90 7\""
936 check_error "drawingarea1:curve_to" \
937 "ignoring GtkDrawingArea command \"drawingarea1:curve_to\""
938 check_error "drawingarea1:curve_to " \
939 "ignoring GtkDrawingArea command \"drawingarea1:curve_to \""
940 check_error "drawingarea1:curve_to nnn" \
941 "ignoring GtkDrawingArea command \"drawingarea1:curve_to nnn\""
942 check_error "drawingarea1:curve_to 1" \
943 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1\""
944 check_error "drawingarea1:curve_to 1 10" \
945 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10\""
946 check_error "drawingarea1:curve_to 1 10 10" \
947 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10\""
948 check_error "drawingarea1:curve_to 1 10 10 20" \
949 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20\""
950 check_error "drawingarea1:curve_to 1 10 10 20 20" \
951 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20\""
952 check_error "drawingarea1:curve_to 1 10 10 20 20 25" \
953 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25\""
954 check_error "drawingarea1:curve_to 1 10 10 20 20 25 nnn" \
955 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25 nnn\""
956 check_error "drawingarea1:curve_to 1 10 10 20 20 25 25 77" \
957 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25 25 77\""
958 check_error "drawingarea1:rel_curve_to" \
959 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to\""
960 check_error "drawingarea1:rel_curve_to " \
961 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to \""
962 check_error "drawingarea1:rel_curve_to nnn" \
963 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to nnn\""
964 check_error "drawingarea1:rel_curve_to 1" \
965 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1\""
966 check_error "drawingarea1:rel_curve_to 1 10" \
967 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10\""
968 check_error "drawingarea1:rel_curve_to 1 10 10" \
969 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10\""
970 check_error "drawingarea1:rel_curve_to 1 10 10 20" \
971 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20\""
972 check_error "drawingarea1:rel_curve_to 1 10 10 20 20" \
973 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20\""
974 check_error "drawingarea1:rel_curve_to 1 10 10 20 20 25" \
975 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25\""
976 check_error "drawingarea1:rel_curve_to 1 10 10 20 20 25 nnn" \
977 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25 nnn\""
978 check_error "drawingarea1:rel_curve_to 1 10 10 20 20 25 25 77" \
979 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25 25 77\""
980 check_error "drawingarea1:line_to" \
981 "ignoring GtkDrawingArea command \"drawingarea1:line_to\""
982 check_error "drawingarea1:line_to " \
983 "ignoring GtkDrawingArea command \"drawingarea1:line_to \""
984 check_error "drawingarea1:line_to nnn" \
985 "ignoring GtkDrawingArea command \"drawingarea1:line_to nnn\""
986 check_error "drawingarea1:line_to 1" \
987 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1\""
988 check_error "drawingarea1:line_to 1 20" \
989 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20\""
990 check_error "drawingarea1:line_to 1 20 nnn" \
991 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20 nnn\""
992 check_error "drawingarea1:line_to 1 20 20 20" \
993 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20 20 20\""
994 check_error "drawingarea1:rel_line_to" \
995 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to\""
996 check_error "drawingarea1:rel_line_to " \
997 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to \""
998 check_error "drawingarea1:rel_line_to nnn" \
999 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to nnn\""
1000 check_error "drawingarea1:rel_line_to 1" \
1001 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1\""
1002 check_error "drawingarea1:rel_line_to 1 20" \
1003 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20\""
1004 check_error "drawingarea1:rel_line_to 1 20 nnn" \
1005 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 nnn\""
1006 check_error "drawingarea1:rel_line_to 1 20 nnn" \
1007 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 nnn\""
1008 check_error "drawingarea1:rel_line_to 1 20 20 20" \
1009 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 20 20\""
1010 check_error "drawingarea1:move_to" \
1011 "ignoring GtkDrawingArea command \"drawingarea1:move_to\""
1012 check_error "drawingarea1:move_to " \
1013 "ignoring GtkDrawingArea command \"drawingarea1:move_to \""
1014 check_error "drawingarea1:move_to nnn" \
1015 "ignoring GtkDrawingArea command \"drawingarea1:move_to nnn\""
1016 check_error "drawingarea1:move_to 1" \
1017 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1\""
1018 check_error "drawingarea1:move_to 1 20" \
1019 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20\""
1020 check_error "drawingarea1:move_to 1 20 nnn" \
1021 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20 nnn\""
1022 check_error "drawingarea1:move_to 1 20 20 20" \
1023 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20 20 20\""
1024 check_error "drawingarea1:rel_move_to" \
1025 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to\""
1026 check_error "drawingarea1:rel_move_to " \
1027 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to \""
1028 check_error "drawingarea1:rel_move_to nnn" \
1029 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to nnn\""
1030 check_error "drawingarea1:rel_move_to 1" \
1031 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1\""
1032 check_error "drawingarea1:rel_move_to 1 20" \
1033 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20\""
1034 check_error "drawingarea1:rel_move_to 1 20 nnn" \
1035 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20 nnn\""
1036 check_error "drawingarea1:rel_move_to 1 20 20 20" \
1037 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20 20 20\""
1038 check_error "drawingarea1:close_path" \
1039 "ignoring GtkDrawingArea command \"drawingarea1:close_path\""
1040 check_error "drawingarea1:close_path " \
1041 "ignoring GtkDrawingArea command \"drawingarea1:close_path \""
1042 check_error "drawingarea1:close_path nnn" \
1043 "ignoring GtkDrawingArea command \"drawingarea1:close_path nnn\""
1044 check_error "drawingarea1:close_path 1 1" \
1045 "ignoring GtkDrawingArea command \"drawingarea1:close_path 1 1\""
1046 check_error "drawingarea1:set_source_rgba" \
1047 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba\""
1048 check_error "drawingarea1:set_source_rgba " \
1049 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba \""
1050 check_error "drawingarea1:set_source_rgba nnn" \
1051 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba nnn\""
1052 check_error "drawingarea1:set_dash" \
1053 "ignoring GtkDrawingArea command \"drawingarea1:set_dash\""
1054 check_error "drawingarea1:set_dash " \
1055 "ignoring GtkDrawingArea command \"drawingarea1:set_dash \""
1056 check_error "drawingarea1:set_dash nnn" \
1057 "ignoring GtkDrawingArea command \"drawingarea1:set_dash nnn\""
1058 check_error "drawingarea1:set_line_cap" \
1059 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap\""
1060 check_error "drawingarea1:set_line_cap " \
1061 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap \""
1062 check_error "drawingarea1:set_line_cap nnn" \
1063 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap nnn\""
1064 check_error "drawingarea1:set_line_cap 1" \
1065 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1\""
1066 check_error "drawingarea1:set_line_cap 1 nnn" \
1067 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1 nnn\""
1068 check_error "drawingarea1:set_line_cap 1 butt butt" \
1069 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1 butt butt\""
1070 check_error "drawingarea1:set_line_join" \
1071 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join\""
1072 check_error "drawingarea1:set_line_join " \
1073 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join \""
1074 check_error "drawingarea1:set_line_join nnn" \
1075 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join nnn\""
1076 check_error "drawingarea1:set_line_join 1" \
1077 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1\""
1078 check_error "drawingarea1:set_line_join 1 nnn" \
1079 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1 nnn\""
1080 check_error "drawingarea1:set_line_join 1 miter miter" \
1081 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1 miter miter\""
1082 check_error "drawingarea1:set_line_width" \
1083 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width\""
1084 check_error "drawingarea1:set_line_width " \
1085 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width \""
1086 check_error "drawingarea1:set_line_width nnn" \
1087 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width nnn\""
1088 check_error "drawingarea1:set_line_width 1" \
1089 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1\""
1090 check_error "drawingarea1:set_line_width 1 nnn" \
1091 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1 nnn\""
1092 check_error "drawingarea1:set_line_width 1 3 3" \
1093 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1 3 3\""
1094 check_error "drawingarea1:fill" \
1095 "ignoring GtkDrawingArea command \"drawingarea1:fill\""
1096 check_error "drawingarea1:fill " \
1097 "ignoring GtkDrawingArea command \"drawingarea1:fill \""
1098 check_error "drawingarea1:fill nnn" \
1099 "ignoring GtkDrawingArea command \"drawingarea1:fill nnn\""
1100 check_error "drawingarea1:fill 1 1" \
1101 "ignoring GtkDrawingArea command \"drawingarea1:fill 1 1\""
1102 check_error "drawingarea1:fill_preserve" \
1103 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve\""
1104 check_error "drawingarea1:fill_preserve " \
1105 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve \""
1106 check_error "drawingarea1:fill_preserve nnn" \
1107 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve nnn\""
1108 check_error "drawingarea1:fill_preserve 1 1" \
1109 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve 1 1\""
1110 check_error "drawingarea1:stroke" \
1111 "ignoring GtkDrawingArea command \"drawingarea1:stroke\""
1112 check_error "drawingarea1:stroke " \
1113 "ignoring GtkDrawingArea command \"drawingarea1:stroke \""
1114 check_error "drawingarea1:stroke nnn" \
1115 "ignoring GtkDrawingArea command \"drawingarea1:stroke nnn\""
1116 check_error "drawingarea1:stroke 3 3" \
1117 "ignoring GtkDrawingArea command \"drawingarea1:stroke 3 3\""
1118 check_error "drawingarea1:stroke_preserve" \
1119 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve\""
1120 check_error "drawingarea1:stroke_preserve " \
1121 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve \""
1122 check_error "drawingarea1:stroke_preserve nnn" \
1123 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve nnn\""
1124 check_error "drawingarea1:stroke_preserve 3 3" \
1125 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve 3 3\""
1126 check_error "drawingarea1:remove" \
1127 "ignoring GtkDrawingArea command \"drawingarea1:remove\""
1128 check_error "drawingarea1:remove " \
1129 "ignoring GtkDrawingArea command \"drawingarea1:remove \""
1130 check_error "drawingarea1:remove nnn" \
1131 "ignoring GtkDrawingArea command \"drawingarea1:remove nnn\""
1132 check_error "drawingarea1:remove 1 1" \
1133 "ignoring GtkDrawingArea command \"drawingarea1:remove 1 1\""
1134 check_error "drawingarea1:set_show_text" \
1135 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text\""
1136 check_error "drawingarea1:set_show_text " \
1137 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text \""
1138 check_error "drawingarea1:set_show_text nnn" \
1139 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text nnn\""
1140 check_error "drawingarea1:set_font_face" \
1141 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face\""
1142 check_error "drawingarea1:set_font_face " \
1143 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face \""
1144 check_error "drawingarea1:set_font_face nnn" \
1145 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face nnn\""
1146 check_error "drawingarea1:set_font_face 1" \
1147 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1\""
1148 check_error "drawingarea1:set_font_face 1 normal" \
1149 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal\""
1150 check_error "drawingarea1:set_font_size" \
1151 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size\""
1152 check_error "drawingarea1:set_font_size " \
1153 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size \""
1154 check_error "drawingarea1:set_font_size nnn" \
1155 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size nnn\""
1156 check_error "drawingarea1:set_font_size 1" \
1157 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1\""
1158 check_error "drawingarea1:set_font_size 1 nnn" \
1159 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1 nnn\""
1160 check_error "drawingarea1:set_font_size 1 10 10" \
1161 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1 10 10\""
1162 check_error "drawingarea1:set_font_face" \
1163 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face\""
1164 check_error "drawingarea1:set_font_face 1" \
1165 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1\""
1166 check_error "drawingarea1:set_font_face 1 normal" \
1167 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal\""
1168 check_error "drawingarea1:set_font_face 1 normal nnn" \
1169 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal nnn\""
1170 check_error "drawingarea1:set_font_face 1 nnn normal" \
1171 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 nnn normal\""
1172 check_error "drawingarea1:set_font_face x normal normal" \
1173 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face x normal normal\""
1174 check_error "drawingarea1:rel_move_for" \
1175 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for\""
1176 check_error "drawingarea1:rel_move_for " \
1177 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for \""
1178 check_error "drawingarea1:rel_move_for 1" \
1179 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for 1\""
1180 check_error "drawingarea1:rel_move_for 1 nnn Text" \
1181 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for 1 nnn Text\""
1182 check_error "drawingarea1:rel_move_for nnn c Text" \
1183 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for nnn c Text\""
1184 check_error "drawingarea1:transform" \
1185 "ignoring GtkDrawingArea command \"drawingarea1:transform\""
1186 check_error "drawingarea1:transform " \
1187 "ignoring GtkDrawingArea command \"drawingarea1:transform \""
1188 check_error "drawingarea1:transform nnn" \
1189 "ignoring GtkDrawingArea command \"drawingarea1:transform nnn\""
1190 check_error "drawingarea1:transform 1 2" \
1191 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2\""
1192 check_error "drawingarea1:transform 1 2 3" \
1193 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3\""
1194 check_error "drawingarea1:transform 1 2 3 4" \
1195 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4\""
1196 check_error "drawingarea1:transform 1 2 3 4 5" \
1197 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5\""
1198 check_error "drawingarea1:transform 1 2 3 4 5 6" \
1199 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5 6\""
1200 check_error "drawingarea1:transform 1 2 3 x 5 6 7" \
1201 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 x 5 6 7\""
1202 check_error "drawingarea1:transform 1 2 3 4 5 6 7 8" \
1203 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5 6 7 8\""
1204 check_error "drawingarea1:translate" \
1205 "ignoring GtkDrawingArea command \"drawingarea1:translate\""
1206 check_error "drawingarea1:translate " \
1207 "ignoring GtkDrawingArea command \"drawingarea1:translate \""
1208 check_error "drawingarea1:translate 1" \
1209 "ignoring GtkDrawingArea command \"drawingarea1:translate 1\""
1210 check_error "drawingarea1:translate 1 2" \
1211 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 2\""
1212 check_error "drawingarea1:translate nnn 2 3" \
1213 "ignoring GtkDrawingArea command \"drawingarea1:translate nnn 2 3\""
1214 check_error "drawingarea1:translate 1 x 3" \
1215 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 x 3\""
1216 check_error "drawingarea1:translate 1 2 3 4" \
1217 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 2 3 4\""
1218 check_error "drawingarea1:scale" \
1219 "ignoring GtkDrawingArea command \"drawingarea1:scale\""
1220 check_error "drawingarea1:scale " \
1221 "ignoring GtkDrawingArea command \"drawingarea1:scale \""
1222 check_error "drawingarea1:scale 1" \
1223 "ignoring GtkDrawingArea command \"drawingarea1:scale 1\""
1224 check_error "drawingarea1:scale 1 2" \
1225 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 2\""
1226 check_error "drawingarea1:scale nnn 2 3" \
1227 "ignoring GtkDrawingArea command \"drawingarea1:scale nnn 2 3\""
1228 check_error "drawingarea1:scale 1 x 3" \
1229 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 x 3\""
1230 check_error "drawingarea1:scale 1 2 3 4" \
1231 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 2 3 4\""
1232 check_error "drawingarea1:rotate" \
1233 "ignoring GtkDrawingArea command \"drawingarea1:rotate\""
1234 check_error "drawingarea1:rotate " \
1235 "ignoring GtkDrawingArea command \"drawingarea1:rotate \""
1236 check_error "drawingarea1:rotate 1" \
1237 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1\""
1238 check_error "drawingarea1:rotate nnn 2" \
1239 "ignoring GtkDrawingArea command \"drawingarea1:rotate nnn 2\""
1240 check_error "drawingarea1:rotate 1 x" \
1241 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1 x\""
1242 check_error "drawingarea1:rotate 1 10 10" \
1243 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1 10 10\""
1245 echo "_:main_quit" >$FIN
1247 check_rm $FIN
1250 ## Logging to stderr
1251 read r 2< $FERR &
1252 ./pipeglade -i $FIN 2> $FERR -l - &
1254 # wait for $FIN to appear
1255 while test ! \( -e $FIN \); do :; done
1257 check_error "# Comment" \
1258 "########## ##### (New Pipeglade session) #####"
1259 check_error "" \
1260 "### (Idle) ###"
1261 check_error "_:main_quit" \
1262 " # Comment"
1264 check_rm $FIN
1265 rm $FERR
1269 #exit
1271 echo "
1272 # BATCH THREE
1274 # Tests for the principal functionality---valid actions leading to
1275 # correct results. Manual intervention is required. Instructions
1276 # will be given on the statusbar of the test GUI.
1277 ######################################################################
1280 mkfifo $FOUT
1282 # check nr_of_feedback_msgs user_instruction command expected_feedback1 expected_feedback2 ...
1283 check() {
1284 # Flush stale pipeglade output
1285 while read -t .1 <$FOUT; do : ; done
1286 N=$1
1287 INSTRUCTION="$2"
1288 echo "$SEND $3"
1289 if test "$INSTRUCTION"; then
1290 echo -e "statusbar1:push_id =check= $INSTRUCTION" >$FIN
1292 echo -e "$3" >$FIN
1294 while (( i<$N )); do
1295 read r <$FOUT
1296 if test "$r" != ""; then
1297 if grep -qe "$4" <<< $r; then
1298 count_ok
1299 echo " $OK ($i) $r"
1300 else
1301 count_fail
1302 echo " $FAIL($i) $r"
1303 echo " $EXPECTED $4"
1305 shift
1306 (( i+=1 ))
1308 done
1309 if test "$INSTRUCTION"; then
1310 echo -e "statusbar1:pop_id =check=" >$FIN
1315 # # Being impervious to locale
1316 # LC_ALL=de_DE.UTF-8 ./pipeglade -i $FIN -o $FOUT -O $ERR_FILE &
1317 # # wait for $FIN and $FOUT to appear
1318 # while test ! \( -e $FIN -a -e $FOUT -a $ERR_FILE \); do :; done
1319 # check 0 "" \
1320 # "drawingarea1:transform 1 1.5 1 1 1 1 1"
1321 # check 0 "" \
1322 # "progressbar1:set_fraction .5"
1323 # check 1 "Press \"No\" to continue" \
1324 # "scale1:set_value .5" \
1325 # "scale1:value 0\.50"
1326 # sleep .5
1327 # check 0 "" \
1328 # "_:main_quit"
1329 # sleep .5
1330 # check_cmd "(! grep -qe \"ignoring GtkDrawingArea command\" $ERR_FILE)"
1331 # check_cmd "(! grep -qe \"ignoring GtkProgressBar command\" $ERR_FILE)"
1332 # check_cmd "(! grep -qe \"ignoring GtkScale command\" $ERR_FILE)"
1333 # check_rm $FIN
1334 # check_rm $FOUT
1335 # rm $ERR_FILE
1338 # # Logging to stderr while redirecting stderr
1339 # ./pipeglade -i $FIN -o $FOUT -O $ERR_FILE -l - &
1340 # # wait for $FIN and $FOUT to appear
1341 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1342 # check 0 "" \
1343 # "# Comment"
1344 # check 0 "" \
1345 # "BlahBlah"
1346 # check 0 "" \
1347 # "_:main_quit"
1349 # check_cmd "grep -qe \"# Comment\" $ERR_FILE"
1350 # check_cmd "grep -qe \"ignoring command\" $ERR_FILE"
1351 # check_rm $FIN
1354 # # check if stdout remains line buffered even if directed to file
1355 # ./pipeglade -i $FIN >$OUT_FILE &
1356 # # wait for $FIN to appear
1357 # while test ! \( -e $FIN \); do :; done
1358 # echo "button1:force" >$FIN
1359 # check_cmd "grep -qe 'button1:clicked' $OUT_FILE"
1360 # echo "_:main_quit" >$FIN
1361 # #rm -f $OUT_FILE
1364 # ./pipeglade -i $FIN -o $FOUT -b >$PID_FILE
1365 # check_cmd "kill `cat $PID_FILE`"
1366 # rm $FIN $FOUT
1369 # ./pipeglade --display ${DISPLAY-:0} -i $FIN -o $FOUT &
1371 # # wait for $FIN and $FOUT to appear
1372 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1374 # check 0 "" \
1375 # "# checking --display $DISPLAY\n _:main_quit"
1377 # check_rm $FIN
1378 # check_rm $FOUT
1381 # ./pipeglade -u simple_dialog.ui -i $FIN -o $FOUT -b >$PID_FILE
1383 # # wait for $FIN and $FOUT to appear
1384 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1386 # check_cmd "ps -p `cat $PID_FILE` >/dev/null"
1387 # check 1 "" \
1388 # "main_apply:force" \
1389 # "main_apply:clicked"
1390 # check 0 "" \
1391 # "main_cancel:force"
1393 # check_rm $FIN
1394 # check_rm $FOUT
1395 # check_cmd "! ps -p `cat $PID_FILE` >/dev/null"
1396 # rm $PID_FILE
1399 # ./pipeglade -u simple_dialog.ui -i $FIN -o $FOUT &
1401 # # wait for $FIN and $FOUT to appear
1402 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1404 # check 1 "" \
1405 # "button1:force" \
1406 # "button1:clicked"
1407 # check 1 "" \
1408 # "main_ok:force" \
1409 # "main_ok:clicked"
1411 # check_rm $FIN
1412 # check_rm $FOUT
1415 # ./pipeglade -u simple_open.ui -i $FIN -o $FOUT &
1417 # # wait for $FIN and $FOUT to appear
1418 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1420 # check 3 "" \
1421 # "main_apply:force" \
1422 # "main_apply:clicked" \
1423 # "main:file" \
1424 # "main:folder"
1425 # check 0 "" \
1426 # "main_cancel:force"
1428 # check_rm $FIN
1429 # check_rm $FOUT
1432 # ./pipeglade -u simple_open.ui -i $FIN -o $FOUT &
1434 # # wait for $FIN and $FOUT to appear
1435 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1437 # check 2 "" \
1438 # "main_ok:force" \
1439 # "main_ok:clicked" \
1440 # "main:file" \
1441 # "main:folder"
1443 # check_rm $FIN
1444 # check_rm $FOUT
1447 # mkfifo -m 777 $FIN
1448 # mkfifo -m 777 $FOUT
1449 # ./pipeglade -i $FIN -o $FOUT &
1450 # check_cmd "$STAT_CMD $FIN | grep '600$'"
1451 # check_cmd "$STAT_CMD $FOUT | grep '600$'"
1452 # echo -e "_:main_quit" > $FIN
1453 # check_rm $FIN
1454 # check_rm $FOUT
1456 # ./pipeglade -i $FIN -o $FOUT &
1458 # # wait for $FIN and $FOUT to appear
1459 # while test ! \( -e $FIN -a -e $FOUT \); do :; done
1461 # check_cmd "$STAT_CMD $FIN | grep '600$'"
1462 # check_cmd "$STAT_CMD $FOUT | grep '600$'"
1463 # echo -e "_:main_quit" > $FIN
1464 # check_rm $FIN
1465 # check_rm $FOUT
1468 echo "#### # Initial line to check if -l option appends" >$LOG
1469 LC_NUMERIC=de_DE.UTF-8 ./pipeglade -i $FIN -o $FOUT -l $LOG &
1471 # wait for $FIN and $FOUT to appear
1472 while test ! \( -e $FIN -a -e $FOUT \); do :; done
1474 # check 0 "" \
1475 # "socket1:id"
1476 # read XID <$FOUT
1477 # XID=${XID/socket1:id }
1478 # (sleep .5; ./pipeglade -u simple_dialog.ui -e $XID <<< "main_cancel:force") &
1479 # check 2 "" \
1480 # "" \
1481 # "socket1:plug-added" \
1482 # "socket1:plug-removed"
1483 # (sleep .5; ./pipeglade -u simple_dialog.ui -e $XID <<< "main_cancel:force") &
1484 # check 2 "" \
1485 # "" \
1486 # "socket1:plug-added" \
1487 # "socket1:plug-removed"
1489 # check 1 "" \
1490 # "entry1:set_text FFFF" \
1491 # "entry1:text FFFF"
1492 # check 1 "" \
1493 # "entry1:set_text" \
1494 # "entry1:text"
1495 # check 1 "" \
1496 # "entry1:set_text FFFF" \
1497 # "entry1:text FFFF"
1498 # check 1 "" \
1499 # "entry1:set_text " \
1500 # "entry1:text"
1501 # check 0 "" \
1502 # "entry1:set_placeholder_text hint hint" # not much of a test
1503 # check 1 "" \
1504 # "entry1:set_text FFFF" \
1505 # "entry1:text FFFF"
1506 # check 1 "" \
1507 # "entry1:set_text GGGG" \
1508 # "entry1:text GGGG"
1509 # check 1 "" \
1510 # "entry1:force" \
1511 # "entry1:text GGGG"
1512 # check 2 "" \
1513 # "spinbutton1:set_text 33.0\n spinbutton1:set_range 50 60\n" \
1514 # "spinbutton1:text 33.0" \
1515 # "spinbutton1:text 50.0"
1516 # check 2 "" \
1517 # "radiobutton2:set_active 1" \
1518 # "radiobutton1:0" \
1519 # "radiobutton2:1"
1520 # check 2 "" \
1521 # "radiobutton1:set_active 1" \
1522 # "radiobutton2:0" \
1523 # "radiobutton1:1"
1524 # check 1 "" \
1525 # "switch1:set_active 1" \
1526 # "switch1:1"
1527 # check 1 "" \
1528 # "switch1:set_active 0" \
1529 # "switch1:0"
1530 # check 1 "" \
1531 # "togglebutton1:set_active 1" \
1532 # "togglebutton1:1"
1533 # check 1 "" \
1534 # "calendar1:select_date 1752-03-29" \
1535 # "calendar1:clicked 1752-03-29"
1536 # check 0 "" \
1537 # "progressbar1:set_text This Is A Progressbar."
1539 # L=$(i=0
1540 # while (( i<100 )); do
1541 # (( i+=1 ))
1542 # echo -n "Repetitive input that is large enough to have the realloc() machinery kick in.---"
1543 # done)
1544 # check 1 "" \
1545 # "entry1:set_text $L" \
1546 # "entry1:text $L"
1548 # check 1 "Open what should now be named \"EXPANDER\" and click the \"button inside expander\"" \
1549 # "expander1:set_expanded 0\n expander1:set_label EXPANDER" \
1550 # "button6:clicked"
1551 # check 0 "" \
1552 # "expander1:set_expanded 0"
1554 # check 12 "" \
1555 # "treeview2:set_visible 0\n treeview1:set 2 0 1\n treeview1:set 2 1 -30000\n treeview1:set 2 2 66\n treeview1:set 2 3 -2000000000\n treeview1:set 2 4 4000000000\n treeview1:set 2 5 -2000000000\n treeview1:set 2 6 4000000000\n treeview1:set 2 7 3.141\n treeview1:set 2 8 3.141\n treeview1:set 2 9 TEXT\n treeview1:set_cursor 2" \
1556 # "treeview1:clicked" \
1557 # "treeview1:gboolean 2 0 1" \
1558 # "treeview1:gint 2 1 -30000" \
1559 # "treeview1:guint 2 2 66" \
1560 # "treeview1:glong 2 3 -2000000000" \
1561 # "treeview1:glong 2 4 4000000000" \
1562 # "treeview1:glong 2 5 -2000000000" \
1563 # "treeview1:gulong 2 6 4000000000" \
1564 # "treeview1:gfloat 2 7 3.141000" \
1565 # "treeview1:gdouble 2 8 3.141000" \
1566 # "treeview1:gchararray 2 9 TEXT" \
1567 # "treeview1:gchararray 2 10 zzz"
1568 # mkdir -p $DIR
1569 # check 0 "" \
1570 # "treeview1:save $DIR/$FILE1"
1571 # check 0 "" \
1572 # "treeview1:save $DIR/$FILE1.bak"
1573 # check 1 "" \
1574 # "treeview1:set_cursor" \
1575 # "treeview1:clicked"
1576 # check 12 "" \
1577 # "treeview1:insert_row 0\n treeview1:insert_row 2\n treeview1:set_cursor 4" \
1578 # "treeview1:clicked" \
1579 # "treeview1:gboolean 4 0 1" \
1580 # "treeview1:gint 4 1 -30000" \
1581 # "treeview1:guint 4 2 66" \
1582 # "treeview1:glong 4 3 -2000000000" \
1583 # "treeview1:glong 4 4 4000000000" \
1584 # "treeview1:glong 4 5 -2000000000" \
1585 # "treeview1:gulong 4 6 4000000000" \
1586 # "treeview1:gfloat 4 7 3.141000" \
1587 # "treeview1:gdouble 4 8 3.141000" \
1588 # "treeview1:gchararray 4 9 TEXT" \
1589 # "treeview1:gchararray 4 10 zzz"
1590 # check 1 "" \
1591 # "treeview1:set_cursor" \
1592 # "treeview1:clicked"
1593 # check 12 "" \
1594 # "treeview1:move_row 4 0\n treeview1:set_cursor 0" \
1595 # "treeview1:clicked" \
1596 # "treeview1:gboolean 0 0 1" \
1597 # "treeview1:gint 0 1 -30000" \
1598 # "treeview1:guint 0 2 66" \
1599 # "treeview1:glong 0 3 -2000000000" \
1600 # "treeview1:glong 0 4 4000000000" \
1601 # "treeview1:glong 0 5 -2000000000" \
1602 # "treeview1:gulong 0 6 4000000000" \
1603 # "treeview1:gfloat 0 7 3.141000" \
1604 # "treeview1:gdouble 0 8 3.141000" \
1605 # "treeview1:gchararray 0 9 TEXT" \
1606 # "treeview1:gchararray 0 10 zzz"
1607 # check 1 "" \
1608 # "treeview1:set_cursor" \
1609 # "treeview1:clicked"
1610 # check 12 "" \
1611 # "treeview1:move_row 0 2\n treeview1:set_cursor 1" \
1612 # "treeview1:clicked" \
1613 # "treeview1:gboolean 1 0 1" \
1614 # "treeview1:gint 1 1 -30000" \
1615 # "treeview1:guint 1 2 66" \
1616 # "treeview1:glong 1 3 -2000000000" \
1617 # "treeview1:glong 1 4 4000000000" \
1618 # "treeview1:glong 1 5 -2000000000" \
1619 # "treeview1:gulong 1 6 4000000000" \
1620 # "treeview1:gfloat 1 7 3.141000" \
1621 # "treeview1:gdouble 1 8 3.141000" \
1622 # "treeview1:gchararray 1 9 TEXT" \
1623 # "treeview1:gchararray 1 10 zzz"
1624 # check 1 "" \
1625 # "treeview1:set_cursor" \
1626 # "treeview1:clicked"
1627 # check 12 "" \
1628 # "treeview1:insert_row end\n treeview1:move_row 1 end\n treeview1:set_cursor 6" \
1629 # "treeview1:clicked" \
1630 # "treeview1:gboolean 6 0 1" \
1631 # "treeview1:gint 6 1 -30000" \
1632 # "treeview1:guint 6 2 66" \
1633 # "treeview1:glong 6 3 -2000000000" \
1634 # "treeview1:glong 6 4 4000000000" \
1635 # "treeview1:glong 6 5 -2000000000" \
1636 # "treeview1:gulong 6 6 4000000000" \
1637 # "treeview1:gfloat 6 7 3.141000" \
1638 # "treeview1:gdouble 6 8 3.141000" \
1639 # "treeview1:gchararray 6 9 TEXT" \
1640 # "treeview1:gchararray 6 10 zzz"
1641 # check 1 "" \
1642 # "treeview1:set_cursor" \
1643 # "treeview1:clicked"
1644 # check 12 "" \
1645 # "treeview1:remove_row 0\n treeview1:remove_row 2\n treeview1:set_cursor 4" \
1646 # "treeview1:clicked" \
1647 # "treeview1:gboolean 4 0 1" \
1648 # "treeview1:gint 4 1 -30000" \
1649 # "treeview1:guint 4 2 66" \
1650 # "treeview1:glong 4 3 -2000000000" \
1651 # "treeview1:glong 4 4 4000000000" \
1652 # "treeview1:glong 4 5 -2000000000" \
1653 # "treeview1:gulong 4 6 4000000000" \
1654 # "treeview1:gfloat 4 7 3.141000" \
1655 # "treeview1:gdouble 4 8 3.141000" \
1656 # "treeview1:gchararray 4 9 TEXT" \
1657 # "treeview1:gchararray 4 10 zzz"
1658 # check 1 "" \
1659 # "treeview1:set_cursor" \
1660 # "treeview1:clicked"
1661 # check 12 "Click the 66% (move_row)" \
1662 # "treeview1:move_row 0 end\n treeview1:set_cursor 3" \
1663 # "treeview1:clicked" \
1664 # "treeview1:gboolean 3 0 1" \
1665 # "treeview1:gint 3 1 -30000" \
1666 # "treeview1:guint 3 2 66" \
1667 # "treeview1:glong 3 3 -2000000000" \
1668 # "treeview1:glong 3 4 4000000000" \
1669 # "treeview1:glong 3 5 -2000000000" \
1670 # "treeview1:gulong 3 6 4000000000" \
1671 # "treeview1:gfloat 3 7 3.141000" \
1672 # "treeview1:gdouble 3 8 3.141000" \
1673 # "treeview1:gchararray 3 9 TEXT" \
1674 # "treeview1:gchararray 3 10 zzz"
1675 # check 24 "" \
1676 # "treeview1:remove_row 3" \
1677 # "treeview1:clicked" \
1678 # "treeview1:gboolean 3 0 0" \
1679 # "treeview1:gint 3 1 0" \
1680 # "treeview1:guint 3 2 0" \
1681 # "treeview1:glong 3 3 0" \
1682 # "treeview1:glong 3 4 0" \
1683 # "treeview1:glong 3 5 0" \
1684 # "treeview1:gulong 3 6 0" \
1685 # "treeview1:gfloat 3 7 0.000000" \
1686 # "treeview1:gdouble 3 8 0.000000" \
1687 # "treeview1:gchararray 3 9 abc" \
1688 # "treeview1:gchararray 3 10 xxx" \
1689 # "treeview1:clicked" \
1690 # "treeview1:gboolean 3 0 0" \
1691 # "treeview1:gint 3 1 0" \
1692 # "treeview1:guint 3 2 0" \
1693 # "treeview1:glong 3 3 0" \
1694 # "treeview1:glong 3 4 0" \
1695 # "treeview1:glong 3 5 0" \
1696 # "treeview1:gulong 3 6 0" \
1697 # "treeview1:gfloat 3 7 0.000000" \
1698 # "treeview1:gdouble 3 8 0.000000" \
1699 # "treeview1:gchararray 3 9 abc" \
1700 # "treeview1:gchararray 3 10 xxx"
1701 # check 1 "Click column col4 in the lowest line visible in the scrolled area and type 444 <Enter> (scroll)" \
1702 # "treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:insert_row 2\n treeview1:scroll 24 0" \
1703 # "treeview1:gint 24 1 444"
1704 # check 12 "Click column col3 in the highest line visible in the scrolled area (scroll)" \
1705 # "treeview1:scroll 1 0" \
1706 # "treeview1:clicked" \
1707 # "treeview1:gboolean 1 0 1" \
1708 # "treeview1:gint 1 1 3" \
1709 # "treeview1:guint 1 2 0" \
1710 # "treeview1:glong 1 3 0" \
1711 # "treeview1:glong 1 4 0" \
1712 # "treeview1:glong 1 5 0" \
1713 # "treeview1:gulong 1 6 0" \
1714 # "treeview1:gfloat 1 7 0.000000" \
1715 # "treeview1:gdouble 1 8 0.000000" \
1716 # "treeview1:gchararray 1 9 jkl" \
1717 # "treeview1:gchararray 1 10 ZZZ"
1719 # check 1 "Click the header of column \"col3\"" \
1720 # "" \
1721 # "treeviewcolumn3:clicked"
1723 # check 2 "" \
1724 # "treeview1:clear\n button1:force" \
1725 # "treeview1:clicked" \
1726 # "button1:clicked"
1728 # check 12 "" \
1729 # "treeview2:set_visible 1\n treeview2:insert_row end\n treeview2:insert_row 0 as_child\n treeview2:insert_row 0:0 as_child\n treeview2:insert_row 0:0\n treeview2:set 100:1:0 0 1\n treeview2:set 100:1:0 1 -30000\n treeview2:set 100:1:0 2 33\n treeview2:set 100:1:0 3 -2000000000\n treeview2:set 100:1:0 4 4000000000\n treeview2:set 100:1:0 5 -2000000000\n treeview2:set 100:1:0 6 4000000000\n treeview2:set 100:1:0 7 3.141\n treeview2:set 100:1:0 8 3.141\n treeview2:set 100:1:0 9 TEXT\n treeview2:expand_all\n treeview2:set_cursor 100:1:0" \
1730 # "treeview2:clicked" \
1731 # "treeview2:gboolean 100:1:0 0 1" \
1732 # "treeview2:gint 100:1:0 1 -30000" \
1733 # "treeview2:guint 100:1:0 2 33" \
1734 # "treeview2:glong 100:1:0 3 -2000000000" \
1735 # "treeview2:glong 100:1:0 4 4000000000" \
1736 # "treeview2:glong 100:1:0 5 -2000000000" \
1737 # "treeview2:gulong 100:1:0 6 4000000000" \
1738 # "treeview2:gfloat 100:1:0 7 3.141000" \
1739 # "treeview2:gdouble 100:1:0 8 3.141000" \
1740 # "treeview2:gchararray 100:1:0 9 TEXT" \
1741 # "treeview2:gchararray 100:1:0 10"
1742 # check 1 "" \
1743 # "treeview2:set_cursor" \
1744 # "treeview2:clicked"
1745 # check 12 "" \
1746 # "treeview2:insert_row 0\n treeview2:insert_row 0\n treeview2:set 102:1 3 876543210\n treeview2:set 102 3 448822\n treeview2:collapse\n treeview2:set_cursor 102" \
1747 # "treeview2:clicked" \
1748 # "treeview2:gboolean 102 0 0" \
1749 # "treeview2:gint 102 1 0" \
1750 # "treeview2:guint 102 2 0" \
1751 # "treeview2:glong 102 3 448822" \
1752 # "treeview2:glong 102 4 0" \
1753 # "treeview2:glong 102 5 0" \
1754 # "treeview2:gulong 102 6 0" \
1755 # "treeview2:gfloat 102 7 0.000000" \
1756 # "treeview2:gdouble 102 8 0.000000" \
1757 # "treeview2:gchararray 102 9" \
1758 # "treeview2:gchararray 102 10"
1759 # check 1 "" \
1760 # "treeview2:set_cursor" \
1761 # "treeview2:clicked"
1762 # check 0 "" \
1763 # "treeview2:save $DIR/$FILE2"
1764 # check 0 "" \
1765 # "treeview2:save $DIR/$FILE2.bak"
1766 # check 12 "" \
1767 # "treeview2:insert_row 0\n treeview2:collapse\n treeview2:set_cursor 103" \
1768 # "treeview2:clicked" \
1769 # "treeview2:gboolean 103 0 0" \
1770 # "treeview2:gint 103 1 0" \
1771 # "treeview2:guint 103 2 0" \
1772 # "treeview2:glong 103 3 448822" \
1773 # "treeview2:glong 103 4 0" \
1774 # "treeview2:glong 103 5 0" \
1775 # "treeview2:gulong 103 6 0" \
1776 # "treeview2:gfloat 103 7 0.000000" \
1777 # "treeview2:gdouble 103 8 0.000000" \
1778 # "treeview2:gchararray 103 9" \
1779 # "treeview2:gchararray 103 10"
1780 # check 1 "" \
1781 # "treeview2:set_cursor" \
1782 # "treeview2:clicked"
1783 # check 12 "Click the lowest line visible in the scrolled area (1)" \
1784 # "treeview2:expand_all 103\n treeview2:scroll 103:1:0 0" \
1785 # "treeview2:clicked" \
1786 # "treeview2:gboolean 103:1:0 0 1" \
1787 # "treeview2:gint 103:1:0 1 -30000" \
1788 # "treeview2:guint 103:1:0 2 33" \
1789 # "treeview2:glong 103:1:0 3 -2000000000" \
1790 # "treeview2:glong 103:1:0 4 4000000000" \
1791 # "treeview2:glong 103:1:0 5 -2000000000" \
1792 # "treeview2:gulong 103:1:0 6 4000000000" \
1793 # "treeview2:gfloat 103:1:0 7 3.141000" \
1794 # "treeview2:gdouble 103:1:0 8 3.141000" \
1795 # "treeview2:gchararray 103:1:0 9 TEXT" \
1796 # "treeview2:gchararray 103:1:0 10"
1797 # check 1 "" \
1798 # "treeview2:set_cursor" \
1799 # "treeview2:clicked"
1800 # check 12 "Click the lowest visible line (2)" \
1801 # "treeview2:collapse\n treeview2:expand 103\n treeview2:scroll 103:1 0" \
1802 # "treeview2:clicked" \
1803 # "treeview2:gboolean 103:1 0 0" \
1804 # "treeview2:gint 103:1 1 0" \
1805 # "treeview2:guint 103:1 2 0" \
1806 # "treeview2:glong 103:1 3 876543210" \
1807 # "treeview2:glong 103:1 4 0" \
1808 # "treeview2:glong 103:1 5 0" \
1809 # "treeview2:gulong 103:1 6 0" \
1810 # "treeview2:gfloat 103:1 7 0.000000" \
1811 # "treeview2:gdouble 103:1 8 0.000000" \
1812 # "treeview2:gchararray 103:1 9" \
1813 # "treeview2:gchararray 103:1 10"
1814 # check 1 "" \
1815 # "treeview2:set_cursor" \
1816 # "treeview2:clicked"
1817 # check 12 "Click the lowest visible line (3)" \
1818 # "treeview2:collapse\n treeview2:expand_all\n treeview2:scroll 103:1:0 0" \
1819 # "treeview2:clicked" \
1820 # "treeview2:gboolean 103:1:0 0 1" \
1821 # "treeview2:gint 103:1:0 1 -30000" \
1822 # "treeview2:guint 103:1:0 2 33" \
1823 # "treeview2:glong 103:1:0 3 -2000000000" \
1824 # "treeview2:glong 103:1:0 4 4000000000" \
1825 # "treeview2:glong 103:1:0 5 -2000000000" \
1826 # "treeview2:gulong 103:1:0 6 4000000000" \
1827 # "treeview2:gfloat 103:1:0 7 3.141000" \
1828 # "treeview2:gdouble 103:1:0 8 3.141000" \
1829 # "treeview2:gchararray 103:1:0 9 TEXT" \
1830 # "treeview2:gchararray 103:1:0 10"
1831 # check 1 "" \
1832 # "treeview2:set_cursor" \
1833 # "treeview2:clicked"
1834 # check 12 "Click the lowest visible line (4)" \
1835 # "treeview2:expand_all\n treeview2:collapse 103:1\n treeview2:scroll 103:1 0" \
1836 # "treeview2:clicked" \
1837 # "treeview2:gboolean 103:1 0 0" \
1838 # "treeview2:gint 103:1 1 0" \
1839 # "treeview2:guint 103:1 2 0" \
1840 # "treeview2:glong 103:1 3 876543210" \
1841 # "treeview2:glong 103:1 4 0" \
1842 # "treeview2:glong 103:1 5 0" \
1843 # "treeview2:gulong 103:1 6 0" \
1844 # "treeview2:gfloat 103:1 7 0.000000" \
1845 # "treeview2:gdouble 103:1 8 0.000000" \
1846 # "treeview2:gchararray 103:1 9" \
1847 # "treeview2:gchararray 103:1 10"
1848 # check 1 "" \
1849 # "treeview2:set_cursor" \
1850 # "treeview2:clicked"
1852 # check 12 "" \
1853 # "treeview1:clear\n treeview1:set 1 9 ABC\\\\nDEF\\\\nGHI\n treeview1:set_cursor 1" \
1854 # "treeview1:clicked" \
1855 # "treeview1:gboolean 1 0 0" \
1856 # "treeview1:gint 1 1 0" \
1857 # "treeview1:guint 1 2 0" \
1858 # "treeview1:glong 1 3 0" \
1859 # "treeview1:glong 1 4 0" \
1860 # "treeview1:glong 1 5 0" \
1861 # "treeview1:gulong 1 6 0" \
1862 # "treeview1:gfloat 1 7 0.000000" \
1863 # "treeview1:gdouble 1 8 0.000000" \
1864 # "treeview1:gchararray 1 9 ABCnDEFnGHI" \
1865 # "treeview1:gchararray 1 10"
1867 # check 0 "" \
1868 # "treeview1:clear\n treeview2:clear"
1869 # check 0 "" \
1870 # "_:load $DIR/$FILE1"
1871 # rm -f $DIR/$FILE1
1872 # sleep .5
1873 # check 1 "" \
1874 # "treeview1:save $DIR/$FILE1\n button1:force" \
1875 # "button1:clicked"
1876 # check_cmd "cmp $DIR/$FILE1 $DIR/$FILE1.bak"
1877 # check 0 "" \
1878 # "treeview1:clear\n treeview2:clear"
1879 # check 0 "" \
1880 # "_:load $DIR/$FILE2"
1881 # sleep .5
1882 # rm -f $DIR/$FILE2
1883 # sleep .5
1884 # check 1 "" \
1885 # "treeview2:save $DIR/$FILE2\n button1:force" \
1886 # "button1:clicked"
1887 # check_cmd "cmp $DIR/$FILE2 $DIR/$FILE2.bak"
1888 # cat >$DIR/$FILE3 <<< "_:load $DIR/$FILE1.bak"
1889 # cat >>$DIR/$FILE3 <<< "_:load $DIR/$FILE2.bak"
1890 # cat >$DIR/$FILE4 <<< "_:load $DIR/$FILE3"
1891 # cat >$DIR/$FILE5 <<< "_:load $DIR/$FILE4"
1892 # cat >$DIR/$FILE6 <<< "_:load $DIR/$FILE5"
1893 # rm -f $DIR/$FILE1 $DIR/$FILE2
1894 # sleep .5
1895 # check 0 "" \
1896 # "treeview1:clear\n treeview2:clear"
1897 # check 0 "" \
1898 # "_:load $DIR/$FILE6"
1899 # rm -f $DIR/$FILE1 $DIR/$FILE2
1900 # sleep .5
1901 # check 1 "" \
1902 # "treeview1:save $DIR/$FILE1\n treeview2:save $DIR/$FILE2\n button1:force" \
1903 # "button1:clicked"
1904 # check_cmd "cmp $DIR/$FILE1 $DIR/$FILE1.bak"
1905 # check_cmd "cmp $DIR/$FILE2 $DIR/$FILE2.bak"
1906 # rm -rf $DIR
1907 # check 0 "" \
1908 # "treeview2:clear\n treeview2:set 2 0 1"
1910 # check 1 "Click the header of column \"col23\"" \
1911 # "" \
1912 # "treeviewcolumn23:clicked"
1914 # check 0 "" \
1915 # "notebook1:set_current_page 2"
1916 # check 1 "" \
1917 # "nonexistent_send_text:force" \
1918 # "nonexistent_send_text:clicked"
1919 # check 1 "" \
1920 # "nonexistent_send_selection:force" \
1921 # "nonexistent_send_selection:clicked"
1922 # check 1 "" \
1923 # "nonexistent_ok:force" \
1924 # "nonexistent_ok:clicked"
1925 # check 1 "" \
1926 # "nonexistent_apply:force" \
1927 # "nonexistent_apply:clicked"
1928 # check 1 "" \
1929 # "nonexistent_cancel:force" \
1930 # "nonexistent_cancel:clicked"
1931 # check 0 "" \
1932 # "notebook1:set_current_page 1"
1933 # check 1 "" \
1934 # "textview1_send_text:force" \
1935 # "textview1_send_text:text some textnetcn"
1936 # check 1 "" \
1937 # "textview1:place_cursor 5\n textview1:insert_at_cursor MORE \n textview1_send_text:force" \
1938 # "textview1_send_text:text some MORE textnetcn"
1939 # check 1 "" \
1940 # "textview1:place_cursor_at_line 1\n textview1:insert_at_cursor ETC \n textview1_send_text:force" \
1941 # "textview1_send_text:text some MORE textnETC etcn"
1942 # mkdir -p $DIR
1943 # check 1 "" \
1944 # "textview1:save $DIR/$FILE1\n button1:force" \
1945 # "button1:clicked"
1946 # i=0
1947 # while (( i<2000 )); do
1948 # (( i+=1 ))
1949 # cat $DIR/$FILE1 >> $DIR/$FILE2
1950 # done
1951 # i=0
1952 # while (( i<2000 )); do
1953 # (( i+=1 ))
1954 # echo "textview2:insert_at_cursor ##### THIS IS LINE $i.\\n" >> $DIR/$FILE3
1955 # done
1956 # check 0 "" \
1957 # "_:load $DIR/$FILE2"
1958 # check 0 "" \
1959 # "textview1:save $DIR/$FILE1"
1960 # check 0 "" \
1961 # "textview1:save $DIR/$FILE1"
1962 # check 0 "" \
1963 # "textview1:delete"
1964 # check 0 "" \
1965 # "textview2:delete"
1966 # check 0 "" \
1967 # "_:load $DIR/$FILE3"
1968 # check 0 "" \
1969 # "_:load $DIR/$FILE1"
1970 # check 0 "" \
1971 # "textview2:save $DIR/$FILE3"
1972 # check 1 "" \
1973 # "textview1:save $DIR/$FILE2\n button1:force" \
1974 # "button1:clicked"
1975 # check_cmd "cmp $DIR/$FILE1 $DIR/$FILE2"
1976 # echo "textview1:insert_at_cursor I'm a text containing backslashes:\\nONE\\\\\nTWO\\\\\\\\\\nTHREE\\\\\\\\\\\\\\nEnd" > $DIR/$FILE1
1977 # check 0 "" \
1978 # "textview1:delete\n _:load $DIR/$FILE1"
1979 # check 1 "" \
1980 # "textview1:save $DIR/$FILE1\n textview1:save $DIR/$FILE2\n textview1:delete\n _:load $DIR/$FILE1\n button1:force" \
1981 # "button1:clicked"
1982 # rm $DIR/$FILE1
1983 # sleep .5
1984 # check 1 "" \
1985 # "textview1:save $DIR/$FILE1\n button1:force" \
1986 # "button1:clicked"
1987 # check_cmd "test 96 = `wc -c $DIR/$FILE1 | awk '{print $1}'`"
1988 # check_cmd "cmp $DIR/$FILE1 $DIR/$FILE2"
1989 # check 1 "" \
1990 # "textview1:delete\n textview1_send_text:force" \
1991 # "textview1_send_text:text"
1992 # check 1 "Highlight the lowest visible character and press \"send_selection\"" \
1993 # "textview1:place_cursor_at_line 1 \ntextview1:insert_at_cursor A\\\\nB\\\\nC\\\\nD\\\\nE\\\\nF\\\\nG\\\\nH\\\\nI\\\\nJ\\\\nK\\\\nL\\\\nM\\\\nN\\\\nO\\\\nP\\\\nQ\\\\nR\\\\nS\\\\nT\\\\nU\\\\nV\\\\nW\\\\nX\\\\nY\\\\nZ\\\\na\\\\nb\\\\nc\\\\nd\\\\ne\\\\nf\\\\ng\\\\nh\\\\ni\\\\nj\\\\nk\\\\nl\\\\nm\\\\nn\\\\no\\\\np\\\\nq\\\\nr\\\\ns\\\\nt\\\\nu\\\\nv\\\\nw\\\\nx\\\\ny\\\\nz \n textview1:place_cursor_at_line 46 \n textview1:scroll_to_cursor" \
1994 # "textview1_send_selection:text u"
1995 # check 1 "Again, highlight the lowest visible character and press \"send_selection\"" \
1996 # "textview1:place_cursor end\n textview1:scroll_to_cursor" \
1997 # "textview1_send_selection:text z"
1998 # check 1 "Highlight the highest visible character and press \"send_selection\"" \
1999 # "textview1:place_cursor 0 \n textview1:scroll_to_cursor" \
2000 # "textview1_send_selection:text A"
2001 # check 1 "" \
2002 # "treeview2:set 100:10:5 2 8888888\n treeview2:save $DIR/$FILE1\n textview2:save $DIR/$FILE2\n button1:force" \
2003 # "button1:clicked"
2004 # cp $DIR/$FILE1 $DIR/$FILE4
2005 # check_cmd "cmp $DIR/$FILE2 $DIR/$FILE3"
2006 # check 1 "" \
2007 # "treeview2:clear\n textview2:delete\n _:load $DIR/$FILE1\n _:load $DIR/$FILE2\n button1:force" \
2008 # "button1:clicked"
2009 # rm $DIR/$FILE1 $DIR/$FILE2
2010 # sleep .5
2011 # check 1 "" \
2012 # "treeview2:save $DIR/$FILE1\n textview2:save $DIR/$FILE2\n button1:force" \
2013 # "button1:clicked"
2014 # check_cmd "cmp $DIR/$FILE1 $DIR/$FILE4"
2015 # check_cmd "cmp $DIR/$FILE2 $DIR/$FILE3"
2016 # rm -rf $DIR
2017 # sleep .5
2018 # check 2 "" \
2019 # "scale1:set_value 10\n scale1:set_increments 5 20\n scale1:force" \
2020 # "scale1:value 10.000000" \
2021 # "scale1:value 10.000000"
2022 # check 2 "" \
2023 # "scale1:set_range 20 22\n scale1:set_value 10\n scale1:set_value 100" \
2024 # "scale1:value 20.000000" \
2025 # "scale1:value 22.000000"
2026 # check 1 "" \
2027 # "scale1:set_fill_level\n scale1:set_fill_level 20.5\n scale1:set_value 21.3" \
2028 # "scale1:value 21.300000"
2029 # check 6 "" \
2030 # "open_dialog:set_filename q.png\n file:force\n open_dialog_invoke:force\n open_dialog_apply:force\n open_dialog_ok:force" \
2031 # "file:active _File" \
2032 # "open_dialog_apply:clicked" \
2033 # "open_dialog:file $PWD/q.png" \
2034 # "open_dialog:folder $PWD" \
2035 # "open_dialog_ok:clicked" \
2036 # "open_dialog:file $PWD/q.png" \
2037 # "open_dialog:folder $PWD"
2038 # check 2 "" \
2039 # "file:force\n open_dialog_invoke:force\n open_dialog_cancel:force" \
2040 # "file:active _File" \
2041 # "open_dialog_cancel:clicked"
2042 # check 3 "" \
2043 # "save_as_dialog:set_current_name /somewhere/crazy_idea\n file:force\n save_as_dialog_invoke:force\n save_as_dialog_ok:force" \
2044 # "file:active _File" \
2045 # "save_as_dialog_ok:clicked" \
2046 # "save_as_dialog:file /somewhere/crazy_idea" \
2047 # "save_as_dialog:folder"
2048 # check 1 "" \
2049 # "nonexistent_invoke:force" \
2050 # "nonexistent_invoke:active nonexistent"
2051 # check 1 "Press the \"button\" which should now be renamed \"OK\"" \
2052 # "button1:set_label OK" \
2053 # "button1:clicked"
2054 # check 1 "Press the \"togglebutton\" which should now be renamed \"on/off\"" \
2055 # "togglebutton1:set_label on/off" \
2056 # "togglebutton1:0"
2057 # check 1 "" \
2058 # "togglebutton1:force" \
2059 # "togglebutton1:1"
2060 # check 1 "Press the \"checkbutton\" which should now be renamed \"REGISTER\"" \
2061 # "checkbutton1:set_label REGISTER" \
2062 # "checkbutton1:1"
2063 # check 1 "" \
2064 # "checkbutton1:force" \
2065 # "checkbutton1:0"
2066 # check 2 "Press the \"radiobutton\" which should now be renamed \"RADIO\"" \
2067 # "radiobutton2:set_label RADIO" \
2068 # "radiobutton1:0" \
2069 # "radiobutton2:1"
2070 # check 2 "" \
2071 # "radiobutton1:force" \
2072 # "radiobutton2:0" \
2073 # "radiobutton1:1"
2074 # check 1 "Click the widget whose label font is now Bold Italic 20" \
2075 # "switch1:style font:Bold Italic 20" \
2076 # "switch1:1"
2077 # check 1 "Click the widget whose label has turned red" \
2078 # "switch1:style color:red" \
2079 # "switch1:0"
2080 # check 1 "Click the widget whose background has turned yellow" \
2081 # "checkbutton1:style background-color:yellow" \
2082 # "checkbutton1:1"
2083 # check 1 "Press \"OK\" if font and colors changed in previous steps are back to normal\n switch1:style" \
2084 # "checkbutton1:style" \
2085 # "button1:clicked"
2086 # check 1 "" \
2087 # "switch1:force" \
2088 # "switch1:1"
2089 # check 1 "Press \"OK\" if the \"lorem ipsum dolor ...\" text inside \"frame1\" now reads \"LABEL\"" \
2090 # "label1:set_text LABEL" \
2091 # "button1:clicked"
2092 # check 1 "Press \"OK\" if the label of the frame around \"LABEL\" now reads \"LOREM IPSUM\"" \
2093 # "frame1:set_label LOREM IPSUM" \
2094 # "button1:clicked"
2095 # check 1 "Press \"OK\" if the green dot has turned red" \
2096 # "image1:set_from_icon_name gtk-no" \
2097 # "button1:clicked"
2098 # check 1 "Press \"OK\" if the red dot has turned into a green \"Q\"" \
2099 # "image1:set_from_file q.png" \
2100 # "button1:clicked"
2101 # check 1 "Select \"FIRST\" from the combobox" \
2102 # "comboboxtext1:prepend_text FIRST" \
2103 # "comboboxtext1_entry:text FIRST"
2104 # check 1 "Select \"LAST\" from the combobox" \
2105 # "comboboxtext1:append_text LAST" \
2106 # "comboboxtext1_entry:text LAST"
2107 # check 1 "Select \"AVERAGE\" from the combobox" \
2108 # "comboboxtext1:insert_text 3 AVERAGE" \
2109 # "comboboxtext1_entry:text AVERAGE"
2110 # check 1 "Select the second entry from the combobox" \
2111 # "comboboxtext1:remove 0" \
2112 # "comboboxtext1_entry:text def"
2113 # check 2 "Left-click the \"+\" of the spinbutton" \
2114 # "spinbutton1:set_range 0 100\n spinbutton1:set_text 33" \
2115 # "spinbutton1:text 33.00" \
2116 # "spinbutton1:text 34.00"
2117 # check 1 "Left-click the \"+\" of the spinbutton again" \
2118 # "spinbutton1:set_increments 2 4" \
2119 # "spinbutton1:text 36.00"
2120 # check 1 "Middle-click the \"+\" of the spinbutton" \
2121 # "" \
2122 # "spinbutton1:text 40.00"
2123 # check 1 "" \
2124 # "spinbutton1:force" \
2125 # "spinbutton1:text 40.00"
2126 # check 1 "Using the file chooser button (now labelled \"etc\"), select \"File System\" (= \"/\")" \
2127 # "filechooserbutton1:set_filename /etc/" \
2128 # "filechooserbutton1:file /"
2129 # check 1 "" \
2130 # "filechooserbutton1:force" \
2131 # "filechooserbutton1:file /"
2132 # check 1 "Click \"Select\"\n fontbutton1:set_font_name Sans Bold 40" \
2133 # "fontbutton1:force" \
2134 # "fontbutton1:font Sans Bold 40"
2135 # check 1 "Click \"Select\" (1)\n colorbutton1:set_color yellow" \
2136 # "colorbutton1:force" \
2137 # "colorbutton1:color rgb(255,255,0)"
2138 # check 1 "Click \"Select\" (2)\n colorbutton1:set_color rgb(0,255,0)" \
2139 # "colorbutton1:force" \
2140 # "colorbutton1:color rgb(0,255,0)"
2141 # check 1 "Click \"Select\" (3)\n colorbutton1:set_color #00f" \
2142 # "colorbutton1:force" \
2143 # "colorbutton1:color rgb(0,0,255)"
2144 # check 1 "Click \"Select\" (4)\n colorbutton1:set_color #ffff00000000" \
2145 # "colorbutton1:force" \
2146 # "colorbutton1:color rgb(255,0,0)"
2147 # check 1 "Click \"Select\" (5)\n colorbutton1:set_color rgba(0,255,0,.5)" \
2148 # "colorbutton1:force" \
2149 # "colorbutton1:color rgba(0,255,0,0.5)"
2150 # check 1 "Close the dialog by hitting Escape" \
2151 # "printdialog:print nonexistent.ps" \
2152 # "printdialog:closed"
2153 # check 1 "Press \"OK\" if both 1752-03-13 and 1752-03-14 are marked on the calendar" \
2154 # "calendar1:mark_day 13\n calendar1:mark_day 14" \
2155 # "button1:clicked"
2156 # check 1 "Press \"OK\" if 1752-03-13 and 1752-03-14 are no longer marked on the calendar" \
2157 # "calendar1:clear_marks" \
2158 # "button1:clicked"
2159 # check 3 "Hover over the calendar and do what the tooltip says" \
2160 # "calendar1:set_tooltip_text Double-click on 1752-03-13" \
2161 # "calendar1:clicked 1752-03-13" \
2162 # "calendar1:clicked 1752-03-13" \
2163 # "calendar1:doubleclicked 1752-03-13"
2164 # check 0 "" \
2165 # "calendar1:set_tooltip_text"
2166 # check 1 "" \
2167 # "calendar1:force" \
2168 # "calendar1:clicked 1752-03-13"
2170 check 0 "" \
2171 "drawingarea1:transform =100 1 0 0 1 0 0"
2172 check 0 "" \
2173 "drawingarea1:set_source_rgba =101 green"
2174 check 0 "" \
2175 "drawingarea1:set_source_rgba =102 red"
2176 check 0 "" \
2177 "drawingarea1:rectangle =1 0 0 150 150\n drawingarea1:fill 1"
2178 check 0 "" \
2179 "drawingarea1:remove 1\n drawingarea1:remove 2\n drawingarea1:remove 3\n drawingarea1:remove 4"
2180 check 0 "" \
2181 "drawingarea1:rectangle 1 0 0 150 150\n drawingarea1:fill 1"
2182 check 0 "" \
2183 "drawingarea1:arc 1 80 80 60 30 60\n drawingarea1:set_source_rgba 1 red\n drawingarea1:stroke_preserve 1\n drawingarea1:line_to 1 80 80\n drawingarea1:fill 1"
2184 check 0 "" \
2185 "drawingarea1:arc_negative 1 80 80 70 30 60\n drawingarea1:set_source_rgba 1 green\n drawingarea1:stroke_preserve 1\n drawingarea1:rel_line_to 1 -50 -50\n drawingarea1:stroke 1"
2186 check 0 "" \
2187 "drawingarea1:curve_to 1 30 30 90 120 120 30\n drawingarea1:set_source_rgba 1 blue\n drawingarea1:stroke 1"
2188 check 0 "" \
2189 "drawingarea1:move_to 1 160 160\n drawingarea1:rel_curve_to 1 30 30 90 120 120 30\n drawingarea1:set_source_rgba 1 orange\n drawingarea1:stroke_preserve 1"
2190 check 0 "" \
2191 "drawingarea1:move_to 1 0 0\n drawingarea1:rel_move_to 1 0 155\n drawingarea1:rel_line_to 1 300 0\n drawingarea1:set_dash 1 10\n drawingarea1:stroke 1"
2192 check 0 "" \
2193 "drawingarea1:move_to 1 0 160\n drawingarea1:rel_line_to 1 300 0\n drawingarea1:set_dash 1 20 5\n drawingarea1:stroke 1"
2194 check 0 "" \
2195 "drawingarea1:move_to 1 0 165\n drawingarea1:rel_line_to 1 300 0\n drawingarea1:set_dash 1 5 20\n drawingarea1:stroke 1"
2196 check 0 "" \
2197 "drawingarea1:move_to 1 0 170\n drawingarea1:rel_line_to 1 300 0\n drawingarea1:set_dash 1 3 3 3 3 3 15\n drawingarea1:stroke 1"
2198 check 0 "" \
2199 "drawingarea1:set_dash 1"
2200 check 0 "" \
2201 "drawingarea1:set_source_rgba 103 brown\n drawingarea1:set_line_width 1 15"
2202 check 1 "Press \"OK\" if the brown shape is rounded" \
2203 "drawingarea1:set_line_join 2 round\n drawingarea1:set_line_cap 2 round\n drawingarea1:move_to 1 160 20\n drawingarea1:rel_line_to 1 20 0\n drawingarea1:rel_line_to 1 0 20\n drawingarea1:stroke 1" \
2204 "button1:clicked"
2205 check 1 "Press \"OK\" if the second brown shape is shorter and bevelled and the square is mostly blue" \
2206 "drawingarea1:set_line_join 3 bevel\n drawingarea1:set_line_cap 3 butt\n drawingarea1:move_to 1 160 70\n drawingarea1:rel_line_to 1 20 0\n drawingarea1:rel_line_to 1 0 20\n drawingarea1:stroke 1\n drawingarea1:set_source_rgba =102 blue" \
2207 "button1:clicked"
2208 check 1 "Press \"OK\" if the third brown shape is square everything is a bit smaller" \
2209 "drawingarea1:set_line_join 3 miter\n drawingarea1:set_line_cap 3 square\n drawingarea1:move_to 1 160 120\n drawingarea1:rel_line_to 1 20 0\n drawingarea1:rel_line_to 1 0 20\n drawingarea1:stroke 1\n drawingarea1:set_source_rgba =101 magenta\n drawingarea1:scale =100 .7 .7" \
2210 "button1:clicked"
2211 check 1 "Press \"OK\" if the first brown shape is no longer rounded and everything rotated a bit" \
2212 "drawingarea1:remove 2\n drawingarea1:rotate 105<100 10" \
2213 "button1:clicked"
2214 check 1 "Press \"OK\" if all three brown shapes look the same" \
2215 "drawingarea1:remove 3" \
2216 "button1:clicked"
2217 check 0 "" \
2218 "drawingarea1:move_to 5 50 50\n drawingarea1:line_to 5 200 10\n drawingarea1:line_to 5 150 200\n drawingarea1:close_path 1\n drawingarea1:set_source_rgba 5 rgba(0,255,0,.2)\n drawingarea1:fill_preserve 1"
2219 check 0 "" \
2220 "drawingarea1:move_to 5 10 50\n drawingarea1:set_source_rgba 5 cyan\n drawingarea1:set_font_size 5 30\n drawingarea1:show_text 5 Xyz 789\n drawingarea1:set_font_size 5 10\n drawingarea1:show_text 5 Abc 123"
2221 check 0 "" \
2222 "drawingarea1:move_to 5 10 75\n drawingarea1:set_source_rgba 5 red\n drawingarea1:set_font_face 5 italic bold Courier\n drawingarea1:set_font_size 5 30\n drawingarea1:show_text 5 Xyz 789\n drawingarea1:set_font_size 5 10\n drawingarea1:show_text 5 Abc 123"
2223 check 0 "" \
2224 "drawingarea1:remove 1\n drawingarea1:remove 2\n drawingarea1:remove 3\n drawingarea1:remove 4"
2226 check 0 "" \
2227 "drawingarea2:rotate 55<500 5\n drawingarea2:scale 33 .7 .7\n drawingarea2:translate 77 30 30\n drawingarea2:transform 44"
2228 check 0 "" \
2229 "drawingarea2:rectangle 1<500 0 0 150 150\n drawingarea2:fill 1"
2230 check 0 "" \
2231 "drawingarea2:arc 1 80 80 60 30 60\n drawingarea2:set_source_rgba 1 red\n drawingarea2:stroke_preserve 1\n drawingarea2:line_to 1 80 80\n drawingarea2:fill 1"
2232 check 0 "" \
2233 "drawingarea2:arc_negative 1 80 80 70 30 60\n drawingarea2:set_source_rgba 1 green\n drawingarea2:stroke_preserve 1\n drawingarea2:rel_line_to 1 -50 -50\n drawingarea2:stroke 1"
2234 check 0 "" \
2235 "drawingarea2:curve_to 1 30 30 90 120 120 30\n drawingarea2:set_source_rgba 1 blue\n drawingarea2:stroke 1"
2236 check 0 "" \
2237 "drawingarea2:move_to 1 160 160\n drawingarea2:rel_curve_to 1 30 30 90 120 120 30\n drawingarea2:set_source_rgba 1 orange\n drawingarea2:stroke_preserve 1"
2238 check 0 "" \
2239 "drawingarea2:move_to 1 0 0\n drawingarea2:rel_move_to 1 0 155\n drawingarea2:rel_line_to 1 300 0\n drawingarea2:set_dash 1 10\n drawingarea2:stroke 1"
2240 check 0 "" \
2241 "drawingarea2:move_to 1 0 160\n drawingarea2:rel_line_to 1 300 0\n drawingarea2:set_dash 1 20 5\n drawingarea2:stroke 1"
2242 check 0 "" \
2243 "drawingarea2:move_to 1 0 165\n drawingarea2:rel_line_to 1 300 0\n drawingarea2:set_dash 1 5 20\n drawingarea2:stroke 1"
2244 check 0 "" \
2245 "drawingarea2:move_to 1 0 170\n drawingarea2:rel_line_to 1 300 0\n drawingarea2:set_dash 1 3 3 3 3 3 15\n drawingarea2:stroke 1"
2246 check 0 "" \
2247 "drawingarea2:set_dash 1"
2248 check 0 "" \
2249 "drawingarea2:set_source_rgba 1 brown\n drawingarea2:set_line_width 1 15"
2250 check 0 "" \
2251 "drawingarea2:set_line_cap 2 round\n drawingarea2:move_to 1 160 20\n drawingarea2:rel_line_to 1 20 0\n drawingarea2:rel_line_to 1 0 20\n drawingarea2:stroke 1"
2252 check 0 "" \
2253 "drawingarea2:set_line_join 3 bevel\n drawingarea2:set_line_cap 3 butt\n drawingarea2:move_to 1 160 70\n drawingarea2:rel_line_to 1 20 0\n drawingarea2:rel_line_to 1 0 20\n drawingarea2:stroke 1"
2254 check 0 "" \
2255 "drawingarea2:set_line_join 3 miter\n drawingarea2:set_line_cap 3 square\n drawingarea2:move_to 1 160 120\n drawingarea2:rel_line_to 1 20 0\n drawingarea2:rel_line_to 1 0 20\n drawingarea2:stroke 1"
2256 check 0 "" \
2257 "drawingarea2:remove 2"
2258 check 0 "" \
2259 "drawingarea2:remove 3"
2260 check 1 "Press \"OK\" if the drawing looks tilted and displaced" \
2261 "drawingarea2:remove 44" \
2262 "button1:clicked"
2263 check 1 "Press \"OK\" if the drawing doesn't look tilted anymore" \
2264 "drawingarea2:remove 55" \
2265 "button1:clicked"
2266 check 1 "Press \"OK\" if the drawing has grown a bit" \
2267 "drawingarea2:remove 33" \
2268 "button1:clicked"
2269 check 1 "Press \"OK\" if the drawing has moved into the NE corner" \
2270 "drawingarea2:remove 77" \
2271 "button1:clicked"
2273 check 0 "" \
2274 "drawingarea1:set_source_rgba 6 red\n drawingarea1:set_font_size 6 20\n drawingarea1:transform 99 .985 -.174 .174 .985 0 0"
2275 check 0 "" \
2276 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 c CENTER\n drawingarea1:show_text 6 CENTER"
2277 check 0 "" \
2278 "drawingarea1:set_source_rgba 6 blue\n drawingarea1:set_font_size 6 20"
2279 check 0 "" \
2280 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 nw NORTHWEST\n drawingarea1:show_text 6 NORTHWEST"
2281 check 0 "" \
2282 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 ne NORTHEAST\n drawingarea1:show_text 6 NORTHEAST"
2283 check 0 "" \
2284 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 se SOUTHEAST\n drawingarea1:show_text 6 SOUTHEAST"
2285 check 0 "" \
2286 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 sw SOUTHWEST\n drawingarea1:show_text 6 SOUTHWEST"
2287 check 0 "" \
2288 "drawingarea1:set_source_rgba 6 magenta\n drawingarea1:set_font_size 6 20"
2289 check 0 "" \
2290 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 s SOUTH\n drawingarea1:show_text 6 SOUTH"
2291 check 0 "" \
2292 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 n NORTH\n drawingarea1:show_text 6 NORTH"
2293 check 0 "" \
2294 "drawingarea1:set_source_rgba 6 green\n drawingarea1:set_font_size 6 20"
2295 check 0 "" \
2296 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 e EAST\n drawingarea1:show_text 6 EAST"
2297 check 0 "" \
2298 "drawingarea1:move_to 600 100 140\n drawingarea1:rel_move_for 6 w WEST\n drawingarea1:show_text 6 WEST\n drawingarea1:set_font_size 800<600 30"
2300 check 2 "Hit Backspace, Enter" \
2301 "eventbox1:grab_focus" \
2302 "eventbox1:key_press BackSpace" \
2303 "eventbox1:key_press Return"
2304 # check 6 "Inside the DrawingArea, left-click, middle-click, right-click (Don't move the mouse while clicking)" \
2305 # "" \
2306 # "eventbox1:button_press 1" \
2307 # "eventbox1:button_release 1" \
2308 # "eventbox1:button_press 2" \
2309 # "eventbox1:button_release 2" \
2310 # "eventbox1:button_press 3" \
2311 # "eventbox1:button_release 3"
2312 # check 3 "Inside the DrawingArea and all within one second, hold the left button down, move around a bit, and release it again" \
2313 # "" \
2314 # "eventbox1:button_press 1" \
2315 # "eventbox1:motion" \
2316 # "eventbox1:motion"
2317 # sleep 1.5
2318 # check 1 "Hit Space" \
2319 # "button1:grab_focus" \
2320 # "button1:clicked"
2322 # check 1 "Press the biggest button if there is a spinning spinner" \
2323 # "spinner1:start\n no_button:set_size_request 400 400" \
2324 # "no_button:clicked"
2325 # check 1 "Press \"OK\" if the spinner has stopped" \
2326 # "spinner1:stop" \
2327 # "button1:clicked"
2328 # check 1 "Press \"OK\" if the \"No\" button is back to normal size" \
2329 # "no_button:set_size_request" \
2330 # "button1:clicked"
2332 # check 0 "" \
2333 # "notebook1:set_current_page 3"
2334 # check 1 "Click into page 4 (vscroll)" \
2335 # "scrolledwindow8:vscroll 4500" \
2336 # "button_sw:clicked"
2337 # check 1 "Click into page 4 (hscroll)" \
2338 # "scrolledwindow8:hscroll 4500" \
2339 # "button_se:clicked"
2340 # check 1 "Click into page 4 (hscroll_to_range, vscroll_to_range)" \
2341 # "scrolledwindow8:hscroll_to_range 1600 2900\n scrolledwindow8:vscroll_to_range 1600 2900" \
2342 # "button_c:clicked"
2344 # check 1 "Press \"OK\" if we are fullscreen now" \
2345 # "main:fullscreen" \
2346 # "button1:clicked"
2347 # check 1 "Press \"OK\" if we are back to default size" \
2348 # "main:unfullscreen" \
2349 # "button1:clicked"
2350 # check 1 "Press \"OK\" if window is 1000x1000 now" \
2351 # "main:resize 1000 1000" \
2352 # "button1:clicked"
2353 # check 1 "Press \"OK\" if we are back to default size again" \
2354 # "main:resize" \
2355 # "button1:clicked"
2356 # check 1 "Press \"OK\" if our NE corner is at 400, 200 now" \
2357 # "main:move 400 200" \
2358 # "button1:clicked"
2360 # check 1 "Press \"OK\" if there is now a \"Disconnect\" button" \
2361 # "button2:set_visible 1\n button2:set_sensitive 0" \
2362 # "button1:clicked"
2363 # check 1 "Press \"Disconnect\"" \
2364 # "button2:set_sensitive 1" \
2365 # "button2:clicked"
2366 # check 1 "Press \"OK\" if the window title is now \"ALMOST DONE\"" \
2367 # "main:set_title ALMOST DONE" \
2368 # "button1:clicked"
2370 # check 1 "Press \"BIG BUTTON\" inside the window titled \"PRESS ME\"" \
2371 # "dialog1:set_title PRESS ME\n dialog1:set_visible 1\n dialog1:resize 800 800\n dialog1:move 50 50" \
2372 # "button3:clicked"
2373 # check 1 "" \
2374 # "button3:set_label PRESS THIS GIANT BUTTON NOW\n dialog1:fullscreen" \
2375 # "button3:clicked"
2376 # check 1 "" \
2377 # "button3:set_label Hit Escape to close this window\n button3:set_sensitive 0" \
2378 # "dialog1:closed"
2379 # check 0 "" \
2380 # "dialog1:set_visible 0"
2382 # check 1 "Press \"OK\" if the progress bar shows 90%" \
2383 # "progressbar1:set_fraction .9\n progressbar1:set_text" \
2384 # "button1:clicked"
2385 # check 1 "Press \"OK\" if the progress bar text reads \"The End\"" \
2386 # "progressbar1:set_text The End" \
2387 # "button1:clicked"
2388 # check 1 "" \
2389 # "statusbar1:push_id Id100 Press \"No\"\n statusbar1:push_id ABC nonsense #1\n statusbar1:push_id DEF nonsense #2.1\n statusbar1:push_id DEF nonsense 2.2\n statusbar1:pop\n statusbar1:pop\n statusbar1:pop_id 1\n statusbar1:pop_id ABC\n statusbar1:pop_id DEF\n statusbar1:pop_id DEF\n statusbar1:push_id GHI nonsense 3.1\n statusbar1:push_id GHI nonsense 3.2\n statusbar1:remove_all_id GHI" \
2390 # "no_button:clicked"
2392 echo "_:main_quit" >$FIN
2394 check_rm $FIN
2395 check_rm $FOUT
2398 check_cmd "head -n 2 $LOG | tail -n 1 | grep -q '##### (New Pipeglade session) #####'"
2399 check_cmd "tail -n 4 $LOG | head -n 1 | grep -q '### (Idle) ###'"
2400 check_cmd "tail -n 3 $LOG | head -n 1 | grep -q 'statusbar1:remove_all_id GHI'"
2401 check_cmd "tail -n 2 $LOG | head -n 1 | grep -q '### (Idle) ###'"
2402 check_cmd "tail -n 1 $LOG | grep '_:main_quit'"
2405 echo "PASSED: $OKS/$TESTS; FAILED: $FAILS/$TESTS"