3 # Pipeglade tests; they should be invoked in the build directory.
5 # Usage: ./pipegladetset.sh
6 # Usage: ./pipegladetset.sh interactive
7 # Usage: ./pipegladetset.sh automatic
9 # Failure of a test can cause failure of one or more subsequent tests.
13 if test ${1-X} == interactive
; then unset -v AUTOMATIC
; fi
14 if test ${1-X} == automatic
; then unset -v INTERACTIVE
; fi
41 WEIRD_PATHS
=$
(awk 'BEGIN{ for (i=0x01; i<= 0xff; i++) if (i != 0x2a && i != 0x2f && i != 0x3f && i != 0x5c) printf "'$DIR'/(%c) ", i }')
42 BIG_STRING
=$
(for i
in {1.
.100}; do echo -n "abcdefghijklmnopqrstuvwxyz($i)ABCDEFGHIJKLMNOPQRSTUVWXYZ0{${RANDOM}}123456789"; done)
43 BIG_NUM
=$
(for i
in {1.
.100}; do echo -n "$RANDOM"; done)
44 rm -rf $FIN $FOUT $FERR $LOG $ERR_FILE $BAD_FIFO $PID_FILE $OUT_FILE \
45 $EPS_FILE $EPSF_FILE $PDF_FILE $PS_FILE $SVG_FILE \
46 $FILE1 $FILE2 $FILE3 $FILE4 $FILE5 $FILE6 $BIG_INPUT $BIG_INPUT2 $BIG_INPUT_ERR $DIR
48 if stat
-f "%0p" 2>/dev
/null
; then
49 STAT_CMD
='stat -f "%0p"'
52 STAT_CMD
='stat -c "%a"'
55 # colored messages: bright green
58 FAIL
=$
'\E[31;1mFAIL\E[0m'
59 EXPECTED
=$
'\E[31;1mEXPECTED\E[0m'
61 CALL
=$
'\E[33mCALL\E[0m'
62 SEND
=$
'\E[33mSEND\E[0m'
80 while test -e $1 && (( i
<50 )); do
86 echo " $FAIL $1 should be deleted"
90 echo " $OK $1 deleted"
96 while ! eval "$1" && (( i
<50 )); do
113 # Situations where pipeglade should exit immediately. These tests
114 # should run automatically
115 ######################################################################
118 # check_call command expected_status expected_stderr expected_stdout
123 output
=$
($1 2>tmperr.txt
)
128 if test "$output" = "" -a "$o" = "" ||
(echo "$output" |
grep -Fqe "$o"); then
130 echo " $OK STDOUT $output"
133 echo " $FAIL STDOUT $output"
136 if test "$error" = "" -a "$e" = "" ||
test "$retval" -eq "$r" && (echo "$error" |
grep -Fqe "$e"); then
138 echo " $OK EXIT/STDERR $retval $error"
141 echo " $FAIL EXIT/STDERR $retval $error"
142 echo " $EXPECTED $r $e"
147 if test $AUTOMATIC; then
149 check_call
"./pipeglade -u nonexistent.ui" 1 \
151 check_call
"./pipeglade -u bad_window.ui" 1 \
152 "no toplevel window named 'main'" ""
153 check_call
"./pipeglade -u www-template/404.html" 1 \
155 check_call
"./pipeglade -u README" 1 \
156 "Document must begin with an element" ""
157 check_call
"./pipeglade -e x" 1 \
158 "x is not a valid XEmbed socket id" ""
159 check_call
"./pipeglade -ex" 1 \
160 "x is not a valid XEmbed socket id" ""
161 check_call
"./pipeglade -e -77" 1 \
162 "-77 is not a valid XEmbed socket id" ""
163 check_call
"./pipeglade -e 77x" 1 \
164 "77x is not a valid XEmbed socket id" ""
165 check_call
"./pipeglade -e +77" 1 \
166 "+77 is not a valid XEmbed socket id" ""
167 check_call
"./pipeglade -e 999999999999999999999999999999" 1 \
168 "999999999999999999999999999999 is not a valid XEmbed socket id" ""
169 check_call
"./pipeglade -e 99999999999999999" 1 \
170 "unable to embed into XEmbed socket 99999999999999999" ""
172 check_call
"./pipeglade -i $BAD_FIFO" 1 \
173 "using pre-existing fifo" ""
174 check_call
"./pipeglade -o $BAD_FIFO" 1 \
175 "using pre-existing fifo" ""
177 check_call
"./pipeglade -b" 1 \
178 "parameter -b requires both -i and -o"
179 check_call
"./pipeglade -b -i $FIN" 1 \
180 "parameter -b requires both -i and -o"
181 check_call
"./pipeglade -b -i $FOUT" 1 \
182 "parameter -b requires both -i and -o"
184 check_call
"./pipeglade -h" 0 \
185 "" "usage: pipeglade [[-i in-fifo] [-o out-fifo] [-b] [-u glade-file.ui] [-e xid]
186 [-l log-file] [-O err-file] [--display X-server]] | [-h|-G|-V]"
187 check_call
"./pipeglade -G" 0 \
189 check_call
"./pipeglade -G" 0 \
191 check_call
"./pipeglade -V" 0 \
193 check_call
"./pipeglade -X" 1 \
195 check_call
"./pipeglade -e" 1 \
197 check_call
"./pipeglade -u" 1 \
199 check_call
"./pipeglade -i" 1 \
201 check_call
"./pipeglade -o" 1 \
204 check_call
"./pipeglade -O" 1 \
206 check_call
"./pipeglade -O $DIR" 1 \
207 "" "redirecting stderr to"
208 check_call
"./pipeglade -l $DIR" 1 \
209 "opening log file" ""
210 check_call
"./pipeglade -l" 1 \
212 # assuming we can't adjust permissions of /dev/null:
213 check_call
"./pipeglade -O /dev/null" 1 \
214 "" "setting permissions of /dev/null:"
215 check_call
"./pipeglade -l /dev/null" 1 \
216 "setting permissions of /dev/null:" ""
217 check_call
"./pipeglade yyy" 1 \
218 "illegal parameter 'yyy'" ""
219 check_call
"./pipeglade --display nnn" 1 \
232 # Error handling tests---bogus actions leading to appropriate error
233 # messages. Most of these tests should run automatically.
234 ######################################################################
239 # check_error command expected_stderr
241 echo "$SEND ${1:0:300}"
243 while read r
<$FERR; do
244 # ignore irrelevant GTK warnings
245 if test "$r" != "" && ! grep -qe "WARNING"<<< "$r"; then
249 if grep -qFe "${2:0:300}" <<< "${r:0:300}"; then
251 echo " $OK ${r:0:300}"
254 echo " $FAIL ${r:0:300}"
255 echo " $EXPECTED ${2:0:300}"
260 .
/pipeglade
-i $FIN 2> $FERR &
261 # wait for $FIN to appear
262 while test ! \
( -e $FIN \
); do :; done
264 if test $AUTOMATIC; then
267 "ignoring command \"nnn\""
268 check_error
"BIG_STRING" \
269 "ignoring command \"BIG_STRING\""
270 check_error
"nnn:set_text FFFF" \
271 "ignoring command \"nnn:set_text FFFF\""
272 check_error
"nnn:set_text $BIG_STRING" \
273 "ignoring command \"nnn:set_text $BIG_STRING\""
274 check_error
"nnn:set_tooltip_text FFFF" \
275 "ignoring command \"nnn:set_tooltip_text FFFF\""
276 check_error
"nnn:set_tooltip_text $BIG_STRING" \
277 "ignoring command \"nnn:set_tooltip_text $BIG_STRING\""
278 check_error
"nnn:set_sensitive 0" \
279 "ignoring command \"nnn:set_sensitive 0\""
280 check_error
"nnn:set_sensitive 1" \
281 "ignoring command \"nnn:set_sensitive 1\""
282 check_error
"nnn:set_visible 0" \
283 "ignoring command \"nnn:set_visible 0\""
284 check_error
"nnn:set_visible 1" \
285 "ignoring command \"nnn:set_visible 1\""
286 check_error
"nnn:grab_focus" \
287 "ignoring command \"nnn:grab_focus\""
288 check_error
"nnn:set_size_request 100 100" \
289 "ignoring command \"nnn:set_size_request 100 100\""
290 check_error
"nnn:set_size_request $BIG_NUM $BIG_NUM" \
291 "ignoring command \"nnn:set_size_request $BIG_NUM $BIG_NUM\""
292 check_error
"nnn:style font:Bold 11" \
293 "ignoring command \"nnn:style font:Bold 11\""
294 check_error
"nnn:force" \
295 "ignoring command \"nnn:force\""
296 # Wrong number or kind of arguments for generic actions
297 check_error
"button1:set_sensitive" \
298 "ignoring GtkButton command \"button1:set_sensitive\""
299 check_error
"button1:set_sensitive 2" \
300 "ignoring GtkButton command \"button1:set_sensitive 2\""
301 check_error
"button1:set_sensitive $BIG_NUM" \
302 "ignoring GtkButton command \"button1:set_sensitive $BIG_NUM\""
303 check_error
"button1:set_sensitive nnn" \
304 "ignoring GtkButton command \"button1:set_sensitive nnn\""
305 check_error
"button1:set_sensitive 0 1" \
306 "ignoring GtkButton command \"button1:set_sensitive 0 1\""
307 check_error
"button1:set_visible" \
308 "ignoring GtkButton command \"button1:set_visible\""
309 check_error
"button1:set_visible 2" \
310 "ignoring GtkButton command \"button1:set_visible 2\""
311 check_error
"button1:set_visible $BIG_NUM" \
312 "ignoring GtkButton command \"button1:set_visible $BIG_NUM\""
313 check_error
"button1:set_visible nnn" \
314 "ignoring GtkButton command \"button1:set_visible nnn\""
315 check_error
"button1:set_visible 0 1" \
316 "ignoring GtkButton command \"button1:set_visible 0 1\""
317 check_error
"button1:grab_focus 2" \
318 "ignoring GtkButton command \"button1:grab_focus 2\""
319 check_error
"button1:set_size_request 100" \
320 "ignoring GtkButton command \"button1:set_size_request 100\""
321 check_error
"button1:set_size_request 100 100 100" \
322 "ignoring GtkButton command \"button1:set_size_request 100 100 100\""
323 check_error
"button1:force 2" \
324 "ignoring GtkButton command \"button1:force 2\""
325 check_error
"_:main_quit 2" \
326 "ignoring command \"_:main_quit 2\""
327 # Widget that shouldn't fire callbacks
328 check_error
"label1:force" \
329 "ignoring GtkLabel command \"label1:force\""
330 # Widget that can't grab focus
331 check_error
"label1:grab_focus" \
332 "ignoring GtkLabel command \"label1:grab_focus\""
334 check_error
"_:load" \
335 "ignoring command \"_:load\""
336 check_error
"_:load " \
337 "ignoring command \"_:load \""
338 check_error
"_:load nonexistent.txt" \
339 "ignoring command \"_:load nonexistent.txt\""
340 for i
in $WEIRD_PATHS; do
341 check_error
"_:load nonexistent/${i}QqQ" \
342 "ignoring command \"_:load nonexistent/${i}QqQ\""
346 cat >$DIR/$FILE1 <<< "blah"
347 check_error
"_:load $DIR/$FILE1" \
348 "ignoring command \"blah\""
349 for i
in $WEIRD_PATHS; do
351 check_error
"_:load $i" \
352 "ignoring command \"blah\""
355 cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE1"
356 check_error
"_:load $DIR/$FILE1" \
357 "ignoring command \"_:load $DIR/$FILE1\""
358 for i
in $WEIRD_PATHS; do
359 cat >$i <<< "_:load $i"
360 check_error
"_:load $i" \
361 "ignoring command \"_:load $i\""
363 cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
364 cat >$DIR/$FILE2 <<< "_:load $DIR/$FILE1"
365 check_error
"_:load $DIR/$FILE1" \
366 "ignoring command \"_:load $DIR/$FILE1\""
367 cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
368 cat >$DIR/$FILE2 <<< "_:blah"
369 check_error
"_:load $DIR/$FILE1" \
370 "ignoring command \"_:blah\""
373 check_error
"main:nnn" \
374 "ignoring GtkWindow command \"main:nnn\""
375 check_error
"main:move" \
376 "ignoring GtkWindow command \"main:move\""
377 check_error
"main:move " \
378 "ignoring GtkWindow command \"main:move \""
379 check_error
"main:move 700" \
380 "ignoring GtkWindow command \"main:move 700\""
381 check_error
"main:move 700 nnn" \
382 "ignoring GtkWindow command \"main:move 700 nnn\""
383 check_error
"main:move $BIG_NUM $BIG_STRING" \
384 "ignoring GtkWindow command \"main:move $BIG_NUM $BIG_STRING\""
385 check_error
"main:move 700 700 700" \
386 "ignoring GtkWindow command \"main:move 700 700 700\""
387 check_error
"main:resize 700" \
388 "ignoring GtkWindow command \"main:resize 700\""
389 check_error
"main:resize 700 nnn" \
390 "ignoring GtkWindow command \"main:resize 700 nnn\""
391 check_error
"main:resize 700 700 700" \
392 "ignoring GtkWindow command \"main:resize 700 700 700\""
393 check_error
"main:fullscreen 1" \
394 "ignoring GtkWindow command \"main:fullscreen 1\""
395 check_error
"main:unfullscreen 1" \
396 "ignoring GtkWindow command \"main:unfullscreen 1\""
398 check_error
"label1:nnn" \
399 "ignoring GtkLabel command \"label1:nnn\""
401 check_error
"image1:nnn" \
402 "ignoring GtkImage command \"image1:nnn\""
404 check_error
"notebook1:nnn" \
405 "ignoring GtkNotebook command \"notebook1:nnn\""
406 check_error
"notebook1:set_current_page" \
407 "ignoring GtkNotebook command \"notebook1:set_current_page\""
408 check_error
"notebook1:set_current_page " \
409 "ignoring GtkNotebook command \"notebook1:set_current_page \""
410 check_error
"notebook1:set_current_page nnn" \
411 "ignoring GtkNotebook command \"notebook1:set_current_page nnn\""
412 check_error
"notebook1:set_current_page -1" \
413 "ignoring GtkNotebook command \"notebook1:set_current_page -1\""
414 check_error
"notebook1:set_current_page $BIG_NUM" \
415 "ignoring GtkNotebook command \"notebook1:set_current_page $BIG_NUM\""
416 check_error
"notebook1:set_current_page 1 1" \
417 "ignoring GtkNotebook command \"notebook1:set_current_page 1 1\""
419 check_error
"expander1:nnn" \
420 "ignoring GtkExpander command \"expander1:nnn\""
421 check_error
"expander1:set_expanded" \
422 "ignoring GtkExpander command \"expander1:set_expanded\""
423 check_error
"expander1:set_expanded 3" \
424 "ignoring GtkExpander command \"expander1:set_expanded 3\""
425 check_error
"expander1:set_expanded $BIG_NUM" \
426 "ignoring GtkExpander command \"expander1:set_expanded $BIG_NUM\""
427 check_error
"expander1:set_expanded 0 1" \
428 "ignoring GtkExpander command \"expander1:set_expanded 0 1\""
430 check_error
"textview1:nnn" \
431 "ignoring GtkTextView command \"textview1:nnn\""
432 check_error
"textview1:save" \
433 "ignoring GtkTextView command \"textview1:save\""
434 check_error
"textview1:delete nnn" \
435 "ignoring GtkTextView command \"textview1:delete nnn\""
436 check_error
"textview1:place_cursor" \
437 "ignoring GtkTextView command \"textview1:place_cursor\""
438 check_error
"textview1:place_cursor " \
439 "ignoring GtkTextView command \"textview1:place_cursor \""
440 check_error
"textview1:place_cursor nnn" \
441 "ignoring GtkTextView command \"textview1:place_cursor nnn\""
442 check_error
"textview1:place_cursor 1 1" \
443 "ignoring GtkTextView command \"textview1:place_cursor 1 1\""
444 check_error
"textview1:place_cursor end 1" \
445 "ignoring GtkTextView command \"textview1:place_cursor end 1\""
446 check_error
"textview1:place_cursor_at_line" \
447 "ignoring GtkTextView command \"textview1:place_cursor_at_line\""
448 check_error
"textview1:place_cursor_at_line " \
449 "ignoring GtkTextView command \"textview1:place_cursor_at_line \""
450 check_error
"textview1:place_cursor_at_line nnn" \
451 "ignoring GtkTextView command \"textview1:place_cursor_at_line nnn\""
452 check_error
"textview1:place_cursor_at_line 1 1" \
453 "ignoring GtkTextView command \"textview1:place_cursor_at_line 1 1\""
454 check_error
"textview1:scroll_to_cursor nnn" \
455 "ignoring GtkTextView command \"textview1:scroll_to_cursor nnn\""
456 mkdir
$DIR; chmod a-w
$DIR
457 check_error
"textview1:save $DIR/$FILE1" \
458 "ignoring GtkTextView command \"textview1:save $DIR/$FILE1\""
459 check_error
"textview1:save nonexistent/$FILE1" \
460 "ignoring GtkTextView command \"textview1:save nonexistent/$FILE1\""
461 for i
in $WEIRD_PATHS; do
462 check_error
"textview1:save nonexistent/$i" \
463 "ignoring GtkTextView command \"textview1:save nonexistent/$i\""
468 check_error
"button1:nnn" \
469 "ignoring GtkButton command \"button1:nnn\""
471 check_error
"switch1:nnn" \
472 "ignoring GtkSwitch command \"switch1:nnn\""
473 check_error
"switch1:set_active" \
474 "ignoring GtkSwitch command \"switch1:set_active\""
475 check_error
"switch1:set_active " \
476 "ignoring GtkSwitch command \"switch1:set_active \""
477 check_error
"switch1:set_active 2" \
478 "ignoring GtkSwitch command \"switch1:set_active 2\""
479 check_error
"switch1:set_active $BIG_NUM" \
480 "ignoring GtkSwitch command \"switch1:set_active $BIG_NUM\""
481 check_error
"switch1:set_active 0 1" \
482 "ignoring GtkSwitch command \"switch1:set_active 0 1\""
484 check_error
"togglebutton1:nnn" \
485 "ignoring GtkToggleButton command \"togglebutton1:nnn\""
486 check_error
"togglebutton1:set_active" \
487 "ignoring GtkToggleButton command \"togglebutton1:set_active\""
488 check_error
"togglebutton1:set_active " \
489 "ignoring GtkToggleButton command \"togglebutton1:set_active \""
490 check_error
"togglebutton1:set_active 2" \
491 "ignoring GtkToggleButton command \"togglebutton1:set_active 2\""
492 check_error
"togglebutton1:set_active $BIG_NUM" \
493 "ignoring GtkToggleButton command \"togglebutton1:set_active $BIG_NUM\""
494 check_error
"togglebutton1:set_active 1 0" \
495 "ignoring GtkToggleButton command \"togglebutton1:set_active 1 0\""
497 check_error
"checkbutton1:nnn" \
498 "ignoring GtkCheckButton command \"checkbutton1:nnn\""
499 check_error
"checkbutton1:set_active" \
500 "ignoring GtkCheckButton command \"checkbutton1:set_active\""
501 check_error
"checkbutton1:set_active " \
502 "ignoring GtkCheckButton command \"checkbutton1:set_active \""
503 check_error
"checkbutton1:set_active 2" \
504 "ignoring GtkCheckButton command \"checkbutton1:set_active 2\""
505 check_error
"checkbutton1:set_active $BIG_NUM" \
506 "ignoring GtkCheckButton command \"checkbutton1:set_active $BIG_NUM\""
507 check_error
"checkbutton1:set_active 1 1" \
508 "ignoring GtkCheckButton command \"checkbutton1:set_active 1 1\""
510 check_error
"radiobutton1:nnn" \
511 "ignoring GtkRadioButton command \"radiobutton1:nnn\""
512 check_error
"radiobutton1:set_active" \
513 "ignoring GtkRadioButton command \"radiobutton1:set_active\""
514 check_error
"radiobutton1:set_active " \
515 "ignoring GtkRadioButton command \"radiobutton1:set_active \""
516 check_error
"radiobutton1:set_active 2" \
517 "ignoring GtkRadioButton command \"radiobutton1:set_active 2\""
518 check_error
"radiobutton1:set_active $BIG_NUM" \
519 "ignoring GtkRadioButton command \"radiobutton1:set_active $BIG_NUM\""
520 check_error
"radiobutton1:set_active nnn" \
521 "ignoring GtkRadioButton command \"radiobutton1:set_active nnn\""
522 check_error
"radiobutton1:set_active 0 1" \
523 "ignoring GtkRadioButton command \"radiobutton1:set_active 0 1\""
525 check_error
"spinbutton1:nnn" \
526 "ignoring GtkSpinButton command \"spinbutton1:nnn\""
527 check_error
"spinbutton1:set_text" \
528 "ignoring GtkSpinButton command \"spinbutton1:set_text\""
529 check_error
"spinbutton1:set_text " \
530 "ignoring GtkSpinButton command \"spinbutton1:set_text \""
531 check_error
"spinbutton1:set_text nnn" \
532 "ignoring GtkSpinButton command \"spinbutton1:set_text nnn\""
533 check_error
"spinbutton1:set_text $BIG_STRING" \
534 "ignoring GtkSpinButton command \"spinbutton1:set_text $BIG_STRING\""
535 check_error
"spinbutton1:set_text 10 10" \
536 "ignoring GtkSpinButton command \"spinbutton1:set_text 10 10\""
537 check_error
"spinbutton1:set_range" \
538 "ignoring GtkSpinButton command \"spinbutton1:set_range\""
539 check_error
"spinbutton1:set_range " \
540 "ignoring GtkSpinButton command \"spinbutton1:set_range \""
541 check_error
"spinbutton1:set_range 10 nnn" \
542 "ignoring GtkSpinButton command \"spinbutton1:set_range 10 nnn\""
543 check_error
"spinbutton1:set_range 10 20 10" \
544 "ignoring GtkSpinButton command \"spinbutton1:set_range 10 20 10\""
545 check_error
"spinbutton1:set_increments" \
546 "ignoring GtkSpinButton command \"spinbutton1:set_increments\""
547 check_error
"spinbutton1:set_increments " \
548 "ignoring GtkSpinButton command \"spinbutton1:set_increments \""
549 check_error
"spinbutton1:set_increments 10 nnn" \
550 "ignoring GtkSpinButton command \"spinbutton1:set_increments 10 nnn\""
551 check_error
"spinbutton1:set_increments 10 20 10" \
552 "ignoring GtkSpinButton command \"spinbutton1:set_increments 10 20 10\""
554 check_error
"dialog1:resize 100" \
555 "ignoring GtkDialog command \"dialog1:resize 100\""
556 check_error
"dialog1:resize 100 100 100" \
557 "ignoring GtkDialog command \"dialog1:resize 100 100 100\""
558 check_error
"dialog1:move" \
559 "ignoring GtkDialog command \"dialog1:move\""
560 check_error
"dialog1:move " \
561 "ignoring GtkDialog command \"dialog1:move \""
562 check_error
"dialog1:move 100" \
563 "ignoring GtkDialog command \"dialog1:move 100\""
564 check_error
"dialog1:move 100 100 100" \
565 "ignoring GtkDialog command \"dialog1:move 100 100 100\""
566 check_error
"dialog1:fullscreen 1" \
567 "ignoring GtkDialog command \"dialog1:fullscreen 1\""
568 check_error
"dialog1:unfullscreen 1" \
569 "ignoring GtkDialog command \"dialog1:unfullscreen 1\""
570 # GtkFileChooserButton
571 check_error
"filechooserbutton1:nnn" \
572 "ignoring GtkFileChooserButton command \"filechooserbutton1:nnn\""
573 # GtkFilechooserDialog
574 check_error
"open_dialog:nnn" \
575 "ignoring GtkFileChooserDialog command \"open_dialog:nnn\""
576 check_error
"open_dialog:resize 100" \
577 "ignoring GtkFileChooserDialog command \"open_dialog:resize 100\""
578 check_error
"open_dialog:resize 100 100 100" \
579 "ignoring GtkFileChooserDialog command \"open_dialog:resize 100 100 100\""
580 check_error
"open_dialog:move" \
581 "ignoring GtkFileChooserDialog command \"open_dialog:move\""
582 check_error
"open_dialog:move " \
583 "ignoring GtkFileChooserDialog command \"open_dialog:move \""
584 check_error
"open_dialog:move 100" \
585 "ignoring GtkFileChooserDialog command \"open_dialog:move 100\""
586 check_error
"open_dialog:move 100 100 100" \
587 "ignoring GtkFileChooserDialog command \"open_dialog:move 100 100 100\""
588 check_error
"open_dialog:fullscreen 1" \
589 "ignoring GtkFileChooserDialog command \"open_dialog:fullscreen 1\""
590 check_error
"open_dialog:unfullscreen 1" \
591 "ignoring GtkFileChooserDialog command \"open_dialog:unfullscreen 1\""
593 check_error
"fontbutton1:nnn" \
594 "ignoring GtkFontButton command \"fontbutton1:nnn\""
596 check_error
"colorbutton1:nnn" \
597 "ignoring GtkColorButton command \"colorbutton1:nnn\""
599 check_error
"printdialog:nnn" \
600 "ignoring GtkPrintUnixDialog command \"printdialog:nnn\""
602 if test $INTERACTIVE; then
603 check_error
"statusbar1:push Click \"Print\"\n printdialog:print nonexistent.ps" \
604 "ignoring GtkPrintUnixDialog command \" printdialog:print nonexistent.ps\""
606 if test $AUTOMATIC; then
608 check_error
"scale1:nnn" \
609 "ignoring GtkScale command \"scale1:nnn\""
610 check_error
"scale1:set_value" \
611 "ignoring GtkScale command \"scale1:set_value\""
612 check_error
"scale1:set_value " \
613 "ignoring GtkScale command \"scale1:set_value \""
614 check_error
"scale1:set_value nnn" \
615 "ignoring GtkScale command \"scale1:set_value nnn\""
616 check_error
"scale1:set_value $BIG_STRING" \
617 "ignoring GtkScale command \"scale1:set_value $BIG_STRING\""
618 check_error
"scale1:set_value 10 10" \
619 "ignoring GtkScale command \"scale1:set_value 10 10\""
620 check_error
"scale1:set_fill_level nnn" \
621 "ignoring GtkScale command \"scale1:set_fill_level nnn\""
622 check_error
"scale1:set_fill_level $BIG_STRING" \
623 "ignoring GtkScale command \"scale1:set_fill_level $BIG_STRING\""
624 check_error
"scale1:set_fill_level 10 10" \
625 "ignoring GtkScale command \"scale1:set_fill_level 10 10\""
626 check_error
"scale1:set_range" \
627 "ignoring GtkScale command \"scale1:set_range\""
628 check_error
"scale1:set_range " \
629 "ignoring GtkScale command \"scale1:set_range \""
630 check_error
"scale1:set_range 10" \
631 "ignoring GtkScale command \"scale1:set_range 10\""
632 check_error
"scale1:set_range $BIG_NUM" \
633 "ignoring GtkScale command \"scale1:set_range $BIG_NUM\""
634 check_error
"scale1:set_range x 10" \
635 "ignoring GtkScale command \"scale1:set_range x 10\""
636 check_error
"scale1:set_range 10 10 10" \
637 "ignoring GtkScale command \"scale1:set_range 10 10 10\""
638 check_error
"scale1:set_increments" \
639 "ignoring GtkScale command \"scale1:set_increments\""
640 check_error
"scale1:set_increments " \
641 "ignoring GtkScale command \"scale1:set_increments \""
642 check_error
"scale1:set_increments 10" \
643 "ignoring GtkScale command \"scale1:set_increments 10\""
644 check_error
"scale1:set_increments $BIG_NUM" \
645 "ignoring GtkScale command \"scale1:set_increments $BIG_NUM\""
646 check_error
"scale1:set_increments x 10" \
647 "ignoring GtkScale command \"scale1:set_increments x 10\""
648 check_error
"scale1:set_increments 10 10 10" \
649 "ignoring GtkScale command \"scale1:set_increments 10 10 10\""
651 check_error
"progressbar1:nnn" \
652 "ignoring GtkProgressBar command \"progressbar1:nnn\""
653 check_error
"progressbar1:set_fraction" \
654 "ignoring GtkProgressBar command \"progressbar1:set_fraction\""
655 check_error
"progressbar1:set_fraction " \
656 "ignoring GtkProgressBar command \"progressbar1:set_fraction \""
657 check_error
"progressbar1:set_fraction nnn" \
658 "ignoring GtkProgressBar command \"progressbar1:set_fraction nnn\""
659 check_error
"progressbar1:set_fraction $BIG_STRING" \
660 "ignoring GtkProgressBar command \"progressbar1:set_fraction $BIG_STRING\""
661 check_error
"progressbar1:set_fraction .5 1" \
662 "ignoring GtkProgressBar command \"progressbar1:set_fraction .5 1\""
664 check_error
"spinner1:nnn" \
665 "ignoring GtkSpinner command \"spinner1:nnn\""
666 check_error
"spinner1:start 1" \
667 "ignoring GtkSpinner command \"spinner1:start 1\""
668 check_error
"spinner1:start $BIG_STRING" \
669 "ignoring GtkSpinner command \"spinner1:start $BIG_STRING\""
670 check_error
"spinner1:stop 1" \
671 "ignoring GtkSpinner command \"spinner1:stop 1\""
672 check_error
"spinner1:stop $BIG_STRING" \
673 "ignoring GtkSpinner command \"spinner1:stop $BIG_STRING\""
675 check_error
"statusbar1:nnn" \
676 "ignoring GtkStatusbar command \"statusbar1:nnn\""
677 check_error
"statusbar1:push_id" \
678 "ignoring GtkStatusbar command \"statusbar1:push_id\""
679 check_error
"statusbar1:pop_id" \
680 "ignoring GtkStatusbar command \"statusbar1:pop_id\""
681 check_error
"statusbar1:remove_all_id" \
682 "ignoring GtkStatusbar command \"statusbar1:remove_all_id\""
683 check_error
"statusbar1:remove_all_id " \
684 "ignoring GtkStatusbar command \"statusbar1:remove_all_id \""
685 check_error
"statusbar1:remove_all_id a b" \
686 "ignoring GtkStatusbar command \"statusbar1:remove_all_id a b\""
687 check_error
"statusbar1:remove_all a" \
688 "ignoring GtkStatusbar command \"statusbar1:remove_all a\""
689 check_error
"statusbar1:remove_all $BIG_STRING" \
690 "ignoring GtkStatusbar command \"statusbar1:remove_all $BIG_STRING\""
692 check_error
"comboboxtext1:nnn" \
693 "ignoring GtkComboBoxText command \"comboboxtext1:nnn\""
694 check_error
"comboboxtext1:force" \
695 "ignoring GtkComboBoxText command \"comboboxtext1:force\""
698 check_error
"treeview1:nnn" \
699 "ignoring GtkTreeView command \"treeview1:nnn\""
700 check_error
"treeview2:nnn" \
701 "ignoring GtkTreeView command \"treeview2:nnn\""
702 check_error
"treeview1:force" \
703 "ignoring GtkTreeView command \"treeview1:force\""
705 check_error
"treeview1:save" \
706 "ignoring GtkTreeView command \"treeview1:save\""
707 mkdir
$DIR; chmod a-w
$DIR
708 check_error
"treeview1:save $DIR/$FILE1" \
709 "ignoring GtkTreeView command \"treeview1:save $DIR/$FILE1\""
710 check_error
"treeview1:save nonexistent/$FILE1" \
711 "ignoring GtkTreeView command \"treeview1:save nonexistent/$FILE1\""
713 for i
in $WEIRD_PATHS; do
714 check_error
"treeview1:save nonexistent/$i" \
715 "ignoring GtkTreeView command \"treeview1:save nonexistent/$i\""
717 # GtkTreeView insert_row
718 check_error
"treeview1:insert_row 10000" \
719 "ignoring GtkTreeView command \"treeview1:insert_row 10000\""
720 check_error
"treeview1:insert_row $BIG_STRING" \
721 "ignoring GtkTreeView command \"treeview1:insert_row $BIG_STRING\""
722 check_error
"treeview1:insert_row -1" \
723 "ignoring GtkTreeView command \"treeview1:insert_row -1\""
724 check_error
"treeview1:insert_row nnn" \
725 "ignoring GtkTreeView command \"treeview1:insert_row nnn\""
726 check_error
"treeview1:insert_row" \
727 "ignoring GtkTreeView command \"treeview1:insert_row\""
728 check_error
"treeview1:insert_row " \
729 "ignoring GtkTreeView command \"treeview1:insert_row \""
730 check_error
"treeview1:insert_row -1" \
731 "ignoring GtkTreeView command \"treeview1:insert_row -1\""
732 check_error
"treeview1:insert_row 1000" \
733 "ignoring GtkTreeView command \"treeview1:insert_row 1000\""
734 check_error
"treeview2:insert_row 0" \
735 "ignoring GtkTreeView command \"treeview2:insert_row 0\""
736 check_error
"treeview3:insert_row end" \
737 "missing model/ignoring GtkTreeView command \"treeview3:insert_row end\""
738 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" \
739 "ignoring GtkTreeView command \" treeview2:expand abc\""
740 check_error
"treeview2:expand" \
741 "ignoring GtkTreeView command \"treeview2:expand\""
742 check_error
"treeview2:expand 0:abc" \
743 "ignoring GtkTreeView command \"treeview2:expand 0:abc\""
744 check_error
"treeview2:expand 0 0" \
745 "ignoring GtkTreeView command \"treeview2:expand 0 0\""
746 check_error
"treeview2:expand_all abc" \
747 "ignoring GtkTreeView command \"treeview2:expand_all abc\""
748 check_error
"treeview2:expand_all $BIG_STRING" \
749 "ignoring GtkTreeView command \"treeview2:expand_all $BIG_STRING\""
750 check_error
"treeview2:expand_all 0:abc" \
751 "ignoring GtkTreeView command \"treeview2:expand_all 0:abc\""
752 check_error
"treeview2:expand_all 0 0" \
753 "ignoring GtkTreeView command \"treeview2:expand_all 0 0\""
754 check_error
"treeview2:collapse abc" \
755 "ignoring GtkTreeView command \"treeview2:collapse abc\""
756 check_error
"treeview2:collapse $BIG_STRING" \
757 "ignoring GtkTreeView command \"treeview2:collapse $BIG_STRING\""
758 check_error
"treeview2:collapse 0:abc" \
759 "ignoring GtkTreeView command \"treeview2:collapse 0:abc\""
760 check_error
"treeview2:collapse 0 0" \
761 "ignoring GtkTreeView command \"treeview2:collapse 0 0\""
762 check_error
"treeview2:insert_row" \
763 "ignoring GtkTreeView command \"treeview2:insert_row\""
764 check_error
"treeview2:insert_row abc" \
765 "ignoring GtkTreeView command \"treeview2:insert_row abc\""
766 check_error
"treeview2:insert_row 0:abc" \
767 "ignoring GtkTreeView command \"treeview2:insert_row 0:abc\""
768 check_error
"treeview2:insert_row end 0" \
769 "ignoring GtkTreeView command \"treeview2:insert_row end 0\""
770 # GtkTreeView move_row
771 check_error
"treeview1:move_row" \
772 "ignoring GtkTreeView command \"treeview1:move_row\""
773 check_error
"treeview1:move_row " \
774 "ignoring GtkTreeView command \"treeview1:move_row \""
775 check_error
"treeview1:move_row nnn" \
776 "ignoring GtkTreeView command \"treeview1:move_row nnn\""
777 check_error
"treeview1:move_row $BIG_STRING" \
778 "ignoring GtkTreeView command \"treeview1:move_row $BIG_STRING\""
779 check_error
"treeview1:move_row 10000 end" \
780 "ignoring GtkTreeView command \"treeview1:move_row 10000 end\""
781 check_error
"treeview1:move_row $BIG_STRING end" \
782 "ignoring GtkTreeView command \"treeview1:move_row $BIG_STRING end\""
783 check_error
"treeview1:move_row -1 end" \
784 "ignoring GtkTreeView command \"treeview1:move_row -1 end\""
785 check_error
"treeview1:move_row nnn end" \
786 "ignoring GtkTreeView command \"treeview1:move_row nnn end\""
787 check_error
"treeview1:move_row 0 10000" \
788 "ignoring GtkTreeView command \"treeview1:move_row 0 10000\""
789 check_error
"treeview1:move_row 0 -1" \
790 "ignoring GtkTreeView command \"treeview1:move_row 0 -1\""
791 check_error
"treeview1:move_row 0 nnn" \
792 "ignoring GtkTreeView command \"treeview1:move_row 0 nnn\""
793 check_error
"treeview2:move_row" \
794 "ignoring GtkTreeView command \"treeview2:move_row\""
795 check_error
"treeview2:move_row 0:0 abc" \
796 "ignoring GtkTreeView command \"treeview2:move_row 0:0 abc\""
797 check_error
"treeview2:move_row 0:0 0:abc" \
798 "ignoring GtkTreeView command \"treeview2:move_row 0:0 0:abc\""
799 check_error
"treeview2:move_row abc end" \
800 "ignoring GtkTreeView command \"treeview2:move_row abc end\""
801 check_error
"treeview2:move_row 0:abc end" \
802 "ignoring GtkTreeView command \"treeview2:move_row 0:abc end\""
803 check_error
"treeview2:move_row 0 end 0" \
804 "ignoring GtkTreeView command \"treeview2:move_row 0 end 0\""
805 # GtkTreeView remove_row
806 check_error
"treeview1:remove_row 10000" \
807 "ignoring GtkTreeView command \"treeview1:remove_row 10000\""
808 check_error
"treeview1:remove_row -1" \
809 "ignoring GtkTreeView command \"treeview1:remove_row -1\""
810 check_error
"treeview1:remove_row nnn" \
811 "ignoring GtkTreeView command \"treeview1:remove_row nnn\""
812 check_error
"treeview1:remove_row $BIG_STRING" \
813 "ignoring GtkTreeView command \"treeview1:remove_row $BIG_STRING\""
814 check_error
"treeview1:remove_row" \
815 "ignoring GtkTreeView command \"treeview1:remove_row\""
816 check_error
"treeview1:remove_row " \
817 "ignoring GtkTreeView command \"treeview1:remove_row \""
818 check_error
"treeview2:remove_row" \
819 "ignoring GtkTreeView command \"treeview2:remove_row\""
820 check_error
"treeview2:remove_row abc" \
821 "ignoring GtkTreeView command \"treeview2:remove_row abc\""
822 check_error
"treeview2:remove_row 0:abc" \
823 "ignoring GtkTreeView command \"treeview2:remove_row 0:abc\""
824 check_error
"treeview2:remove_row 0 0" \
825 "ignoring GtkTreeView command \"treeview2:remove_row 0 0\""
827 check_error
"treeview1:scroll" \
828 "ignoring GtkTreeView command \"treeview1:scroll\""
829 check_error
"treeview1:scroll " \
830 "ignoring GtkTreeView command \"treeview1:scroll \""
831 check_error
"treeview1:scroll nnn" \
832 "ignoring GtkTreeView command \"treeview1:scroll nnn\""
833 check_error
"treeview1:scroll $BIG_STRING" \
834 "ignoring GtkTreeView command \"treeview1:scroll $BIG_STRING\""
835 check_error
"treeview1:scroll -1 1" \
836 "ignoring GtkTreeView command \"treeview1:scroll -1 1\""
837 check_error
"treeview1:scroll 1 -1" \
838 "ignoring GtkTreeView command \"treeview1:scroll 1 -1\""
839 check_error
"treeview1:scroll nnn 1" \
840 "ignoring GtkTreeView command \"treeview1:scroll nnn 1\""
841 check_error
"treeview1:scroll 1 nnn" \
842 "ignoring GtkTreeView command \"treeview1:scroll 1 nnn\""
843 check_error
"treeview1:scroll 0 0 0" \
844 "ignoring GtkTreeView command \"treeview1:scroll 0 0 0\""
845 check_error
"treeview2:scroll" \
846 "ignoring GtkTreeView command \"treeview2:scroll\""
847 check_error
"treeview2:scroll abc" \
848 "ignoring GtkTreeView command \"treeview2:scroll abc\""
849 check_error
"treeview2:scroll 0:abc" \
850 "ignoring GtkTreeView command \"treeview2:scroll 0:abc\""
851 check_error
"treeview2:scroll abc 0" \
852 "ignoring GtkTreeView command \"treeview2:scroll abc 0\""
853 check_error
"treeview2:scroll 0:abc 0" \
854 "ignoring GtkTreeView command \"treeview2:scroll 0:abc 0\""
855 check_error
"treeview2:scroll 0:0" \
856 "ignoring GtkTreeView command \"treeview2:scroll 0:0\""
857 check_error
"treeview2:scroll 0:0 abc" \
858 "ignoring GtkTreeView command \"treeview2:scroll 0:0 abc\""
859 check_error
"treeview2:set_cursor abc" \
860 "ignoring GtkTreeView command \"treeview2:set_cursor abc\""
861 check_error
"treeview2:set_cursor 0:abc" \
862 "ignoring GtkTreeView command \"treeview2:set_cursor 0:abc\""
863 check_error
"treeview2:set_cursor 0 0" \
864 "ignoring GtkTreeView command \"treeview2:set_cursor 0 0\""
865 check_error
"treeview2:set_cursor 0 $BIG_STRING" \
866 "ignoring GtkTreeView command \"treeview2:set_cursor 0 $BIG_STRING\""
867 check_error
"treeview2:clear 0" \
868 "ignoring GtkTreeView command \"treeview2:clear 0\""
869 check_error
"treeview2:clear\n treeview2:insert_row 0" \
870 "ignoring GtkTreeView command \" treeview2:insert_row 0\""
872 check_error
"treeview1:set" \
873 "ignoring GtkTreeView command \"treeview1:set\""
874 check_error
"treeview1:set " \
875 "ignoring GtkTreeView command \"treeview1:set \""
876 check_error
"treeview1:set nnn" \
877 "ignoring GtkTreeView command \"treeview1:set nnn\""
878 check_error
"treeview1:set $BIG_STRING" \
879 "ignoring GtkTreeView command \"treeview1:set $BIG_STRING\""
880 check_error
"treeview1:set 0 nnn" \
881 "ignoring GtkTreeView command \"treeview1:set 0 nnn\""
882 check_error
"treeview1:set nnn 0" \
883 "ignoring GtkTreeView command \"treeview1:set nnn 0\""
884 check_error
"treeview1:set 1 10000 77" \
885 "ignoring GtkTreeView command \"treeview1:set 1 10000 77\""
886 check_error
"treeview1:set 1 11 77" \
887 "ignoring GtkTreeView command \"treeview1:set 1 11 77\""
888 check_error
"treeview1:set nnn 1 77" \
889 "ignoring GtkTreeView command \"treeview1:set nnn 1 77\""
890 check_error
"treeview1:set 1 nnn 77" \
891 "ignoring GtkTreeView command \"treeview1:set 1 nnn 77\""
892 check_error
"treeview1:set -1 1 77" \
893 "ignoring GtkTreeView command \"treeview1:set -1 1 77\""
894 check_error
"treeview1:set 1 -1 77" \
895 "ignoring GtkTreeView command \"treeview1:set 1 -1 77\""
896 # GtkTreeView set junk into numeric columns
897 check_error
"treeview1:set 1 1 abc" \
898 "ignoring GtkTreeView command \"treeview1:set 1 1 abc\""
899 check_error
"treeview1:set 1 1 $BIG_STRING" \
900 "ignoring GtkTreeView command \"treeview1:set 1 1 $BIG_STRING\""
901 check_error
"treeview1:set 1 1" \
902 "ignoring GtkTreeView command \"treeview1:set 1 1\""
903 check_error
"treeview1:set 1 1 555.5" \
904 "ignoring GtkTreeView command \"treeview1:set 1 1 555.5\""
905 check_error
"treeview1:set 1 1 555 5" \
906 "ignoring GtkTreeView command \"treeview1:set 1 1 555 5\""
907 check_error
"treeview1:set 1 7 abc" \
908 "ignoring GtkTreeView command \"treeview1:set 1 7 abc\""
909 check_error
"treeview1:set 1 7 $BIG_STRING" \
910 "ignoring GtkTreeView command \"treeview1:set 1 7 $BIG_STRING\""
911 check_error
"treeview1:set 1 7" \
912 "ignoring GtkTreeView command \"treeview1:set 1 7\""
913 check_error
"treeview1:set 1 7 555 5" \
914 "ignoring GtkTreeView command \"treeview1:set 1 7 555 5\""
917 check_error
"treeviewcolumn3:nnn" \
918 "ignoring GtkTreeViewColumn command \"treeviewcolumn3:nnn\""
919 check_error
"treeviewcolumn3:force" \
920 "ignoring GtkTreeViewColumn command \"treeviewcolumn3:force\""
922 check_error
"entry1:nnn" \
923 "ignoring GtkEntry command \"entry1:nnn\""
925 check_error
"calendar1:nnn" \
926 "ignoring GtkCalendar command \"calendar1:nnn\""
927 check_error
"calendar1:select_date" \
928 "ignoring GtkCalendar command \"calendar1:select_date\""
929 check_error
"calendar1:select_date " \
930 "ignoring GtkCalendar command \"calendar1:select_date \""
931 check_error
"calendar1:select_date nnn" \
932 "ignoring GtkCalendar command \"calendar1:select_date nnn\""
933 check_error
"calendar1:select_date $BIG_STRING" \
934 "ignoring GtkCalendar command \"calendar1:select_date $BIG_STRING\""
935 check_error
"calendar1:select_date 2000-12-33" \
936 "ignoring GtkCalendar command \"calendar1:select_date 2000-12-33\""
937 check_error
"calendar1:select_date 2000-13-20" \
938 "ignoring GtkCalendar command \"calendar1:select_date 2000-13-20\""
939 check_error
"calendar1:select_date 2000-10-10 1" \
940 "ignoring GtkCalendar command \"calendar1:select_date 2000-10-10 1\""
941 check_error
"calendar1:mark_day" \
942 "ignoring GtkCalendar command \"calendar1:mark_day\""
943 check_error
"calendar1:mark_day " \
944 "ignoring GtkCalendar command \"calendar1:mark_day \""
945 check_error
"calendar1:mark_day nnn" \
946 "ignoring GtkCalendar command \"calendar1:mark_day nnn\""
947 check_error
"calendar1:mark_day $BIG_STRING" \
948 "ignoring GtkCalendar command \"calendar1:mark_day $BIG_STRING\""
949 check_error
"calendar1:mark_day 10 1" \
950 "ignoring GtkCalendar command \"calendar1:mark_day 10 1\""
951 check_error
"calendar1:clear_marks 1" \
952 "ignoring GtkCalendar command \"calendar1:clear_marks 1\""
954 check_error
"socket1:nnn" \
955 "ignoring GtkSocket command \"socket1:nnn\""
956 check_error
"socket1:id 1" \
957 "ignoring GtkSocket command \"socket1:id 1\""
959 check_error
"scrolledwindow3:nnn" \
960 "ignoring GtkScrolledWindow command \"scrolledwindow3:nnn\""
961 check_error
"scrolledwindow3:hscroll" \
962 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll\""
963 check_error
"scrolledwindow3:hscroll " \
964 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll \""
965 check_error
"scrolledwindow3:hscroll nnn" \
966 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll nnn\""
967 check_error
"scrolledwindow3:hscroll $BIG_STRING" \
968 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll $BIG_STRING\""
969 check_error
"scrolledwindow3:hscroll 100 100" \
970 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll 100 100\""
971 check_error
"scrolledwindow3:vscroll" \
972 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll\""
973 check_error
"scrolledwindow3:vscroll " \
974 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll \""
975 check_error
"scrolledwindow3:vscroll nnn" \
976 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll nnn\""
977 check_error
"scrolledwindow3:vscroll $BIG_STRING" \
978 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll $BIG_STRING\""
979 check_error
"scrolledwindow3:vscroll 100 100" \
980 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll 100 100\""
981 check_error
"scrolledwindow3:hscroll_to_range" \
982 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range\""
983 check_error
"scrolledwindow3:hscroll_to_range " \
984 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range \""
985 check_error
"scrolledwindow3:hscroll_to_range nnn" \
986 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range nnn\""
987 check_error
"scrolledwindow3:hscroll_to_range $BIG_STRING" \
988 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range $BIG_STRING\""
989 check_error
"scrolledwindow3:hscroll_to_range 10" \
990 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 10\""
991 check_error
"scrolledwindow3:hscroll_to_range 10 nnn" \
992 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 10 nnn\""
993 check_error
"scrolledwindow3:hscroll_to_range nnn 10" \
994 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range nnn 10\""
995 check_error
"scrolledwindow3:hscroll_to_range 5 10 10" \
996 "ignoring GtkScrolledWindow command \"scrolledwindow3:hscroll_to_range 5 10 10\""
997 check_error
"scrolledwindow3:vscroll_to_range" \
998 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range\""
999 check_error
"scrolledwindow3:vscroll_to_range " \
1000 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range \""
1001 check_error
"scrolledwindow3:vscroll_to_range nnn" \
1002 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range nnn\""
1003 check_error
"scrolledwindow3:vscroll_to_range $BIG_STRING" \
1004 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range $BIG_STRING\""
1005 check_error
"scrolledwindow3:vscroll_to_range 10" \
1006 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 10\""
1007 check_error
"scrolledwindow3:vscroll_to_range 10 nnn" \
1008 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 10 nnn\""
1009 check_error
"scrolledwindow3:vscroll_to_range nnn 10" \
1010 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range nnn 10\""
1011 check_error
"scrolledwindow3:vscroll_to_range 5 10 10" \
1012 "ignoring GtkScrolledWindow command \"scrolledwindow3:vscroll_to_range 5 10 10\""
1014 check_error
"eventbox1:nnn" \
1015 "ignoring GtkEventBox command \"eventbox1:nnn\""
1017 check_error
"drawingarea1:nnn" \
1018 "ignoring GtkDrawingArea command \"drawingarea1:nnn\""
1019 check_error
"drawingarea1:rectangle" \
1020 "ignoring GtkDrawingArea command \"drawingarea1:rectangle\""
1021 check_error
"drawingarea1:rectangle " \
1022 "ignoring GtkDrawingArea command \"drawingarea1:rectangle \""
1023 check_error
"drawingarea1:rectangle nnn" \
1024 "ignoring GtkDrawingArea command \"drawingarea1:rectangle nnn\""
1025 check_error
"drawingarea1:rectangle $BIG_STRING" \
1026 "ignoring GtkDrawingArea command \"drawingarea1:rectangle $BIG_STRING\""
1027 check_error
"drawingarea1:rectangle 1" \
1028 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1\""
1029 check_error
"drawingarea1:rectangle 1 10" \
1030 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10\""
1031 check_error
"drawingarea1:rectangle 1 10 10" \
1032 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10\""
1033 check_error
"drawingarea1:rectangle 1 10 10 20" \
1034 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20\""
1035 check_error
"drawingarea1:rectangle 1 10 10 20 nnn" \
1036 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20 nnn\""
1037 check_error
"drawingarea1:rectangle 1 10 10 20 20 20" \
1038 "ignoring GtkDrawingArea command \"drawingarea1:rectangle 1 10 10 20 20 20\""
1039 check_error
"drawingarea1:arc" \
1040 "ignoring GtkDrawingArea command \"drawingarea1:arc\""
1041 check_error
"drawingarea1:arc " \
1042 "ignoring GtkDrawingArea command \"drawingarea1:arc \""
1043 check_error
"drawingarea1:arc nnn" \
1044 "ignoring GtkDrawingArea command \"drawingarea1:arc nnn\""
1045 check_error
"drawingarea1:arc $BIG_STRING" \
1046 "ignoring GtkDrawingArea command \"drawingarea1:arc $BIG_STRING\""
1047 check_error
"drawingarea1:arc 1" \
1048 "ignoring GtkDrawingArea command \"drawingarea1:arc 1\""
1049 check_error
"drawingarea1:arc 1 10" \
1050 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10\""
1051 check_error
"drawingarea1:arc 1 10 10" \
1052 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10\""
1053 check_error
"drawingarea1:arc 1 10 10 20" \
1054 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20\""
1055 check_error
"drawingarea1:arc 1 10 10 20 45" \
1056 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45\""
1057 check_error
"drawingarea1:arc 1 10 10 20 45 nnn" \
1058 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45 nnn\""
1059 check_error
"drawingarea1:arc 1 10 10 20 45 90 7" \
1060 "ignoring GtkDrawingArea command \"drawingarea1:arc 1 10 10 20 45 90 7\""
1061 check_error
"drawingarea1:arc_negative" \
1062 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative\""
1063 check_error
"drawingarea1:arc_negative " \
1064 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative \""
1065 check_error
"drawingarea1:arc_negative nnn" \
1066 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative nnn\""
1067 check_error
"drawingarea1:arc_negative $BIG_STRING" \
1068 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative $BIG_STRING\""
1069 check_error
"drawingarea1:arc_negative 1" \
1070 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1\""
1071 check_error
"drawingarea1:arc_negative 1 10" \
1072 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10\""
1073 check_error
"drawingarea1:arc_negative 1 10 10" \
1074 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10\""
1075 check_error
"drawingarea1:arc_negative 1 10 10 20" \
1076 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20\""
1077 check_error
"drawingarea1:arc_negative 1 10 10 20 45" \
1078 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45\""
1079 check_error
"drawingarea1:arc_negative 1 10 10 20 45 nnn" \
1080 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45 nnn\""
1081 check_error
"drawingarea1:arc_negative 1 10 10 20 45 90 7" \
1082 "ignoring GtkDrawingArea command \"drawingarea1:arc_negative 1 10 10 20 45 90 7\""
1083 check_error
"drawingarea1:curve_to" \
1084 "ignoring GtkDrawingArea command \"drawingarea1:curve_to\""
1085 check_error
"drawingarea1:curve_to " \
1086 "ignoring GtkDrawingArea command \"drawingarea1:curve_to \""
1087 check_error
"drawingarea1:curve_to nnn" \
1088 "ignoring GtkDrawingArea command \"drawingarea1:curve_to nnn\""
1089 check_error
"drawingarea1:curve_to $BIG_STRING" \
1090 "ignoring GtkDrawingArea command \"drawingarea1:curve_to $BIG_STRING\""
1091 check_error
"drawingarea1:curve_to 1" \
1092 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1\""
1093 check_error
"drawingarea1:curve_to 1 10" \
1094 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10\""
1095 check_error
"drawingarea1:curve_to 1 10 10" \
1096 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10\""
1097 check_error
"drawingarea1:curve_to 1 10 10 20" \
1098 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20\""
1099 check_error
"drawingarea1:curve_to 1 10 10 20 20" \
1100 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20\""
1101 check_error
"drawingarea1:curve_to 1 10 10 20 20 25" \
1102 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25\""
1103 check_error
"drawingarea1:curve_to 1 10 10 20 20 25 nnn" \
1104 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25 nnn\""
1105 check_error
"drawingarea1:curve_to 1 10 10 20 20 25 25 77" \
1106 "ignoring GtkDrawingArea command \"drawingarea1:curve_to 1 10 10 20 20 25 25 77\""
1107 check_error
"drawingarea1:rel_curve_to" \
1108 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to\""
1109 check_error
"drawingarea1:rel_curve_to " \
1110 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to \""
1111 check_error
"drawingarea1:rel_curve_to nnn" \
1112 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to nnn\""
1113 check_error
"drawingarea1:rel_curve_to $BIG_STRING" \
1114 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to $BIG_STRING\""
1115 check_error
"drawingarea1:rel_curve_to 1" \
1116 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1\""
1117 check_error
"drawingarea1:rel_curve_to 1 10" \
1118 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10\""
1119 check_error
"drawingarea1:rel_curve_to 1 10 10" \
1120 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10\""
1121 check_error
"drawingarea1:rel_curve_to 1 10 10 20" \
1122 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20\""
1123 check_error
"drawingarea1:rel_curve_to 1 10 10 20 20" \
1124 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20\""
1125 check_error
"drawingarea1:rel_curve_to 1 10 10 20 20 25" \
1126 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25\""
1127 check_error
"drawingarea1:rel_curve_to 1 10 10 20 20 25 nnn" \
1128 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25 nnn\""
1129 check_error
"drawingarea1:rel_curve_to 1 10 10 20 20 25 25 77" \
1130 "ignoring GtkDrawingArea command \"drawingarea1:rel_curve_to 1 10 10 20 20 25 25 77\""
1131 check_error
"drawingarea1:line_to" \
1132 "ignoring GtkDrawingArea command \"drawingarea1:line_to\""
1133 check_error
"drawingarea1:line_to " \
1134 "ignoring GtkDrawingArea command \"drawingarea1:line_to \""
1135 check_error
"drawingarea1:line_to nnn" \
1136 "ignoring GtkDrawingArea command \"drawingarea1:line_to nnn\""
1137 check_error
"drawingarea1:line_to $BIG_STRING" \
1138 "ignoring GtkDrawingArea command \"drawingarea1:line_to $BIG_STRING\""
1139 check_error
"drawingarea1:line_to 1" \
1140 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1\""
1141 check_error
"drawingarea1:line_to 1 20" \
1142 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20\""
1143 check_error
"drawingarea1:line_to 1 20 nnn" \
1144 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20 nnn\""
1145 check_error
"drawingarea1:line_to 1 20 20 20" \
1146 "ignoring GtkDrawingArea command \"drawingarea1:line_to 1 20 20 20\""
1147 check_error
"drawingarea1:rel_line_to" \
1148 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to\""
1149 check_error
"drawingarea1:rel_line_to " \
1150 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to \""
1151 check_error
"drawingarea1:rel_line_to nnn" \
1152 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to nnn\""
1153 check_error
"drawingarea1:rel_line_to $BIG_STRING" \
1154 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to $BIG_STRING\""
1155 check_error
"drawingarea1:rel_line_to 1" \
1156 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1\""
1157 check_error
"drawingarea1:rel_line_to 1 20" \
1158 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20\""
1159 check_error
"drawingarea1:rel_line_to 1 20 nnn" \
1160 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 nnn\""
1161 check_error
"drawingarea1:rel_line_to 1 20 nnn" \
1162 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 nnn\""
1163 check_error
"drawingarea1:rel_line_to 1 20 20 20" \
1164 "ignoring GtkDrawingArea command \"drawingarea1:rel_line_to 1 20 20 20\""
1165 check_error
"drawingarea1:move_to" \
1166 "ignoring GtkDrawingArea command \"drawingarea1:move_to\""
1167 check_error
"drawingarea1:move_to " \
1168 "ignoring GtkDrawingArea command \"drawingarea1:move_to \""
1169 check_error
"drawingarea1:move_to nnn" \
1170 "ignoring GtkDrawingArea command \"drawingarea1:move_to nnn\""
1171 check_error
"drawingarea1:move_to $BIG_STRING" \
1172 "ignoring GtkDrawingArea command \"drawingarea1:move_to $BIG_STRING\""
1173 check_error
"drawingarea1:move_to 1" \
1174 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1\""
1175 check_error
"drawingarea1:move_to 1 20" \
1176 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20\""
1177 check_error
"drawingarea1:move_to 1 20 nnn" \
1178 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20 nnn\""
1179 check_error
"drawingarea1:move_to 1 20 20 20" \
1180 "ignoring GtkDrawingArea command \"drawingarea1:move_to 1 20 20 20\""
1181 check_error
"drawingarea1:rel_move_to" \
1182 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to\""
1183 check_error
"drawingarea1:rel_move_to " \
1184 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to \""
1185 check_error
"drawingarea1:rel_move_to nnn" \
1186 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to nnn\""
1187 check_error
"drawingarea1:rel_move_to $BIG_STRING" \
1188 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to $BIG_STRING\""
1189 check_error
"drawingarea1:rel_move_to 1" \
1190 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1\""
1191 check_error
"drawingarea1:rel_move_to 1 20" \
1192 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20\""
1193 check_error
"drawingarea1:rel_move_to 1 20 nnn" \
1194 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20 nnn\""
1195 check_error
"drawingarea1:rel_move_to 1 20 20 20" \
1196 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_to 1 20 20 20\""
1197 check_error
"drawingarea1:close_path" \
1198 "ignoring GtkDrawingArea command \"drawingarea1:close_path\""
1199 check_error
"drawingarea1:close_path " \
1200 "ignoring GtkDrawingArea command \"drawingarea1:close_path \""
1201 check_error
"drawingarea1:close_path nnn" \
1202 "ignoring GtkDrawingArea command \"drawingarea1:close_path nnn\""
1203 check_error
"drawingarea1:close_path $BIG_STRING" \
1204 "ignoring GtkDrawingArea command \"drawingarea1:close_path $BIG_STRING\""
1205 check_error
"drawingarea1:close_path 1 1" \
1206 "ignoring GtkDrawingArea command \"drawingarea1:close_path 1 1\""
1207 check_error
"drawingarea1:set_source_rgba" \
1208 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba\""
1209 check_error
"drawingarea1:set_source_rgba " \
1210 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba \""
1211 check_error
"drawingarea1:set_source_rgba nnn" \
1212 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba nnn\""
1213 check_error
"drawingarea1:set_source_rgba $BIG_STRING" \
1214 "ignoring GtkDrawingArea command \"drawingarea1:set_source_rgba $BIG_STRING\""
1215 check_error
"drawingarea1:set_dash" \
1216 "ignoring GtkDrawingArea command \"drawingarea1:set_dash\""
1217 check_error
"drawingarea1:set_dash " \
1218 "ignoring GtkDrawingArea command \"drawingarea1:set_dash \""
1219 check_error
"drawingarea1:set_dash nnn" \
1220 "ignoring GtkDrawingArea command \"drawingarea1:set_dash nnn\""
1221 check_error
"drawingarea1:set_dash $BIG_STRING" \
1222 "ignoring GtkDrawingArea command \"drawingarea1:set_dash $BIG_STRING\""
1223 check_error
"drawingarea1:set_line_cap" \
1224 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap\""
1225 check_error
"drawingarea1:set_line_cap " \
1226 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap \""
1227 check_error
"drawingarea1:set_line_cap nnn" \
1228 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap nnn\""
1229 check_error
"drawingarea1:set_line_cap $BIG_STRING" \
1230 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap $BIG_STRING\""
1231 check_error
"drawingarea1:set_line_cap 1" \
1232 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1\""
1233 check_error
"drawingarea1:set_line_cap 1 nnn" \
1234 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1 nnn\""
1235 check_error
"drawingarea1:set_line_cap 1 butt butt" \
1236 "ignoring GtkDrawingArea command \"drawingarea1:set_line_cap 1 butt butt\""
1237 check_error
"drawingarea1:set_line_join" \
1238 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join\""
1239 check_error
"drawingarea1:set_line_join " \
1240 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join \""
1241 check_error
"drawingarea1:set_line_join nnn" \
1242 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join nnn\""
1243 check_error
"drawingarea1:set_line_join $BIG_STRING" \
1244 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join $BIG_STRING\""
1245 check_error
"drawingarea1:set_line_join 1" \
1246 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1\""
1247 check_error
"drawingarea1:set_line_join 1 nnn" \
1248 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1 nnn\""
1249 check_error
"drawingarea1:set_line_join 1 miter miter" \
1250 "ignoring GtkDrawingArea command \"drawingarea1:set_line_join 1 miter miter\""
1251 check_error
"drawingarea1:set_line_width" \
1252 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width\""
1253 check_error
"drawingarea1:set_line_width " \
1254 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width \""
1255 check_error
"drawingarea1:set_line_width nnn" \
1256 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width nnn\""
1257 check_error
"drawingarea1:set_line_width $BIG_STRING" \
1258 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width $BIG_STRING\""
1259 check_error
"drawingarea1:set_line_width 1" \
1260 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1\""
1261 check_error
"drawingarea1:set_line_width 1 nnn" \
1262 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1 nnn\""
1263 check_error
"drawingarea1:set_line_width 1 3 3" \
1264 "ignoring GtkDrawingArea command \"drawingarea1:set_line_width 1 3 3\""
1265 check_error
"drawingarea1:fill" \
1266 "ignoring GtkDrawingArea command \"drawingarea1:fill\""
1267 check_error
"drawingarea1:fill " \
1268 "ignoring GtkDrawingArea command \"drawingarea1:fill \""
1269 check_error
"drawingarea1:fill nnn" \
1270 "ignoring GtkDrawingArea command \"drawingarea1:fill nnn\""
1271 check_error
"drawingarea1:fill $BIG_STRING" \
1272 "ignoring GtkDrawingArea command \"drawingarea1:fill $BIG_STRING\""
1273 check_error
"drawingarea1:fill 1 1" \
1274 "ignoring GtkDrawingArea command \"drawingarea1:fill 1 1\""
1275 check_error
"drawingarea1:fill_preserve" \
1276 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve\""
1277 check_error
"drawingarea1:fill_preserve " \
1278 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve \""
1279 check_error
"drawingarea1:fill_preserve nnn" \
1280 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve nnn\""
1281 check_error
"drawingarea1:fill_preserve $BIG_STRING" \
1282 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve $BIG_STRING\""
1283 check_error
"drawingarea1:fill_preserve 1 1" \
1284 "ignoring GtkDrawingArea command \"drawingarea1:fill_preserve 1 1\""
1285 check_error
"drawingarea1:stroke" \
1286 "ignoring GtkDrawingArea command \"drawingarea1:stroke\""
1287 check_error
"drawingarea1:stroke " \
1288 "ignoring GtkDrawingArea command \"drawingarea1:stroke \""
1289 check_error
"drawingarea1:stroke nnn" \
1290 "ignoring GtkDrawingArea command \"drawingarea1:stroke nnn\""
1291 check_error
"drawingarea1:stroke $BIG_STRING" \
1292 "ignoring GtkDrawingArea command \"drawingarea1:stroke $BIG_STRING\""
1293 check_error
"drawingarea1:stroke 3 3" \
1294 "ignoring GtkDrawingArea command \"drawingarea1:stroke 3 3\""
1295 check_error
"drawingarea1:stroke_preserve" \
1296 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve\""
1297 check_error
"drawingarea1:stroke_preserve " \
1298 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve \""
1299 check_error
"drawingarea1:stroke_preserve nnn" \
1300 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve nnn\""
1301 check_error
"drawingarea1:stroke_preserve $BIG_STRING" \
1302 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve $BIG_STRING\""
1303 check_error
"drawingarea1:stroke_preserve 3 3" \
1304 "ignoring GtkDrawingArea command \"drawingarea1:stroke_preserve 3 3\""
1305 check_error
"drawingarea1:remove" \
1306 "ignoring GtkDrawingArea command \"drawingarea1:remove\""
1307 check_error
"drawingarea1:remove " \
1308 "ignoring GtkDrawingArea command \"drawingarea1:remove \""
1309 check_error
"drawingarea1:remove nnn" \
1310 "ignoring GtkDrawingArea command \"drawingarea1:remove nnn\""
1311 check_error
"drawingarea1:remove $BIG_STRING" \
1312 "ignoring GtkDrawingArea command \"drawingarea1:remove $BIG_STRING\""
1313 check_error
"drawingarea1:remove 1 1" \
1314 "ignoring GtkDrawingArea command \"drawingarea1:remove 1 1\""
1315 check_error
"drawingarea1:set_show_text" \
1316 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text\""
1317 check_error
"drawingarea1:set_show_text " \
1318 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text \""
1319 check_error
"drawingarea1:set_show_text nnn" \
1320 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text nnn\""
1321 check_error
"drawingarea1:set_show_text $BIG_STRING" \
1322 "ignoring GtkDrawingArea command \"drawingarea1:set_show_text $BIG_STRING\""
1323 check_error
"drawingarea1:set_font_face" \
1324 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face\""
1325 check_error
"drawingarea1:set_font_face " \
1326 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face \""
1327 check_error
"drawingarea1:set_font_face nnn" \
1328 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face nnn\""
1329 check_error
"drawingarea1:set_font_face $BIG_STRING" \
1330 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face $BIG_STRING\""
1331 check_error
"drawingarea1:set_font_face 1" \
1332 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1\""
1333 check_error
"drawingarea1:set_font_face 1 normal" \
1334 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal\""
1335 check_error
"drawingarea1:set_font_size" \
1336 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size\""
1337 check_error
"drawingarea1:set_font_size " \
1338 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size \""
1339 check_error
"drawingarea1:set_font_size nnn" \
1340 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size nnn\""
1341 check_error
"drawingarea1:set_font_size $BIG_STRING" \
1342 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size $BIG_STRING\""
1343 check_error
"drawingarea1:set_font_size 1" \
1344 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1\""
1345 check_error
"drawingarea1:set_font_size 1 nnn" \
1346 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1 nnn\""
1347 check_error
"drawingarea1:set_font_size 1 10 10" \
1348 "ignoring GtkDrawingArea command \"drawingarea1:set_font_size 1 10 10\""
1349 check_error
"drawingarea1:set_font_face" \
1350 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face\""
1351 check_error
"drawingarea1:set_font_face 1" \
1352 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1\""
1353 check_error
"drawingarea1:set_font_face 1 normal" \
1354 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal\""
1355 check_error
"drawingarea1:set_font_face 1 normal nnn" \
1356 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal nnn\""
1357 check_error
"drawingarea1:set_font_face 1 nnn normal" \
1358 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 nnn normal\""
1359 check_error
"drawingarea1:set_font_face 1 normal $BIG_STRING" \
1360 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 normal $BIG_STRING\""
1361 check_error
"drawingarea1:set_font_face 1 $BIG_STRING normal" \
1362 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face 1 $BIG_STRING normal\""
1363 check_error
"drawingarea1:set_font_face x normal normal" \
1364 "ignoring GtkDrawingArea command \"drawingarea1:set_font_face x normal normal\""
1365 check_error
"drawingarea1:rel_move_for" \
1366 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for\""
1367 check_error
"drawingarea1:rel_move_for " \
1368 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for \""
1369 check_error
"drawingarea1:rel_move_for 1" \
1370 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for 1\""
1371 check_error
"drawingarea1:rel_move_for 1 nnn Text" \
1372 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for 1 nnn Text\""
1373 check_error
"drawingarea1:rel_move_for 1 $BIG_STRING Text" \
1374 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for 1 $BIG_STRING Text\""
1375 check_error
"drawingarea1:rel_move_for nnn c Text" \
1376 "ignoring GtkDrawingArea command \"drawingarea1:rel_move_for nnn c Text\""
1377 check_error
"drawingarea1:transform" \
1378 "ignoring GtkDrawingArea command \"drawingarea1:transform\""
1379 check_error
"drawingarea1:transform " \
1380 "ignoring GtkDrawingArea command \"drawingarea1:transform \""
1381 check_error
"drawingarea1:transform nnn" \
1382 "ignoring GtkDrawingArea command \"drawingarea1:transform nnn\""
1383 check_error
"drawingarea1:transform $BIG_STRING" \
1384 "ignoring GtkDrawingArea command \"drawingarea1:transform $BIG_STRING\""
1385 check_error
"drawingarea1:transform 1 2" \
1386 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2\""
1387 check_error
"drawingarea1:transform 1 2 3" \
1388 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3\""
1389 check_error
"drawingarea1:transform 1 2 3 4" \
1390 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4\""
1391 check_error
"drawingarea1:transform 1 2 3 4 5" \
1392 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5\""
1393 check_error
"drawingarea1:transform 1 2 3 4 5 6" \
1394 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5 6\""
1395 check_error
"drawingarea1:transform 1 2 3 x 5 6 7" \
1396 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 x 5 6 7\""
1397 check_error
"drawingarea1:transform 1 2 3 4 5 6 7 8" \
1398 "ignoring GtkDrawingArea command \"drawingarea1:transform 1 2 3 4 5 6 7 8\""
1399 check_error
"drawingarea1:translate" \
1400 "ignoring GtkDrawingArea command \"drawingarea1:translate\""
1401 check_error
"drawingarea1:translate " \
1402 "ignoring GtkDrawingArea command \"drawingarea1:translate \""
1403 check_error
"drawingarea1:translate nnn" \
1404 "ignoring GtkDrawingArea command \"drawingarea1:translate nnn\""
1405 check_error
"drawingarea1:translate $BIG_STRING" \
1406 "ignoring GtkDrawingArea command \"drawingarea1:translate $BIG_STRING\""
1407 check_error
"drawingarea1:translate 1" \
1408 "ignoring GtkDrawingArea command \"drawingarea1:translate 1\""
1409 check_error
"drawingarea1:translate 1 2" \
1410 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 2\""
1411 check_error
"drawingarea1:translate nnn 2 3" \
1412 "ignoring GtkDrawingArea command \"drawingarea1:translate nnn 2 3\""
1413 check_error
"drawingarea1:translate 1 x 3" \
1414 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 x 3\""
1415 check_error
"drawingarea1:translate 1 2 3 4" \
1416 "ignoring GtkDrawingArea command \"drawingarea1:translate 1 2 3 4\""
1417 check_error
"drawingarea1:scale" \
1418 "ignoring GtkDrawingArea command \"drawingarea1:scale\""
1419 check_error
"drawingarea1:scale " \
1420 "ignoring GtkDrawingArea command \"drawingarea1:scale \""
1421 check_error
"drawingarea1:scale nnn" \
1422 "ignoring GtkDrawingArea command \"drawingarea1:scale nnn\""
1423 check_error
"drawingarea1:scale $BIG_STRING" \
1424 "ignoring GtkDrawingArea command \"drawingarea1:scale $BIG_STRING\""
1425 check_error
"drawingarea1:scale 1" \
1426 "ignoring GtkDrawingArea command \"drawingarea1:scale 1\""
1427 check_error
"drawingarea1:scale 1 2" \
1428 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 2\""
1429 check_error
"drawingarea1:scale nnn 2 3" \
1430 "ignoring GtkDrawingArea command \"drawingarea1:scale nnn 2 3\""
1431 check_error
"drawingarea1:scale 1 x 3" \
1432 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 x 3\""
1433 check_error
"drawingarea1:scale 1 2 3 4" \
1434 "ignoring GtkDrawingArea command \"drawingarea1:scale 1 2 3 4\""
1435 check_error
"drawingarea1:rotate" \
1436 "ignoring GtkDrawingArea command \"drawingarea1:rotate\""
1437 check_error
"drawingarea1:rotate " \
1438 "ignoring GtkDrawingArea command \"drawingarea1:rotate \""
1439 check_error
"drawingarea1:rotate 1" \
1440 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1\""
1441 check_error
"drawingarea1:rotate nnn 2" \
1442 "ignoring GtkDrawingArea command \"drawingarea1:rotate nnn 2\""
1443 check_error
"drawingarea1:rotate $BIG_STRING 2" \
1444 "ignoring GtkDrawingArea command \"drawingarea1:rotate $BIG_STRING 2\""
1445 check_error
"drawingarea1:rotate 1 x" \
1446 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1 x\""
1447 check_error
"drawingarea1:rotate 1 10 10" \
1448 "ignoring GtkDrawingArea command \"drawingarea1:rotate 1 10 10\""
1449 check_error
"drawingarea1:save" \
1450 "ignoring GtkDrawingArea command \"drawingarea1:save\""
1451 check_error
"drawingarea1:save " \
1452 "ignoring GtkDrawingArea command \"drawingarea1:save \""
1453 check_error
"drawingarea1:save x" \
1454 "ignoring GtkDrawingArea command \"drawingarea1:save x\""
1455 check_error
"drawingarea1:save $BIG_STRING" \
1456 "ignoring GtkDrawingArea command \"drawingarea1:save $BIG_STRING\""
1457 check_error
"drawingarea1:save x.yz" \
1458 "ignoring GtkDrawingArea command \"drawingarea1:save x.yz\""
1459 check_error
"drawingarea1:save x.pdf 2" \
1460 "ignoring GtkDrawingArea command \"drawingarea1:save x.pdf 2\""
1461 check_error
"drawingarea1:save xsvg" \
1462 "ignoring GtkDrawingArea command \"drawingarea1:save xsvg\""
1465 echo "_:main_quit" >$FIN
1469 if test $AUTOMATIC; then
1471 ## Logging to stderr
1473 .
/pipeglade
-i $FIN 2> $FERR -l - &
1474 # wait for $FIN to appear
1475 while test ! \
( -e $FIN -a -e $FERR \
); do :; done
1477 check_error
"# Comment" \
1478 "########## ##### (New Pipeglade session) #####"
1481 check_error
"_:main_quit" \
1493 # Tests for the principal functionality---valid actions leading to
1494 # correct results. Manual intervention is required. Instructions
1495 # will be given on the statusbar of the test GUI.
1496 ######################################################################
1501 # check nr_of_feedback_msgs user_instruction command expected_feedback1 expected_feedback2 ...
1503 while test ! \
( -e $FOUT \
); do :; done
1504 # Flush stale pipeglade output
1505 while read -t .1 <$FOUT; do : ; done
1508 echo "$SEND ${3:0:300}"
1509 if test "$INSTRUCTION"; then
1510 echo -e "statusbar1:push_id =check= $INSTRUCTION" >$FIN
1512 while test ! \
( -e $FIN \
); do :; done
1515 while (( i
<$N )); do
1517 if test "$r" != ""; then
1518 if grep -qFe "${4:0:300}" <<< ${r:0:300}; then
1520 echo " $OK ($i) ${r:0:300}"
1523 echo " $FAIL($i) ${r:0:300}"
1524 echo " $EXPECTED ${4:0:300}"
1530 if test "$INSTRUCTION"; then
1531 echo -e "statusbar1:pop_id =check=" >$FIN
1536 if test $AUTOMATIC; then
1538 # Being impervious to locale
1539 LC_ALL
=de_DE.UTF-8 .
/pipeglade
-i $FIN -o $FOUT -O $ERR_FILE -b >/dev
/null
1541 "drawingarea1:transform 1 1.5 1 1 1 1 1"
1543 "progressbar1:set_fraction .5"
1545 "scale1:set_value .5" \
1551 check_cmd
"(! grep -qe \"ignoring GtkDrawingArea command\" $ERR_FILE)"
1552 check_cmd
"(! grep -qe \"ignoring GtkProgressBar command\" $ERR_FILE)"
1553 check_cmd
"(! grep -qe \"ignoring GtkScale command\" $ERR_FILE)"
1558 # Logging to stderr while redirecting stderr
1559 .
/pipeglade
-i $FIN -o $FOUT -O $ERR_FILE -l - -b >/dev
/null
1567 check_cmd
"grep -qe \"# Comment\" $ERR_FILE"
1568 check_cmd
"grep -qe \"ignoring command\" $ERR_FILE"
1572 # check if stdout remains line buffered even if directed to file
1573 .
/pipeglade
-i $FIN >$OUT_FILE &
1574 # wait for $FIN and $OUT_FILE to appear
1575 while test ! \
( -e $FIN -a -e $OUT_FILE \
); do :; done
1576 echo "button1:force" >$FIN
1577 check_cmd
"grep -qe 'button1:clicked' $OUT_FILE"
1578 echo "_:main_quit" >$FIN
1582 .
/pipeglade
-i $FIN -o $FOUT -b >$PID_FILE
1583 check_cmd
"kill `cat $PID_FILE /dev/null` 2&>/dev/null"
1587 .
/pipeglade
--display ${DISPLAY-:0} -i $FIN -o $FOUT -b >/dev
/null
1589 "# checking --display $DISPLAY\n _:main_quit"
1594 .
/pipeglade
-u simple_dialog.ui
-i $FIN -o $FOUT -b >$PID_FILE
1595 check_cmd
"ps -p `cat $PID_FILE` >/dev/null"
1597 "main_apply:force" \
1598 "main_apply:clicked"
1603 check_cmd
"! ps -p `cat $PID_FILE` >/dev/null"
1607 .
/pipeglade
-u simple_dialog.ui
-i $FIN -o $FOUT -b >/dev
/null
1618 .
/pipeglade
-u simple_open.ui
-i $FIN -o $FOUT >/dev
/null
&
1619 # wait for $FIN and $OUT_FILE to appear
1620 while test ! \
( -e $FIN -a -e $FOUT \
); do :; done
1622 "main_apply:force" \
1623 "main_apply:clicked" \
1632 .
/pipeglade
-u simple_open.ui
-i $FIN -o $FOUT -b >/dev
/null
1644 touch $ERR_FILE $LOG
1645 chmod 777 $ERR_FILE $LOG
1646 .
/pipeglade
-i $FIN -o $FOUT -O $ERR_FILE -l $LOG -b >/dev
/null
1647 check_cmd
"$STAT_CMD $FIN | grep -q '600$' 2>/dev/null"
1648 check_cmd
"$STAT_CMD $FOUT | grep -q '600$' 2>/dev/null"
1649 check_cmd
"$STAT_CMD $ERR_FILE | grep -q '600$' 2>/dev/null"
1650 check_cmd
"$STAT_CMD $LOG | grep -q '600$' 2>/dev/null"
1651 echo -e "_:main_quit" > $FIN
1654 rm -f $ERR_FILE $LOG
1657 .
/pipeglade
-i $FIN -o $FOUT -O $ERR_FILE -l $LOG -b >/dev
/null
1658 check_cmd
"$STAT_CMD $FIN | grep -q '600$' 2>/dev/null"
1659 check_cmd
"$STAT_CMD $FOUT | grep -q '600$' 2>/dev/null"
1660 check_cmd
"$STAT_CMD $ERR_FILE | grep -q '600$' 2>/dev/null"
1661 check_cmd
"$STAT_CMD $LOG | grep -q '600$' 2>/dev/null"
1662 echo -e "_:main_quit" > $FIN
1665 rm -f $ERR_FILE $LOG
1667 .
/pipeglade
-u clock.ui
-i $FIN -o $FOUT -b
1669 "main:resize 500 600\n main:move 100 100"
1670 check_cmd
'test $(xdotool search --name pipeglade-clock getwindowgeometry --shell | grep -c -e "X=...$" -e "Y=...$" -e "WIDTH=500" -e "HEIGHT=600") -eq 4'
1672 "main:resize\n main:move 0 0"
1673 check_cmd
'test $(xdotool search --name pipeglade-clock getwindowgeometry --shell | grep -c -e "X=.$" -e "Y=.$" -e "WIDTH=440" -e "HEIGHT=440") -eq 4'
1676 check_cmd
'test $(xdotool search --name pipeglade-clock getwindowgeometry --shell | grep -c -e "WIDTH=..." -e "HEIGHT=...") -eq 2'
1679 check_cmd
'test $(xdotool search --name pipeglade-clock getwindowgeometry --shell | grep -c -e "WIDTH=440" -e "HEIGHT=440") -eq 2'
1681 "main:set_title Another Title!"
1682 check_cmd
'xdotool search --name "Another Title!" getwindowname | grep -qe "Another Title!"'
1688 echo "#### # Initial line to check if -l option appends" >$LOG
1689 LC_NUMERIC
=de_DE.UTF-8 .
/pipeglade
-i $FIN -o $FOUT -l $LOG -b >/dev
/null
1692 if test $AUTOMATIC; then
1697 XID
=${XID/socket1:id }
1698 (sleep .5; .
/pipeglade
-u simple_dialog.ui
-e $XID <<< "main_cancel:force") >/dev
/null
&
1701 "socket1:plug-added" \
1702 "socket1:plug-removed"
1703 (sleep .5; .
/pipeglade
-u simple_dialog.ui
-e $XID <<< "main_cancel:force") >/dev
/null
&
1706 "socket1:plug-added" \
1707 "socket1:plug-removed"
1710 "entry1:set_text FFFF" \
1713 "entry1:set_text $BIG_STRING" \
1714 "entry1:text $BIG_STRING"
1719 "entry1:set_text FFFF" \
1722 "entry1:set_text " \
1725 "entry1:set_placeholder_text hint hint" # not much of a test
1727 "entry1:set_text FFFF" \
1730 "entry1:set_text GGGG" \
1736 "spinbutton1:set_text 33.0\n spinbutton1:set_range 50 60\n" \
1737 "spinbutton1:text 33.0" \
1738 "spinbutton1:text 50.0"
1740 "radiobutton2:set_active 1" \
1744 "radiobutton1:set_active 1" \
1748 "switch1:set_active 1" \
1751 "switch1:set_active 0" \
1754 "progressbar1:set_text $BIG_STRING"
1756 "progressbar1:set_text This Is A Progressbar."
1761 "togglebutton1:set_active 1" \
1764 "calendar1:select_date 1752-03-29" \
1765 "calendar1:clicked 1752-03-29"
1767 if test $INTERACTIVE; then
1768 check
1 "Open what should now be named \"EXPANDER\" and click the \"button inside expander\"" \
1769 "expander1:set_expanded 0\n expander1:set_label EXPANDER" \
1772 "expander1:set_expanded 0"
1776 "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" \
1777 "treeview1:clicked" \
1778 "treeview1:gboolean 2 0 1" \
1779 "treeview1:gint 2 1 -30000" \
1780 "treeview1:guint 2 2 66" \
1781 "treeview1:glong 2 3 -2000000000" \
1782 "treeview1:glong 2 4 4000000000" \
1783 "treeview1:glong 2 5 -2000000000" \
1784 "treeview1:gulong 2 6 4000000000" \
1785 "treeview1:gfloat 2 7 3.141000" \
1786 "treeview1:gdouble 2 8 3.141000" \
1787 "treeview1:gchararray 2 9 TEXT" \
1788 "treeview1:gchararray 2 10 cyan"
1791 "treeview1:save $DIR/$FILE1"
1793 "treeview1:save $DIR/$FILE1.bak"
1795 "treeview1:set_cursor" \
1798 "treeview1:insert_row 0\n treeview1:insert_row 2\n treeview1:set_cursor 4" \
1799 "treeview1:clicked" \
1800 "treeview1:gboolean 4 0 1" \
1801 "treeview1:gint 4 1 -30000" \
1802 "treeview1:guint 4 2 66" \
1803 "treeview1:glong 4 3 -2000000000" \
1804 "treeview1:glong 4 4 4000000000" \
1805 "treeview1:glong 4 5 -2000000000" \
1806 "treeview1:gulong 4 6 4000000000" \
1807 "treeview1:gfloat 4 7 3.141000" \
1808 "treeview1:gdouble 4 8 3.141000" \
1809 "treeview1:gchararray 4 9 TEXT" \
1810 "treeview1:gchararray 4 10 cyan"
1812 "treeview1:set_cursor" \
1815 "treeview1:move_row 4 0\n treeview1:set_cursor 0" \
1816 "treeview1:clicked" \
1817 "treeview1:gboolean 0 0 1" \
1818 "treeview1:gint 0 1 -30000" \
1819 "treeview1:guint 0 2 66" \
1820 "treeview1:glong 0 3 -2000000000" \
1821 "treeview1:glong 0 4 4000000000" \
1822 "treeview1:glong 0 5 -2000000000" \
1823 "treeview1:gulong 0 6 4000000000" \
1824 "treeview1:gfloat 0 7 3.141000" \
1825 "treeview1:gdouble 0 8 3.141000" \
1826 "treeview1:gchararray 0 9 TEXT" \
1827 "treeview1:gchararray 0 10 cyan"
1829 "treeview1:set_cursor" \
1832 "treeview1:move_row 0 2\n treeview1:set_cursor 1" \
1833 "treeview1:clicked" \
1834 "treeview1:gboolean 1 0 1" \
1835 "treeview1:gint 1 1 -30000" \
1836 "treeview1:guint 1 2 66" \
1837 "treeview1:glong 1 3 -2000000000" \
1838 "treeview1:glong 1 4 4000000000" \
1839 "treeview1:glong 1 5 -2000000000" \
1840 "treeview1:gulong 1 6 4000000000" \
1841 "treeview1:gfloat 1 7 3.141000" \
1842 "treeview1:gdouble 1 8 3.141000" \
1843 "treeview1:gchararray 1 9 TEXT" \
1844 "treeview1:gchararray 1 10 cyan"
1846 "treeview1:set_cursor" \
1849 "treeview1:insert_row end\n treeview1:move_row 1 end\n treeview1:set_cursor 6" \
1850 "treeview1:clicked" \
1851 "treeview1:gboolean 6 0 1" \
1852 "treeview1:gint 6 1 -30000" \
1853 "treeview1:guint 6 2 66" \
1854 "treeview1:glong 6 3 -2000000000" \
1855 "treeview1:glong 6 4 4000000000" \
1856 "treeview1:glong 6 5 -2000000000" \
1857 "treeview1:gulong 6 6 4000000000" \
1858 "treeview1:gfloat 6 7 3.141000" \
1859 "treeview1:gdouble 6 8 3.141000" \
1860 "treeview1:gchararray 6 9 TEXT" \
1861 "treeview1:gchararray 6 10 cyan"
1863 "treeview1:set_cursor" \
1866 "treeview1:remove_row 0\n treeview1:remove_row 2\n treeview1:set_cursor 4" \
1867 "treeview1:clicked" \
1868 "treeview1:gboolean 4 0 1" \
1869 "treeview1:gint 4 1 -30000" \
1870 "treeview1:guint 4 2 66" \
1871 "treeview1:glong 4 3 -2000000000" \
1872 "treeview1:glong 4 4 4000000000" \
1873 "treeview1:glong 4 5 -2000000000" \
1874 "treeview1:gulong 4 6 4000000000" \
1875 "treeview1:gfloat 4 7 3.141000" \
1876 "treeview1:gdouble 4 8 3.141000" \
1877 "treeview1:gchararray 4 9 TEXT" \
1878 "treeview1:gchararray 4 10 cyan"
1880 "treeview1:set_cursor" \
1883 "treeview1:move_row 0 end\n treeview1:set_cursor 3" \
1884 "treeview1:clicked" \
1885 "treeview1:gboolean 3 0 1" \
1886 "treeview1:gint 3 1 -30000" \
1887 "treeview1:guint 3 2 66" \
1888 "treeview1:glong 3 3 -2000000000" \
1889 "treeview1:glong 3 4 4000000000" \
1890 "treeview1:glong 3 5 -2000000000" \
1891 "treeview1:gulong 3 6 4000000000" \
1892 "treeview1:gfloat 3 7 3.141000" \
1893 "treeview1:gdouble 3 8 3.141000" \
1894 "treeview1:gchararray 3 9 TEXT" \
1895 "treeview1:gchararray 3 10 cyan"
1897 "treeview1:remove_row 3" \
1898 "treeview1:clicked" \
1899 "treeview1:gboolean 3 0 0" \
1900 "treeview1:gint 3 1 0" \
1901 "treeview1:guint 3 2 0" \
1902 "treeview1:glong 3 3 0" \
1903 "treeview1:glong 3 4 0" \
1904 "treeview1:glong 3 5 0" \
1905 "treeview1:gulong 3 6 0" \
1906 "treeview1:gfloat 3 7 0.000000" \
1907 "treeview1:gdouble 3 8 0.000000" \
1908 "treeview1:gchararray 3 9 abc" \
1909 "treeview1:gchararray 3 10 magenta" \
1910 "treeview1:clicked" \
1911 "treeview1:gboolean 3 0 0" \
1912 "treeview1:gint 3 1 0" \
1913 "treeview1:guint 3 2 0" \
1914 "treeview1:glong 3 3 0" \
1915 "treeview1:glong 3 4 0" \
1916 "treeview1:glong 3 5 0" \
1917 "treeview1:gulong 3 6 0" \
1918 "treeview1:gfloat 3 7 0.000000" \
1919 "treeview1:gdouble 3 8 0.000000" \
1920 "treeview1:gchararray 3 9 abc" \
1921 "treeview1:gchararray 3 10 magenta"
1923 if test $INTERACTIVE; then
1924 check
1 "Click column col4 in the lowest line visible in the scrolled area and type 444 <Enter> (scroll)" \
1925 "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" \
1926 "treeview1:gint 24 1 444"
1927 check
12 "Click column col3 in the highest line visible in the scrolled area (scroll)" \
1928 "treeview1:scroll 1 0" \
1929 "treeview1:clicked" \
1930 "treeview1:gboolean 1 0 1" \
1931 "treeview1:gint 1 1 3" \
1932 "treeview1:guint 1 2 0" \
1933 "treeview1:glong 1 3 0" \
1934 "treeview1:glong 1 4 0" \
1935 "treeview1:glong 1 5 0" \
1936 "treeview1:gulong 1 6 0" \
1937 "treeview1:gfloat 1 7 0.000000" \
1938 "treeview1:gdouble 1 8 0.000000" \
1939 "treeview1:gchararray 1 9 jkl" \
1940 "treeview1:gchararray 1 10 green"
1942 check
1 "Click the header of column \"col3\"" \
1944 "treeviewcolumn3:clicked"
1948 "treeview1:clear\n button1:force" \
1949 "treeview1:clicked" \
1953 "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" \
1954 "treeview2:clicked" \
1955 "treeview2:gboolean 100:1:0 0 1" \
1956 "treeview2:gint 100:1:0 1 -30000" \
1957 "treeview2:guint 100:1:0 2 33" \
1958 "treeview2:glong 100:1:0 3 -2000000000" \
1959 "treeview2:glong 100:1:0 4 4000000000" \
1960 "treeview2:glong 100:1:0 5 -2000000000" \
1961 "treeview2:gulong 100:1:0 6 4000000000" \
1962 "treeview2:gfloat 100:1:0 7 3.141000" \
1963 "treeview2:gdouble 100:1:0 8 3.141000" \
1964 "treeview2:gchararray 100:1:0 9 TEXT" \
1965 "treeview2:gchararray 100:1:0 10"
1967 "treeview2:set_cursor" \
1970 "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" \
1971 "treeview2:clicked" \
1972 "treeview2:gboolean 102 0 0" \
1973 "treeview2:gint 102 1 0" \
1974 "treeview2:guint 102 2 0" \
1975 "treeview2:glong 102 3 448822" \
1976 "treeview2:glong 102 4 0" \
1977 "treeview2:glong 102 5 0" \
1978 "treeview2:gulong 102 6 0" \
1979 "treeview2:gfloat 102 7 0.000000" \
1980 "treeview2:gdouble 102 8 0.000000" \
1981 "treeview2:gchararray 102 9" \
1982 "treeview2:gchararray 102 10"
1984 "treeview2:set_cursor" \
1987 "treeview2:save $DIR/$FILE2"
1989 "treeview2:save $DIR/$FILE2.bak"
1991 "treeview2:insert_row 0\n treeview2:collapse\n treeview2:set_cursor 103" \
1992 "treeview2:clicked" \
1993 "treeview2:gboolean 103 0 0" \
1994 "treeview2:gint 103 1 0" \
1995 "treeview2:guint 103 2 0" \
1996 "treeview2:glong 103 3 448822" \
1997 "treeview2:glong 103 4 0" \
1998 "treeview2:glong 103 5 0" \
1999 "treeview2:gulong 103 6 0" \
2000 "treeview2:gfloat 103 7 0.000000" \
2001 "treeview2:gdouble 103 8 0.000000" \
2002 "treeview2:gchararray 103 9" \
2003 "treeview2:gchararray 103 10"
2005 "treeview2:set_cursor" \
2008 if test $INTERACTIVE; then
2009 check
12 "Click the lowest line visible in the scrolled area (1)" \
2010 "treeview2:expand_all 103\n treeview2:scroll 103:1:0 0" \
2011 "treeview2:clicked" \
2012 "treeview2:gboolean 103:1:0 0 1" \
2013 "treeview2:gint 103:1:0 1 -30000" \
2014 "treeview2:guint 103:1:0 2 33" \
2015 "treeview2:glong 103:1:0 3 -2000000000" \
2016 "treeview2:glong 103:1:0 4 4000000000" \
2017 "treeview2:glong 103:1:0 5 -2000000000" \
2018 "treeview2:gulong 103:1:0 6 4000000000" \
2019 "treeview2:gfloat 103:1:0 7 3.141000" \
2020 "treeview2:gdouble 103:1:0 8 3.141000" \
2021 "treeview2:gchararray 103:1:0 9 TEXT" \
2022 "treeview2:gchararray 103:1:0 10"
2024 "treeview2:set_cursor" \
2026 check
12 "Click the lowest visible line (2)" \
2027 "treeview2:collapse\n treeview2:expand 103\n treeview2:scroll 103:1 0" \
2028 "treeview2:clicked" \
2029 "treeview2:gboolean 103:1 0 0" \
2030 "treeview2:gint 103:1 1 0" \
2031 "treeview2:guint 103:1 2 0" \
2032 "treeview2:glong 103:1 3 876543210" \
2033 "treeview2:glong 103:1 4 0" \
2034 "treeview2:glong 103:1 5 0" \
2035 "treeview2:gulong 103:1 6 0" \
2036 "treeview2:gfloat 103:1 7 0.000000" \
2037 "treeview2:gdouble 103:1 8 0.000000" \
2038 "treeview2:gchararray 103:1 9" \
2039 "treeview2:gchararray 103:1 10"
2041 "treeview2:set_cursor" \
2043 check
12 "Click the lowest visible line (3)" \
2044 "treeview2:collapse\n treeview2:expand_all\n treeview2:scroll 103:1:0 0" \
2045 "treeview2:clicked" \
2046 "treeview2:gboolean 103:1:0 0 1" \
2047 "treeview2:gint 103:1:0 1 -30000" \
2048 "treeview2:guint 103:1:0 2 33" \
2049 "treeview2:glong 103:1:0 3 -2000000000" \
2050 "treeview2:glong 103:1:0 4 4000000000" \
2051 "treeview2:glong 103:1:0 5 -2000000000" \
2052 "treeview2:gulong 103:1:0 6 4000000000" \
2053 "treeview2:gfloat 103:1:0 7 3.141000" \
2054 "treeview2:gdouble 103:1:0 8 3.141000" \
2055 "treeview2:gchararray 103:1:0 9 TEXT" \
2056 "treeview2:gchararray 103:1:0 10"
2058 "treeview2:set_cursor" \
2060 check
12 "Click the lowest visible line (4)" \
2061 "treeview2:expand_all\n treeview2:collapse 103:1\n treeview2:scroll 103:1 0" \
2062 "treeview2:clicked" \
2063 "treeview2:gboolean 103:1 0 0" \
2064 "treeview2:gint 103:1 1 0" \
2065 "treeview2:guint 103:1 2 0" \
2066 "treeview2:glong 103:1 3 876543210" \
2067 "treeview2:glong 103:1 4 0" \
2068 "treeview2:glong 103:1 5 0" \
2069 "treeview2:gulong 103:1 6 0" \
2070 "treeview2:gfloat 103:1 7 0.000000" \
2071 "treeview2:gdouble 103:1 8 0.000000" \
2072 "treeview2:gchararray 103:1 9" \
2073 "treeview2:gchararray 103:1 10"
2075 "treeview2:set_cursor" \
2078 check
1 "Click the header of column \"col23\"" \
2080 "treeviewcolumn23:clicked"
2084 if test $AUTOMATIC; then
2087 "treeview1:clear\n treeview1:set 1 9 $BIG_STRING\n treeview1:set_cursor 1" \
2088 "treeview1:clicked" \
2089 "treeview1:gboolean 1 0 0" \
2090 "treeview1:gint 1 1 0" \
2091 "treeview1:guint 1 2 0" \
2092 "treeview1:glong 1 3 0" \
2093 "treeview1:glong 1 4 0" \
2094 "treeview1:glong 1 5 0" \
2095 "treeview1:gulong 1 6 0" \
2096 "treeview1:gfloat 1 7 0.000000" \
2097 "treeview1:gdouble 1 8 0.000000" \
2098 "treeview1:gchararray 1 9 $BIG_STRING" \
2099 "treeview1:gchararray 1 10"
2101 "treeview1:clear\n treeview1:set 1 9 ABC\\\\nDEF\\\\nGHI\n treeview1:set_cursor 1" \
2102 "treeview1:clicked" \
2103 "treeview1:clicked" \
2104 "treeview1:gboolean 1 0 0" \
2105 "treeview1:gint 1 1 0" \
2106 "treeview1:guint 1 2 0" \
2107 "treeview1:glong 1 3 0" \
2108 "treeview1:glong 1 4 0" \
2109 "treeview1:glong 1 5 0" \
2110 "treeview1:gulong 1 6 0" \
2111 "treeview1:gfloat 1 7 0.000000" \
2112 "treeview1:gdouble 1 8 0.000000" \
2113 "treeview1:gchararray 1 9 ABCnDEFnGHI" \
2114 "treeview1:gchararray 1 10"
2116 "treeview1:clear\n treeview2:clear"
2118 "_:load $DIR/$FILE1"
2122 "treeview1:save $DIR/$FILE1\n button1:force" \
2124 check_cmd
"cmp $DIR/$FILE1 $DIR/$FILE1.bak"
2126 "treeview1:clear\n treeview2:clear"
2128 "_:load $DIR/$FILE2"
2133 "treeview2:save $DIR/$FILE2\n button1:force" \
2135 check_cmd
"cmp $DIR/$FILE2 $DIR/$FILE2.bak"
2136 cat >$DIR/$FILE3 <<< "_:load $DIR/$FILE1.bak"
2137 cat >>$DIR/$FILE3 <<< "_:load $DIR/$FILE2.bak"
2138 cat >$DIR/$FILE4 <<< "_:load $DIR/$FILE3"
2139 cat >$DIR/$FILE5 <<< "_:load $DIR/$FILE4"
2140 cat >$DIR/$FILE6 <<< "_:load $DIR/$FILE5"
2141 rm -f $DIR/$FILE1 $DIR/$FILE2
2144 "treeview1:clear\n treeview2:clear"
2146 "_:load $DIR/$FILE6"
2147 rm -f $DIR/$FILE1 $DIR/$FILE2
2150 "treeview1:save $DIR/$FILE1\n treeview2:save $DIR/$FILE2\n button1:force" \
2152 check_cmd
"cmp $DIR/$FILE1 $DIR/$FILE1.bak"
2153 check_cmd
"cmp $DIR/$FILE2 $DIR/$FILE2.bak"
2156 "treeview1:set 100 9 XXXYYY"
2158 "treeview2:clear\n treeview2:set 2 0 1"
2161 "notebook1:set_current_page 2"
2163 "nonexistent_send_text:force" \
2164 "nonexistent_send_text:clicked"
2166 "nonexistent_send_selection:force" \
2167 "nonexistent_send_selection:clicked"
2169 "nonexistent_ok:force" \
2170 "nonexistent_ok:clicked"
2172 "nonexistent_apply:force" \
2173 "nonexistent_apply:clicked"
2175 "nonexistent_cancel:force" \
2176 "nonexistent_cancel:clicked"
2178 "notebook1:set_current_page 1"
2180 "textview1_send_text:force" \
2181 "textview1_send_text:text some textnetcn"
2183 "textview1:place_cursor 5\n textview1:insert_at_cursor MORE \n textview1_send_text:force" \
2184 "textview1_send_text:text some MORE textnetcn"
2186 "textview1:place_cursor_at_line 1\n textview1:insert_at_cursor ETC \n textview1_send_text:force" \
2187 "textview1_send_text:text some MORE textnETC etcn"
2190 "textview1:save $DIR/$FILE1\n button1:force" \
2193 while (( i
<2000 )); do
2195 cat $DIR/$FILE1 >> $DIR/$FILE2
2198 while (( i
<2000 )); do
2200 echo "textview2:insert_at_cursor ##### THIS IS LINE $i.\\n" >> $DIR/$FILE3
2203 "_:load $DIR/$FILE2"
2205 "textview1:save $DIR/$FILE1"
2207 "textview1:save $DIR/$FILE1"
2213 "_:load $DIR/$FILE3"
2215 "_:load $DIR/$FILE1"
2217 "textview2:save $DIR/$FILE3"
2219 "textview1:save $DIR/$FILE2\n button1:force" \
2221 check_cmd
"cmp $DIR/$FILE1 $DIR/$FILE2"
2222 echo "textview1:insert_at_cursor I'm a text containing backslashes:\\nONE\\\\\nTWO\\\\\\\\\\nTHREE\\\\\\\\\\\\\\nEnd" > $DIR/$FILE1
2224 "textview1:delete\n _:load $DIR/$FILE1"
2226 "textview1:save $DIR/$FILE1\n textview1:save $DIR/$FILE2\n textview1:delete\n _:load $DIR/$FILE1\n button1:force" \
2231 "textview1:save $DIR/$FILE1\n button1:force" \
2233 check_cmd
"test 96 = `wc -c $DIR/$FILE1 | awk '{print $1}'`"
2234 check_cmd
"cmp $DIR/$FILE1 $DIR/$FILE2"
2239 "textview1:delete\n textview1_send_text:force" \
2240 "textview1_send_text:text"
2242 if test $INTERACTIVE; then
2244 check
1 "Highlight the lowest visible character and press \"send_selection\"" \
2245 "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\n notebook1:set_current_page 1" \
2246 "textview1_send_selection:text u"
2247 check
1 "Again, highlight the lowest visible character and press \"send_selection\"" \
2248 "textview1:place_cursor end\n textview1:scroll_to_cursor" \
2249 "textview1_send_selection:text z"
2250 check
1 "Highlight the highest visible character and press \"send_selection\"" \
2251 "textview1:place_cursor 0 \n textview1:scroll_to_cursor" \
2252 "textview1_send_selection:text A"
2256 if test $AUTOMATIC; then
2258 "treeview2:set 100:10:5 2 8888888\n treeview2:save $DIR/$FILE1\n textview2:save $DIR/$FILE2\n button1:force" \
2260 cp $DIR/$FILE1 $DIR/$FILE4
2261 check_cmd
"cmp $DIR/$FILE2 $DIR/$FILE3"
2263 "treeview2:clear\n textview2:delete\n _:load $DIR/$FILE1\n _:load $DIR/$FILE2\n button1:force" \
2265 rm $DIR/$FILE1 $DIR/$FILE2
2268 "treeview2:save $DIR/$FILE1\n textview2:save $DIR/$FILE2\n button1:force" \
2270 check_cmd
"cmp $DIR/$FILE1 $DIR/$FILE4"
2271 check_cmd
"cmp $DIR/$FILE2 $DIR/$FILE3"
2275 "scale1:set_value 10\n scale1:set_increments 5 20\n scale1:force" \
2276 "scale1:value 10.000000" \
2277 "scale1:value 10.000000"
2279 "scale1:set_range 20 22\n scale1:set_value 10\n scale1:set_value 100" \
2280 "scale1:value 20.000000" \
2281 "scale1:value 22.000000"
2283 "scale1:set_fill_level\n scale1:set_fill_level 20.5\n scale1:set_value 21.3" \
2284 "scale1:value 21.300000"
2286 "open_dialog:set_filename q.png\n file:force\n open_dialog_invoke:force\n open_dialog_apply:force\n open_dialog_ok:force" \
2287 "file:active _File" \
2288 "open_dialog_apply:clicked" \
2289 "open_dialog:file $PWD/q.png" \
2290 "open_dialog:folder $PWD" \
2291 "open_dialog_ok:clicked" \
2292 "open_dialog:file $PWD/q.png" \
2293 "open_dialog:folder $PWD"
2295 "file:force\n open_dialog_invoke:force\n open_dialog_cancel:force" \
2296 "file:active _File" \
2297 "open_dialog_cancel:clicked"
2299 "save_as_dialog:set_current_name /somewhere/crazy_idea\n file:force\n save_as_dialog_invoke:force\n save_as_dialog_ok:force" \
2300 "file:active _File" \
2301 "save_as_dialog_ok:clicked" \
2302 "save_as_dialog:file /somewhere/crazy_idea" \
2303 "save_as_dialog:folder"
2305 "nonexistent_invoke:force" \
2306 "nonexistent_invoke:active nonexistent"
2310 for i
in $WEIRD_PATHS; do
2311 cat >$i <<< "entry1:set_text RsT${i}UVwX"
2313 for i
in $WEIRD_PATHS; do
2316 "entry1:text RsT${i}UVwX"
2322 if test $INTERACTIVE; then
2324 check
1 "Press the \"button\" which should now be renamed \"OK\"" \
2325 "button1:set_label OK" \
2327 check
1 "Press the \"togglebutton\" which should now be renamed \"on/off\"" \
2328 "togglebutton1:set_label on/off" \
2331 "togglebutton1:force" \
2333 check
1 "Press the \"checkbutton\" which should now be renamed \"REGISTER\"" \
2334 "checkbutton1:set_label REGISTER" \
2337 "checkbutton1:force" \
2339 check
2 "Press the \"radiobutton\" which should now be renamed \"RADIO\"" \
2340 "radiobutton2:set_label RADIO" \
2344 "radiobutton1:force" \
2347 check
1 "Click the widget whose label font is now Bold Italic 20" \
2348 "switch1:style font:Bold Italic 20" \
2350 check
1 "Click the widget whose label has turned red" \
2351 "switch1:style color:red" \
2353 check
1 "Click the widget whose background has turned yellow" \
2354 "checkbutton1:style background-color:yellow" \
2356 check
1 "Press \"OK\" if font and colors changed in previous steps are back to normal\n switch1:style" \
2357 "checkbutton1:style" \
2362 check
1 "Press \"OK\" if the \"lorem ipsum dolor ...\" text inside \"frame1\" now reads \"LABEL\"" \
2363 "label1:set_text LABEL" \
2365 check
1 "Press \"OK\" if the label of the frame around \"LABEL\" now reads \"LOREM IPSUM\"" \
2366 "frame1:set_label LOREM IPSUM" \
2368 check
1 "Press \"OK\" if the green dot has turned red" \
2369 "image1:set_from_icon_name gtk-no" \
2371 check
1 "Press \"OK\" if the red dot has turned into a green \"Q\"" \
2372 "image1:set_from_file q.png" \
2374 check
1 "Select \"FIRST\" from the combobox" \
2375 "comboboxtext1:prepend_text FIRST" \
2376 "comboboxtext1_entry:text FIRST"
2377 check
1 "Select \"LAST\" from the combobox" \
2378 "comboboxtext1:append_text LAST" \
2379 "comboboxtext1_entry:text LAST"
2380 check
1 "Select \"AVERAGE\" from the combobox" \
2381 "comboboxtext1:insert_text 3 AVERAGE" \
2382 "comboboxtext1_entry:text AVERAGE"
2383 check
1 "Select the second entry from the combobox" \
2384 "comboboxtext1:remove 0" \
2385 "comboboxtext1_entry:text def"
2386 check
2 "Left-click the \"+\" of the spinbutton" \
2387 "spinbutton1:set_range 0 100\n spinbutton1:set_text 33" \
2388 "spinbutton1:text 33.00" \
2389 "spinbutton1:text 34.00"
2390 check
1 "Left-click the \"+\" of the spinbutton again" \
2391 "spinbutton1:set_increments 2 4" \
2392 "spinbutton1:text 36.00"
2393 check
1 "Middle-click the \"+\" of the spinbutton" \
2395 "spinbutton1:text 40.00"
2397 "spinbutton1:force" \
2398 "spinbutton1:text 40.00"
2399 check
1 "Using the file chooser button (now labelled \"etc\"), select \"File System\" (= \"/\")" \
2400 "filechooserbutton1:set_filename /etc/" \
2401 "filechooserbutton1:file /"
2403 "filechooserbutton1:force" \
2404 "filechooserbutton1:file /"
2405 check
1 "Click \"Select\"\n fontbutton1:set_font_name Sans Bold 40" \
2406 "fontbutton1:force" \
2407 "fontbutton1:font Sans Bold 40"
2408 check
1 "Click \"Select\" (1)\n colorbutton1:set_color yellow" \
2409 "colorbutton1:force" \
2410 "colorbutton1:color rgb(255,255,0)"
2411 check
1 "Click \"Select\" (2)\n colorbutton1:set_color rgb(0,255,0)" \
2412 "colorbutton1:force" \
2413 "colorbutton1:color rgb(0,255,0)"
2414 check
1 "Click \"Select\" (3)\n colorbutton1:set_color #00f" \
2415 "colorbutton1:force" \
2416 "colorbutton1:color rgb(0,0,255)"
2417 check
1 "Click \"Select\" (4)\n colorbutton1:set_color #ffff00000000" \
2418 "colorbutton1:force" \
2419 "colorbutton1:color rgb(255,0,0)"
2420 check
1 "Click \"Select\" (5)\n colorbutton1:set_color rgba(0,255,0,.5)" \
2421 "colorbutton1:force" \
2422 "colorbutton1:color rgba(0,255,0,0.5)"
2423 check
1 "Close the dialog by hitting Escape" \
2424 "printdialog:print nonexistent.ps" \
2425 "printdialog:closed"
2426 check
1 "Press \"OK\" if both 1752-03-13 and 1752-03-14 are marked on the calendar" \
2427 "calendar1:mark_day 13\n calendar1:mark_day 14" \
2429 check
1 "Press \"OK\" if 1752-03-13 and 1752-03-14 are no longer marked on the calendar" \
2430 "calendar1:clear_marks" \
2432 check
3 "Hover over the calendar and do what the tooltip says" \
2433 "calendar1:set_tooltip_text Double-click on 1752-03-13" \
2434 "calendar1:clicked 1752-03-13" \
2435 "calendar1:clicked 1752-03-13" \
2436 "calendar1:doubleclicked 1752-03-13"
2438 "calendar1:set_tooltip_text"
2441 "calendar1:clicked 1752-03-13"
2446 "drawingarea1:transform =100 1 0 0 1 0 0"
2448 "drawingarea1:set_source_rgba =101 green"
2450 "drawingarea1:set_source_rgba =102 red"
2452 "drawingarea1:rectangle =1 0 0 150 150\n drawingarea1:fill 1"
2454 "drawingarea1:remove 1\n drawingarea1:remove 2\n drawingarea1:remove 3\n drawingarea1:remove 4"
2456 "drawingarea1:rectangle 1 0 0 150 150\n drawingarea1:fill 1"
2458 "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"
2460 "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"
2462 "drawingarea1:curve_to 1 30 30 90 120 120 30\n drawingarea1:set_source_rgba 1 blue\n drawingarea1:stroke 1"
2464 "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"
2466 "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"
2468 "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"
2470 "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"
2472 "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"
2474 "drawingarea1:set_dash 1"
2476 "drawingarea1:set_source_rgba 103 brown\n drawingarea1:set_line_width 1 15"
2478 if test $INTERACTIVE; then
2479 check
1 "Press \"OK\" if the brown shape is rounded" \
2480 "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" \
2482 check
1 "Press \"OK\" if the second brown shape is shorter and bevelled and the square is mostly blue" \
2483 "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" \
2485 check
1 "Press \"OK\" if the third brown shape is square everything is a bit smaller" \
2486 "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" \
2488 check
1 "Press \"OK\" if the first brown shape is no longer rounded and everything rotated a bit" \
2489 "drawingarea1:remove 2\n drawingarea1:rotate 105<100 10" \
2491 check
1 "Press \"OK\" if all three brown shapes look the same" \
2492 "drawingarea1:remove 3" \
2498 "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"
2500 "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"
2502 "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"
2504 "drawingarea1:remove 1\n drawingarea1:remove 2\n drawingarea1:remove 3\n drawingarea1:remove 4"
2507 "drawingarea2:rotate 55<500 5\n drawingarea2:scale 33 .7 .7\n drawingarea2:translate 77 30 30\n drawingarea2:transform 44"
2509 "drawingarea2:rectangle 1<500 0 0 150 150\n drawingarea2:fill 1"
2511 "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"
2513 "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"
2515 "drawingarea2:curve_to 1 30 30 90 120 120 30\n drawingarea2:set_source_rgba 1 blue\n drawingarea2:stroke 1"
2517 "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"
2519 "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"
2521 "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"
2523 "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"
2525 "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"
2527 "drawingarea2:set_dash 1"
2529 "drawingarea2:set_source_rgba 1 brown\n drawingarea2:set_line_width 1 15"
2531 "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"
2533 "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"
2535 "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"
2537 "drawingarea2:remove 2"
2539 "drawingarea2:remove 3"
2541 if test $INTERACTIVE; then
2543 check
1 "Press \"OK\" if the drawing looks tilted and displaced" \
2544 "drawingarea2:remove 44" \
2546 check
1 "Press \"OK\" if the drawing doesn't look tilted anymore" \
2547 "drawingarea2:remove 55" \
2549 check
1 "Press \"OK\" if the drawing has grown a bit" \
2550 "drawingarea2:remove 33" \
2552 check
1 "Press \"OK\" if the drawing has moved into the NE corner" \
2553 "drawingarea2:remove 77" \
2559 "drawingarea1:set_source_rgba 6 red\n drawingarea1:set_font_size 6 20\n drawingarea1:transform 99 .985 -.174 .174 .985 0 0"
2561 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 c CENTER\n drawingarea1:show_text 6 CENTER"
2563 "drawingarea1:set_source_rgba 6 blue\n drawingarea1:set_font_size 6 20"
2565 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 nw NORTHWEST\n drawingarea1:show_text 6 NORTHWEST"
2567 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 ne NORTHEAST\n drawingarea1:show_text 6 NORTHEAST"
2569 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 se SOUTHEAST\n drawingarea1:show_text 6 SOUTHEAST"
2571 "drawingarea1:move_to 6 100 100\n drawingarea1:rel_move_for 6 sw SOUTHWEST\n drawingarea1:show_text 6 SOUTHWEST"
2573 "drawingarea1:set_source_rgba 6 magenta\n drawingarea1:set_font_size 6 20"
2575 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 s SOUTH\n drawingarea1:show_text 6 SOUTH"
2577 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 n NORTH\n drawingarea1:show_text 6 NORTH"
2579 "drawingarea1:set_source_rgba 6 green\n drawingarea1:set_font_size 6 20"
2581 "drawingarea1:move_to 6 100 140\n drawingarea1:rel_move_for 6 e EAST\n drawingarea1:show_text 6 EAST"
2583 "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"
2585 "drawingarea1:save $EPS_FILE\n drawingarea1:save $EPSF_FILE\n drawingarea1:save $PDF_FILE\n drawingarea1:save $PS_FILE\n drawingarea1:save $SVG_FILE"
2587 check_cmd
"file -b $EPS_FILE | grep -qe EPS"
2588 check_cmd
"file -b $EPSF_FILE | grep -qe EPS"
2589 check_cmd
"file -b $PS_FILE | grep -qe PostScript"
2590 check_cmd
"file -b $SVG_FILE | grep -qe SVG"
2592 "notebook1:set_current_page 0\n image2:set_from_file $SVG_FILE"
2594 if test $INTERACTIVE; then
2596 check
2 "Hit Backspace, Enter" \
2597 "eventbox1:grab_focus" \
2598 "eventbox1:key_press BackSpace" \
2599 "eventbox1:key_press Return"
2600 check
6 "Inside the DrawingArea, left-click, middle-click, right-click (Don't move the mouse while clicking)" \
2602 "eventbox1:button_press 1" \
2603 "eventbox1:button_release 1" \
2604 "eventbox1:button_press 2" \
2605 "eventbox1:button_release 2" \
2606 "eventbox1:button_press 3" \
2607 "eventbox1:button_release 3"
2608 check
3 "Inside the DrawingArea and all within one second, hold the left button down, move around a bit, and release it again" \
2610 "eventbox1:button_press 1" \
2611 "eventbox1:motion" \
2614 check
1 "Hit Space" \
2615 "button1:grab_focus" \
2618 check
1 "Press the biggest button if there is a spinning spinner" \
2619 "spinner1:start\n no_button:set_size_request 400 200" \
2621 check
1 "Press \"OK\" if the spinner has stopped" \
2624 check
1 "Press \"OK\" if the \"No\" button is back to normal size" \
2625 "no_button:set_size_request" \
2629 "notebook1:set_current_page 3"
2630 check
1 "Click into page 4 (vscroll)" \
2631 "scrolledwindow8:vscroll 4500" \
2633 check
1 "Click into page 4 (hscroll)" \
2634 "scrolledwindow8:hscroll 4500" \
2636 check
1 "Click into page 4 (hscroll_to_range, vscroll_to_range)" \
2637 "scrolledwindow8:hscroll_to_range 1600 2900\n scrolledwindow8:vscroll_to_range 1600 2900" \
2640 check
1 "Press \"OK\" if there is now a \"Disconnect\" button" \
2641 "button2:set_visible 1\n button2:set_sensitive 0" \
2643 check
1 "Press \"Disconnect\"" \
2644 "button2:set_sensitive 1" \
2647 check
1 "Press \"BIG BUTTON\" inside the window titled \"PRESS ME\"" \
2648 "dialog1:set_title PRESS ME\n dialog1:set_visible 1\n dialog1:resize 800 800\n dialog1:move 50 50" \
2651 "button3:set_label PRESS THIS GIANT BUTTON NOW\n dialog1:fullscreen" \
2654 "button3:set_label Hit Escape to close this window\n button3:set_sensitive 0" \
2657 "dialog1:set_visible 0"
2659 check
1 "Press \"OK\" if the progress bar shows 90%" \
2660 "progressbar1:set_fraction .9\n progressbar1:set_text" \
2662 check
1 "Press \"OK\" if the progress bar text reads \"The End\"" \
2663 "progressbar1:set_text The End" \
2666 "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" \
2672 "statusbar1:remove_all_id ZZZ"
2675 echo "_:main_quit" >$FIN
2680 check_cmd
"head -n 2 $LOG | tail -n 1 | grep -q '##### (New Pipeglade session) #####'"
2681 check_cmd
"tail -n 4 $LOG | head -n 1 | grep -q '### (Idle) ###'"
2682 check_cmd
"tail -n 3 $LOG | head -n 1 | grep -q 'statusbar1:remove_all_id ZZZ'"
2683 check_cmd
"tail -n 2 $LOG | head -n 1 | grep -q '### (Idle) ###'"
2684 # check_cmd "tail -n 1 $LOG | grep '_:main_quit'"
2686 if test $AUTOMATIC; then
2690 for i
in {1.
.10}; do
2691 echo "treeview1:set $i 3 $RANDOM"
2692 echo "treeview1:set $i 8 $RANDOM"
2693 echo "treeview1:set $i 9 row $i"
2695 for i
in {1.
.10}; do
2696 echo "treeview2:set $i 3 $RANDOM"
2697 echo "treeview2:set $i 8 $RANDOM"
2698 echo "treeview2:set $i 9 row $i"
2700 cut
-f2- $LOG > $DIR/$FILE6
2701 echo -e "g/_:main_quit/d\ng|$FILE6|d\ng/:load/s|$FILE1|$FILE4|\ng/:load/s|$FILE2|$FILE5|\nwq" | ed
-s $DIR/$FILE6
2705 cp "$BIG_INPUT" "$BIG_INPUT2"
2706 echo "_:load $BIG_INPUT2" >>$BIG_INPUT
2707 echo "_:main_quit" >>$BIG_INPUT
2708 echo -e "g/_:load/d\ng/^#/d\nwq" | ed
-s $BIG_INPUT2
2709 .
/pipeglade
-i $FIN -o $FOUT -O $BIG_INPUT_ERR -b >/dev
/null
2710 cat "$FOUT" >/dev
/null
&
2711 cat "$BIG_INPUT" > "$FIN"
2712 while test \
( -e $FOUT -a -e $FIN \
); do sleep .5; done
2713 check_cmd
"test $(grep -v -e WARNING -e '^$' $BIG_INPUT_ERR | wc -l) -eq 0"
2716 .
/pipeglade
-O $BIG_INPUT_ERR <$BIG_INPUT >/dev
/null
2717 check_cmd
"test $(grep -v -e WARNING -e '^$' $BIG_INPUT_ERR | wc -l) -eq 0"
2720 echo "PASSED: $OKS/$TESTS; FAILED: $FAILS/$TESTS"