-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpipegladetest.sh
More file actions
executable file
·3047 lines (2910 loc) · 139 KB
/
pipegladetest.sh
File metadata and controls
executable file
·3047 lines (2910 loc) · 139 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#! /usr/bin/env bash
# Pipeglade tests; they should be invoked in the build directory.
#
# Usage: ./pipegladetest.sh
# Usage: ./pipegladetest.sh interactive
# Usage: ./pipegladetest.sh automatic
#
# Failure of a test can cause failure of one or more subsequent tests.
INTERACTIVE=true
AUTOMATIC=true
if test ${1-X} == interactive; then unset -v AUTOMATIC ; fi
if test ${1-X} == automatic; then unset -v INTERACTIVE ; fi
export LC_ALL=C
export NO_AT_BRIDGE=1
FIN=to-g.fifo
FOUT=from-g.fifo
FERR=err.fifo
LOG=test.log
ERR_FILE=err.txt
BAD_FIFO=bad_fifo
PID_FILE=pid
OUT_FILE=out.txt
DIR=test_dir
EPS_FILE=test.eps
EPSF_FILE=test.epsf
PDF_FILE=test.pdf
PS_FILE=test.ps
SVG_FILE=test.svg
FILE1=saved1.txt
FILE2=saved2.txt
FILE3=saved3.txt
FILE4=saved4.txt
FILE5=saved5.txt
FILE6=saved6.txt
BIG_INPUT=big.txt
BIG_INPUT2=big2.txt
BIG_INPUT_ERR=err.txt
WEIRD_PATHS=$(awk 'BEGIN{ for (i=0x01; i<= 0xff; i++) if (i != 0x2a && i != 0x2f && i != 0x3f && i != 0x5c) printf "'$DIR'/(%c) ", i }')
BIG_STRING=$(for i in {1..100}; do echo -n "abcdefghijklmnopqrstuvwxyz($i)ABCDEFGHIJKLMNOPQRSTUVWXYZ0{${RANDOM}}123456789"; done)
BIG_NUM=$(for i in {1..100}; do echo -n "$RANDOM"; done)
rm -rf $FIN $FOUT $FERR $LOG $ERR_FILE $BAD_FIFO $PID_FILE $OUT_FILE \
$EPS_FILE $EPSF_FILE $PDF_FILE $PS_FILE $SVG_FILE \
$FILE1 $FILE2 $FILE3 $FILE4 $FILE5 $FILE6 $BIG_INPUT $BIG_INPUT2 $BIG_INPUT_ERR $DIR
if stat -f "%0p" 2>/dev/null; then
STAT_CMD='stat -f "%0p"'
else
# probably GNU stat
STAT_CMD='stat -c "%a"'
fi
# colored messages: bright green
OK=$'\E[32;1mOK\E[0m'
# bright red
FAIL=$'\E[31;1mFAIL\E[0m'
EXPECTED=$'\E[31;1mEXPECTED\E[0m'
# yellow
CALL=$'\E[33mCALL\E[0m'
SEND=$'\E[33mSEND\E[0m'
TESTS=0
FAILS=0
OKS=0
() {
echo "################################################################################"
}
count_fail() {
(( TESTS+=1 ))
(( FAILS+=1 ))
}
count_ok() {
(( TESTS+=1 ))
(( OKS+=1 ))
}
check_rm() {
i=0
while test -e $1 && (( i<50 )); do
sleep .1
(( i+=1 ))
done
if test -e $1; then
count_fail
echo " $FAIL $1 should be deleted"
rm -f $1
else
count_ok
echo " $OK $1 deleted"
fi
}
check_cmd() {
i=0
while ! eval "$1" && (( i<50 )); do
sleep .1
(( i+=1 ))
done
if eval "$1"; then
count_ok
echo " $OK $1"
else
count_fail
echo " $FAIL $1"
fi
}
echo "
# BATCH ONE
#
# Situations where pipeglade should exit immediately. These tests
# should run automatically
######################################################################
"
# check_call command expected_status expected_stderr expected_stdout
check_call() {
r=$2
e=$3
o=$4
output=$($1 2>tmperr.txt)
retval=$?
error=$(<tmperr.txt)
rm tmperr.txt
echo "$CALL $1"
if test "$output" = "" -a "$o" = "" || (echo "$output" | grep -Fqe "$o"); then
count_ok
echo " $OK STDOUT $output"
else
count_fail
echo " $FAIL STDOUT $output"
echo " $EXPECTED $o"
fi
if test "$error" = "" -a "$e" = "" || test "$retval" -eq "$r" && (echo "$error" | grep -Fqe "$e"); then
count_ok
echo " $OK EXIT/STDERR $retval $error"
else
count_fail
echo " $FAIL EXIT/STDERR $retval $error"
echo " $EXPECTED $r $e"
fi
}
if test $AUTOMATIC; then
check_call "./pipeglade -u nonexistent.ui" 1 \
"nonexistent.ui" ""
check_call "./pipeglade -u bad_window.ui" 1 \
"no toplevel window with id 'main'" ""
check_call "./pipeglade -u www-template/404.html" 1 \
"html" ""
check_call "./pipeglade -u README" 1 \
"Document must begin with an element" ""
check_call "./pipeglade -e x" 1 \
"x is not a valid XEmbed socket id" ""
check_call "./pipeglade -ex" 1 \
"x is not a valid XEmbed socket id" ""
check_call "./pipeglade -e -77" 1 \
"-77 is not a valid XEmbed socket id" ""
check_call "./pipeglade -e 77x" 1 \
"77x is not a valid XEmbed socket id" ""
check_call "./pipeglade -e +77" 1 \
"+77 is not a valid XEmbed socket id" ""
check_call "./pipeglade -e 999999999999999999999999999999" 1 \
"999999999999999999999999999999 is not a valid XEmbed socket id" ""
check_call "./pipeglade -e 99999999999999999" 1 \
"unable to embed into XEmbed socket 99999999999999999" ""
touch $BAD_FIFO
check_call "./pipeglade -i $BAD_FIFO" 1 \
"using pre-existing fifo" ""
check_call "./pipeglade -o $BAD_FIFO" 1 \
"using pre-existing fifo" ""
rm $BAD_FIFO
check_call "./pipeglade -b" 1 \
"parameter -b requires both -i and -o"
check_call "./pipeglade -b -i $FIN" 1 \
"parameter -b requires both -i and -o"
check_call "./pipeglade -b -i $FOUT" 1 \
"parameter -b requires both -i and -o"
rm $FIN $FOUT
check_call "./pipeglade -h" 0 \
"" "usage: pipeglade [[-i in-fifo] [-o out-fifo] [-b] [-u glade-file.ui] [-e xid]
[-l log-file] [-O err-file] [--display X-server]] | [-h|-G|-V]"
check_call "./pipeglade -G" 0 \
"" "GTK+ v"
check_call "./pipeglade -G" 0 \
"" "cairo v"
check_call "./pipeglade -V" 0 \
"" "."
check_call "./pipeglade -X" 1 \
"option" ""
check_call "./pipeglade -e" 1 \
"argument" ""
check_call "./pipeglade -u" 1 \
"argument" ""
check_call "./pipeglade -i" 1 \
"argument" ""
check_call "./pipeglade -o" 1 \
"argument" ""
mkdir -p $DIR
check_call "./pipeglade -O" 1 \
"argument" ""
check_call "./pipeglade -O $DIR" 1 \
"" "redirecting stderr to"
check_call "./pipeglade -l $DIR" 1 \
"opening log file" ""
check_call "./pipeglade -l" 1 \
"argument" ""
# assuming we can't adjust permissions of /dev/null:
check_call "./pipeglade -O /dev/null" 1 \
"" "setting permissions of /dev/null:"
check_call "./pipeglade -l /dev/null" 1 \
"setting permissions of /dev/null:" ""
check_call "./pipeglade yyy" 1 \
"illegal parameter 'yyy'" ""
check_call "./pipeglade --display nnn" 1 \
"nnn"
check_rm $FIN
check_rm $FOUT
fi
#exit
echo "
# BATCH TWO
#
# Error handling tests---bogus actions leading to appropriate error
# messages. Most of these tests should run automatically.
######################################################################
"
mkfifo $FERR
# check_error command expected_stderr
check_error() {
echo "$SEND ${1:0:300}"
echo -e "$1" >$FIN
while read r <$FERR; do
# ignore irrelevant GTK warnings
if test "$r" != "" && ! grep -qie "warning"<<< "$r"; then
break;
fi
done
if grep -qFe "${2:0:300}" <<< "${r:0:300}"; then
count_ok
echo " $OK ${r:0:300}"
else
count_fail
echo " $FAIL ${r:0:300}"
echo " $EXPECTED ${2:0:300}"
fi
}
read r 2< $FERR &
./pipeglade -i $FIN 2> $FERR &
# wait for $FIN to appear
while test ! \( -e $FIN \); do :; done
if test $AUTOMATIC; then
# Non-existent id
check_error "nnn" \
"ignoring command \"nnn\""
check_error "BIG_STRING" \
"ignoring command \"BIG_STRING\""
check_error "nnn:set_text FFFF" \
"ignoring command \"nnn:set_text FFFF\""
check_error "nnn:set_text $BIG_STRING" \
"ignoring command \"nnn:set_text $BIG_STRING\""
check_error "nnn:set_tooltip_text FFFF" \
"ignoring command \"nnn:set_tooltip_text FFFF\""
check_error "nnn:set_tooltip_text $BIG_STRING" \
"ignoring command \"nnn:set_tooltip_text $BIG_STRING\""
check_error "nnn:set_sensitive 0" \
"ignoring command \"nnn:set_sensitive 0\""
check_error "nnn:set_sensitive 1" \
"ignoring command \"nnn:set_sensitive 1\""
check_error "nnn:set_visible 0" \
"ignoring command \"nnn:set_visible 0\""
check_error "nnn:set_visible 1" \
"ignoring command \"nnn:set_visible 1\""
check_error "nnn:grab_focus" \
"ignoring command \"nnn:grab_focus\""
check_error "nnn:set_size_request 100 100" \
"ignoring command \"nnn:set_size_request 100 100\""
check_error "nnn:set_size_request $BIG_NUM $BIG_NUM" \
"ignoring command \"nnn:set_size_request $BIG_NUM $BIG_NUM\""
check_error "nnn:style font:Bold 11" \
"ignoring command \"nnn:style font:Bold 11\""
check_error "nnn:force" \
"ignoring command \"nnn:force\""
check_error "nnn:block 1" \
"ignoring command \"nnn:block 1\""
# Illegal id
check_error "+:main_quit" \
"ignoring command \"+:main_quit"
check_error "=:main_quit" \
"ignoring command \"=:main_quit"
check_error "|:main_quit" \
"ignoring command \"|:main_quit"
# Wrong number or kind of arguments for generic actions
check_error "button1:set_sensitive" \
"ignoring GtkButton command \"button1:set_sensitive\""
check_error "button1:set_sensitive 2" \
"ignoring GtkButton command \"button1:set_sensitive 2\""
check_error "button1:set_sensitive $BIG_NUM" \
"ignoring GtkButton command \"button1:set_sensitive $BIG_NUM\""
check_error "button1:set_sensitive nnn" \
"ignoring GtkButton command \"button1:set_sensitive nnn\""
check_error "button1:set_sensitive 0 1" \
"ignoring GtkButton command \"button1:set_sensitive 0 1\""
check_error "button1:set_visible" \
"ignoring GtkButton command \"button1:set_visible\""
check_error "button1:set_visible 2" \
"ignoring GtkButton command \"button1:set_visible 2\""
check_error "button1:set_visible $BIG_NUM" \
"ignoring GtkButton command \"button1:set_visible $BIG_NUM\""
check_error "button1:set_visible nnn" \
"ignoring GtkButton command \"button1:set_visible nnn\""
check_error "button1:set_visible 0 1" \
"ignoring GtkButton command \"button1:set_visible 0 1\""
check_error "button1:grab_focus 2" \
"ignoring GtkButton command \"button1:grab_focus 2\""
check_error "button1:set_size_request 100" \
"ignoring GtkButton command \"button1:set_size_request 100\""
check_error "button1:set_size_request 100 100 100" \
"ignoring GtkButton command \"button1:set_size_request 100 100 100\""
check_error "button1:force 2" \
"ignoring GtkButton command \"button1:force 2\""
check_error "_:main_quit 2" \
"ignoring command \"_:main_quit 2\""
check_error "button1:block 2" \
"ignoring GtkButton command \"button1:block 2\""
check_error "button1:block 0 0" \
"ignoring GtkButton command \"button1:block 0 0\""
check_error "button1:snapshot" \
"ignoring GtkButton command \"button1:snapshot\""
check_error "button1:snapshot " \
"ignoring GtkButton command \"button1:snapshot \""
# Widget that shouldn't fire callbacks
check_error "label1:force" \
"ignoring GtkLabel command \"label1:force\""
# Widget that can't grab focus
check_error "label1:grab_focus" \
"ignoring GtkLabel command \"label1:grab_focus\""
# load file
check_error "_:load" \
"ignoring command \"_:load\""
check_error "_:load " \
"ignoring command \"_:load \""
check_error "_:load nonexistent.txt" \
"ignoring command \"_:load nonexistent.txt\""
for i in $WEIRD_PATHS; do
check_error "_:load nonexistent/${i}QqQ" \
"ignoring command \"_:load nonexistent/${i}QqQ\""
done
# _:load junk
mkdir -p $DIR
cat >$DIR/$FILE1 <<< "blah"
check_error "_:load $DIR/$FILE1" \
"ignoring command \"blah\""
for i in $WEIRD_PATHS; do
cat >$i <<< "blah"
check_error "_:load $i" \
"ignoring command \"blah\""
done
# recursive :load
cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE1"
check_error "_:load $DIR/$FILE1" \
"ignoring command \"_:load $DIR/$FILE1\""
for i in $WEIRD_PATHS; do
cat >$i <<< "_:load $i"
check_error "_:load $i" \
"ignoring command \"_:load $i\""
done
cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
cat >$DIR/$FILE2 <<< "_:load $DIR/$FILE1"
check_error "_:load $DIR/$FILE1" \
"ignoring command \"_:load $DIR/$FILE1\""
cat >$DIR/$FILE1 <<< "_:load $DIR/$FILE2"
cat >$DIR/$FILE2 <<< "_:blah"
check_error "_:load $DIR/$FILE1" \
"ignoring command \"_:blah\""
rm -rf $DIR
# GtkWindow
check_error "main:nnn" \
"ignoring GtkWindow command \"main:nnn\""
check_error "main:move" \
"ignoring GtkWindow command \"main:move\""
check_error "main:move " \
"ignoring GtkWindow command \"main:move \""
check_error "main:move 700" \
"ignoring GtkWindow command \"main:move 700\""
check_error "main:move 700 nnn" \
"ignoring GtkWindow command \"main:move 700 nnn\""
check_error "main:move $BIG_NUM $BIG_STRING" \
"ignoring GtkWindow command \"main:move $BIG_NUM $BIG_STRING\""
check_error "main:move 700 700 700" \
"ignoring GtkWindow command \"main:move 700 700 700\""
check_error "main:resize 700" \
"ignoring GtkWindow command \"main:resize 700\""
check_error "main:resize 700 nnn" \
"ignoring GtkWindow command \"main:resize 700 nnn\""
check_error "main:resize 700 700 700" \
"ignoring GtkWindow command \"main:resize 700 700 700\""
check_error "main:fullscreen 1" \
"ignoring GtkWindow command \"main:fullscreen 1\""
check_error "main:unfullscreen 1" \
"ignoring GtkWindow command \"main:unfullscreen 1\""
# GtkLabel
check_error "label1:nnn" \
"ignoring GtkLabel command \"label1:nnn\""
# GtkFrame
check_error "frame1:nnn" \
"ignoring GtkFrame command \"frame1:nnn\""
# GtkAspectFrame
check_error "aspectframe1:nnn" \
"ignoring GtkAspectFrame command \"aspectframe1:nnn\""
# GtkImage
check_error "image1:nnn" \
"ignoring GtkImage command \"image1:nnn\""
# GtkMenu
check_error "menu1:nnn" \
"ignoring GtkMenu command \"menu1:nnn\""
check_error "menu1:popup 1" \
"ignoring GtkMenu command \"menu1:popup 1\""
check_error "menu1:popdown 1" \
"ignoring GtkMenu command \"menu1:popdown 1\""
# GtkMenuBar
check_error "menubar1:nnn" \
"ignoring GtkMenuBar command \"menubar1:nnn\""
# GtkMenuButton
check_error "menubutton1:nnn" \
"ignoring GtkMenuButton command \"menubutton1:nnn\""
# GtkPaned
check_error "paned1:nnn" \
"ignoring GtkPaned command \"paned1:nnn\""
# GtkSizeGroup
check_error "sizegroup1:nnn" \
"ignoring GtkSizeGroup command \"sizegroup1:nnn\""
# GtkNotebook
check_error "notebook1:nnn" \
"ignoring GtkNotebook command \"notebook1:nnn\""
check_error "notebook1:set_current_page" \
"ignoring GtkNotebook command \"notebook1:set_current_page\""
check_error "notebook1:set_current_page " \
"ignoring GtkNotebook command \"notebook1:set_current_page \""
check_error "notebook1:set_current_page nnn" \
"ignoring GtkNotebook command \"notebook1:set_current_page nnn\""
check_error "notebook1:set_current_page -1" \
"ignoring GtkNotebook command \"notebook1:set_current_page -1\""
check_error "notebook1:set_current_page $BIG_NUM" \
"ignoring GtkNotebook command \"notebook1:set_current_page $BIG_NUM\""
check_error "notebook1:set_current_page 1 1" \
"ignoring GtkNotebook command \"notebook1:set_current_page 1 1\""
# GtkExpander
check_error "expander1:nnn" \
"ignoring GtkExpander command \"expander1:nnn\""
check_error "expander1:set_expanded" \
"ignoring GtkExpander command \"expander1:set_expanded\""
check_error "expander1:set_expanded 3" \
"ignoring GtkExpander command \"expander1:set_expanded 3\""
check_error "expander1:set_expanded $BIG_NUM" \
"ignoring GtkExpander command \"expander1:set_expanded $BIG_NUM\""
check_error "expander1:set_expanded 0 1" \
"ignoring GtkExpander command \"expander1:set_expanded 0 1\""
# GtkTextView
check_error "textview1:nnn" \
"ignoring GtkTextView command \"textview1:nnn\""
check_error "textview1:save" \
"ignoring GtkTextView command \"textview1:save\""
check_error "textview1:delete nnn" \
"ignoring GtkTextView command \"textview1:delete nnn\""
check_error "textview1:place_cursor" \
"ignoring GtkTextView command \"textview1:place_cursor\""
check_error "textview1:place_cursor " \
"ignoring GtkTextView command \"textview1:place_cursor \""
check_error "textview1:place_cursor nnn" \
"ignoring GtkTextView command \"textview1:place_cursor nnn\""
check_error "textview1:place_cursor 1 1" \
"ignoring GtkTextView command \"textview1:place_cursor 1 1\""
check_error "textview1:place_cursor end 1" \
"ignoring GtkTextView command \"textview1:place_cursor end 1\""
check_error "textview1:place_cursor_at_line" \
"ignoring GtkTextView command \"textview1:place_cursor_at_line\""
check_error "textview1:place_cursor_at_line " \
"ignoring GtkTextView command \"textview1:place_cursor_at_line \""
check_error "textview1:place_cursor_at_line nnn" \
"ignoring GtkTextView command \"textview1:place_cursor_at_line nnn\""
check_error "textview1:place_cursor_at_line 1 1" \
"ignoring GtkTextView command \"textview1:place_cursor_at_line 1 1\""
check_error "textview1:scroll_to_cursor nnn" \
"ignoring GtkTextView command \"textview1:scroll_to_cursor nnn\""
mkdir $DIR; chmod a-w $DIR
check_error "textview1:save $DIR/$FILE1" \
"ignoring GtkTextView command \"textview1:save $DIR/$FILE1\""
check_error "textview1:save nonexistent/$FILE1" \
"ignoring GtkTextView command \"textview1:save nonexistent/$FILE1\""
for i in $WEIRD_PATHS; do
check_error "textview1:save nonexistent/$i" \
"ignoring GtkTextView command \"textview1:save nonexistent/$i\""
done
rm -rf $DIR
# GtkButton
check_error "button1:nnn" \
"ignoring GtkButton command \"button1:nnn\""
# GtkLinkButton
check_error "linkbutton1:nnn" \
"ignoring GtkLinkButton command \"linkbutton1:nnn\""
check_error "linkbutton1:set_visited" \
"ignoring GtkLinkButton command \"linkbutton1:set_visited\""
check_error "linkbutton1:set_visited 0 1" \
"ignoring GtkLinkButton command \"linkbutton1:set_visited 0 1\""
check_error "linkbutton1:set_visited 2" \
"ignoring GtkLinkButton command \"linkbutton1:set_visited 2\""
# GtkSwitch
check_error "switch1:nnn" \
"ignoring GtkSwitch command \"switch1:nnn\""
check_error "switch1:set_active" \
"ignoring GtkSwitch command \"switch1:set_active\""
check_error "switch1:set_active " \
"ignoring GtkSwitch command \"switch1:set_active \""
check_error "switch1:set_active 2" \
"ignoring GtkSwitch command \"switch1:set_active 2\""
check_error "switch1:set_active $BIG_NUM" \
"ignoring GtkSwitch command \"switch1:set_active $BIG_NUM\""
check_error "switch1:set_active 0 1" \
"ignoring GtkSwitch command \"switch1:set_active 0 1\""
# GtkToggleButton
check_error "togglebutton1:nnn" \
"ignoring GtkToggleButton command \"togglebutton1:nnn\""
check_error "togglebutton1:set_active" \
"ignoring GtkToggleButton command \"togglebutton1:set_active\""
check_error "togglebutton1:set_active " \
"ignoring GtkToggleButton command \"togglebutton1:set_active \""
check_error "togglebutton1:set_active 2" \
"ignoring GtkToggleButton command \"togglebutton1:set_active 2\""
check_error "togglebutton1:set_active $BIG_NUM" \
"ignoring GtkToggleButton command \"togglebutton1:set_active $BIG_NUM\""
check_error "togglebutton1:set_active 1 0" \
"ignoring GtkToggleButton command \"togglebutton1:set_active 1 0\""
# GtkCheckButton
check_error "checkbutton1:nnn" \
"ignoring GtkCheckButton command \"checkbutton1:nnn\""
check_error "checkbutton1:set_active" \
"ignoring GtkCheckButton command \"checkbutton1:set_active\""
check_error "checkbutton1:set_active " \
"ignoring GtkCheckButton command \"checkbutton1:set_active \""
check_error "checkbutton1:set_active 2" \
"ignoring GtkCheckButton command \"checkbutton1:set_active 2\""
check_error "checkbutton1:set_active $BIG_NUM" \
"ignoring GtkCheckButton command \"checkbutton1:set_active $BIG_NUM\""
check_error "checkbutton1:set_active 1 1" \
"ignoring GtkCheckButton command \"checkbutton1:set_active 1 1\""
# GtkRadioButton
check_error "radiobutton1:nnn" \
"ignoring GtkRadioButton command \"radiobutton1:nnn\""
check_error "radiobutton1:set_active" \
"ignoring GtkRadioButton command \"radiobutton1:set_active\""
check_error "radiobutton1:set_active " \
"ignoring GtkRadioButton command \"radiobutton1:set_active \""
check_error "radiobutton1:set_active 2" \
"ignoring GtkRadioButton command \"radiobutton1:set_active 2\""
check_error "radiobutton1:set_active $BIG_NUM" \
"ignoring GtkRadioButton command \"radiobutton1:set_active $BIG_NUM\""
check_error "radiobutton1:set_active nnn" \
"ignoring GtkRadioButton command \"radiobutton1:set_active nnn\""
check_error "radiobutton1:set_active 0 1" \
"ignoring GtkRadioButton command \"radiobutton1:set_active 0 1\""
# GtkSpinButton
check_error "spinbutton1:nnn" \
"ignoring GtkSpinButton command \"spinbutton1:nnn\""
check_error "spinbutton1:set_text" \
"ignoring GtkSpinButton command \"spinbutton1:set_text\""
check_error "spinbutton1:set_text " \
"ignoring GtkSpinButton command \"spinbutton1:set_text \""
check_error "spinbutton1:set_text nnn" \
"ignoring GtkSpinButton command \"spinbutton1:set_text nnn\""
check_error "spinbutton1:set_text $BIG_STRING" \
"ignoring GtkSpinButton command \"spinbutton1:set_text $BIG_STRING\""
check_error "spinbutton1:set_text 10 10" \
"ignoring GtkSpinButton command \"spinbutton1:set_text 10 10\""
check_error "spinbutton1:set_range" \
"ignoring GtkSpinButton command \"spinbutton1:set_range\""
check_error "spinbutton1:set_range " \
"ignoring GtkSpinButton command \"spinbutton1:set_range \""
check_error "spinbutton1:set_range 10 nnn" \
"ignoring GtkSpinButton command \"spinbutton1:set_range 10 nnn\""
check_error "spinbutton1:set_range 10 20 10" \
"ignoring GtkSpinButton command \"spinbutton1:set_range 10 20 10\""
check_error "spinbutton1:set_increments" \
"ignoring GtkSpinButton command \"spinbutton1:set_increments\""
check_error "spinbutton1:set_increments " \
"ignoring GtkSpinButton command \"spinbutton1:set_increments \""
check_error "spinbutton1:set_increments 10 nnn" \
"ignoring GtkSpinButton command \"spinbutton1:set_increments 10 nnn\""
check_error "spinbutton1:set_increments 10 20 10" \
"ignoring GtkSpinButton command \"spinbutton1:set_increments 10 20 10\""
# GtkDialog
check_error "dialog1:resize 100" \
"ignoring GtkDialog command \"dialog1:resize 100\""
check_error "dialog1:resize 100 100 100" \
"ignoring GtkDialog command \"dialog1:resize 100 100 100\""
check_error "dialog1:move" \
"ignoring GtkDialog command \"dialog1:move\""
check_error "dialog1:move " \
"ignoring GtkDialog command \"dialog1:move \""
check_error "dialog1:move 100" \
"ignoring GtkDialog command \"dialog1:move 100\""
check_error "dialog1:move 100 100 100" \
"ignoring GtkDialog command \"dialog1:move 100 100 100\""
check_error "dialog1:fullscreen 1" \
"ignoring GtkDialog command \"dialog1:fullscreen 1\""
check_error "dialog1:unfullscreen 1" \
"ignoring GtkDialog command \"dialog1:unfullscreen 1\""
# GtkFileChooserButton
check_error "filechooserbutton1:nnn" \
"ignoring GtkFileChooserButton command \"filechooserbutton1:nnn\""
# GtkFilechooserDialog
check_error "open_dialog:nnn" \
"ignoring GtkFileChooserDialog command \"open_dialog:nnn\""
check_error "open_dialog:resize 100" \
"ignoring GtkFileChooserDialog command \"open_dialog:resize 100\""
check_error "open_dialog:resize 100 100 100" \
"ignoring GtkFileChooserDialog command \"open_dialog:resize 100 100 100\""
check_error "open_dialog:move" \
"ignoring GtkFileChooserDialog command \"open_dialog:move\""
check_error "open_dialog:move " \
"ignoring GtkFileChooserDialog command \"open_dialog:move \""
check_error "open_dialog:move 100" \
"ignoring GtkFileChooserDialog command \"open_dialog:move 100\""
check_error "open_dialog:move 100 100 100" \
"ignoring GtkFileChooserDialog command \"open_dialog:move 100 100 100\""
check_error "open_dialog:fullscreen 1" \
"ignoring GtkFileChooserDialog command \"open_dialog:fullscreen 1\""
check_error "open_dialog:unfullscreen 1" \
"ignoring GtkFileChooserDialog command \"open_dialog:unfullscreen 1\""
# GtkFontButton
check_error "fontbutton1:nnn" \
"ignoring GtkFontButton command \"fontbutton1:nnn\""
# GtkColorButton
check_error "colorbutton1:nnn" \
"ignoring GtkColorButton command \"colorbutton1:nnn\""
# GtkPrintUnixDialog
check_error "printdialog:nnn" \
"ignoring GtkPrintUnixDialog command \"printdialog:nnn\""
fi
if test $INTERACTIVE; then
check_error "statusbar1:push Click \"Print\"\n printdialog:print nonexistent.ps" \
"ignoring GtkPrintUnixDialog command \" printdialog:print nonexistent.ps\""
fi;
if test $AUTOMATIC; then
# GtkScale
check_error "scale1:nnn" \
"ignoring GtkScale command \"scale1:nnn\""
check_error "scale1:set_value" \
"ignoring GtkScale command \"scale1:set_value\""
check_error "scale1:set_value " \
"ignoring GtkScale command \"scale1:set_value \""
check_error "scale1:set_value nnn" \
"ignoring GtkScale command \"scale1:set_value nnn\""
check_error "scale1:set_value $BIG_STRING" \
"ignoring GtkScale command \"scale1:set_value $BIG_STRING\""
check_error "scale1:set_value 10 10" \
"ignoring GtkScale command \"scale1:set_value 10 10\""
check_error "scale1:set_fill_level nnn" \
"ignoring GtkScale command \"scale1:set_fill_level nnn\""
check_error "scale1:set_fill_level $BIG_STRING" \
"ignoring GtkScale command \"scale1:set_fill_level $BIG_STRING\""
check_error "scale1:set_fill_level 10 10" \
"ignoring GtkScale command \"scale1:set_fill_level 10 10\""
check_error "scale1:set_range" \
"ignoring GtkScale command \"scale1:set_range\""
check_error "scale1:set_range " \
"ignoring GtkScale command \"scale1:set_range \""
check_error "scale1:set_range 10" \
"ignoring GtkScale command \"scale1:set_range 10\""
check_error "scale1:set_range $BIG_NUM" \
"ignoring GtkScale command \"scale1:set_range $BIG_NUM\""
check_error "scale1:set_range x 10" \
"ignoring GtkScale command \"scale1:set_range x 10\""
check_error "scale1:set_range 10 10 10" \
"ignoring GtkScale command \"scale1:set_range 10 10 10\""
check_error "scale1:set_increments" \
"ignoring GtkScale command \"scale1:set_increments\""
check_error "scale1:set_increments " \
"ignoring GtkScale command \"scale1:set_increments \""
check_error "scale1:set_increments 10" \
"ignoring GtkScale command \"scale1:set_increments 10\""
check_error "scale1:set_increments $BIG_NUM" \
"ignoring GtkScale command \"scale1:set_increments $BIG_NUM\""
check_error "scale1:set_increments x 10" \
"ignoring GtkScale command \"scale1:set_increments x 10\""
check_error "scale1:set_increments 10 10 10" \
"ignoring GtkScale command \"scale1:set_increments 10 10 10\""
# GtkProgressBar
check_error "progressbar1:nnn" \
"ignoring GtkProgressBar command \"progressbar1:nnn\""
check_error "progressbar1:set_fraction" \
"ignoring GtkProgressBar command \"progressbar1:set_fraction\""
check_error "progressbar1:set_fraction " \
"ignoring GtkProgressBar command \"progressbar1:set_fraction \""
check_error "progressbar1:set_fraction nnn" \
"ignoring GtkProgressBar command \"progressbar1:set_fraction nnn\""
check_error "progressbar1:set_fraction $BIG_STRING" \
"ignoring GtkProgressBar command \"progressbar1:set_fraction $BIG_STRING\""
check_error "progressbar1:set_fraction .5 1" \
"ignoring GtkProgressBar command \"progressbar1:set_fraction .5 1\""
# GtkSpinner
check_error "spinner1:nnn" \
"ignoring GtkSpinner command \"spinner1:nnn\""
check_error "spinner1:start 1" \
"ignoring GtkSpinner command \"spinner1:start 1\""
check_error "spinner1:start $BIG_STRING" \
"ignoring GtkSpinner command \"spinner1:start $BIG_STRING\""
check_error "spinner1:stop 1" \
"ignoring GtkSpinner command \"spinner1:stop 1\""
check_error "spinner1:stop $BIG_STRING" \
"ignoring GtkSpinner command \"spinner1:stop $BIG_STRING\""
# GtkStatusbar
check_error "statusbar1:nnn" \
"ignoring GtkStatusbar command \"statusbar1:nnn\""
check_error "statusbar1:push_id" \
"ignoring GtkStatusbar command \"statusbar1:push_id\""
check_error "statusbar1:pop_id" \
"ignoring GtkStatusbar command \"statusbar1:pop_id\""
check_error "statusbar1:remove_all_id" \
"ignoring GtkStatusbar command \"statusbar1:remove_all_id\""
check_error "statusbar1:remove_all_id " \
"ignoring GtkStatusbar command \"statusbar1:remove_all_id \""
check_error "statusbar1:remove_all_id a b" \
"ignoring GtkStatusbar command \"statusbar1:remove_all_id a b\""
check_error "statusbar1:remove_all a" \
"ignoring GtkStatusbar command \"statusbar1:remove_all a\""
check_error "statusbar1:remove_all $BIG_STRING" \
"ignoring GtkStatusbar command \"statusbar1:remove_all $BIG_STRING\""
# GtkComboBoxText
check_error "comboboxtext1:nnn" \
"ignoring GtkComboBoxText command \"comboboxtext1:nnn\""
check_error "comboboxtext1:force" \
"ignoring GtkComboBoxText command \"comboboxtext1:force\""
check_error "comboboxtext1:insert_text" \
"ignoring GtkComboBoxText command \"comboboxtext1:insert_text\""
check_error "comboboxtext1:insert_text x y" \
"ignoring GtkComboBoxText command \"comboboxtext1:insert_text x y\""
check_error "comboboxtext1:remove" \
"ignoring GtkComboBoxText command \"comboboxtext1:remove\""
check_error "comboboxtext1:remove x y" \
"ignoring GtkComboBoxText command \"comboboxtext1:remove x y\""
# GtkTreeView #
check_error "treeview1:nnn" \
"ignoring GtkTreeView command \"treeview1:nnn\""
check_error "treeview2:nnn" \
"ignoring GtkTreeView command \"treeview2:nnn\""
check_error "treeview1:force" \
"ignoring GtkTreeView command \"treeview1:force\""
# GtkTreeView save
check_error "treeview1:save" \
"ignoring GtkTreeView command \"treeview1:save\""
mkdir $DIR; chmod a-w $DIR
check_error "treeview1:save $DIR/$FILE1" \
"ignoring GtkTreeView command \"treeview1:save $DIR/$FILE1\""
check_error "treeview1:save nonexistent/$FILE1" \
"ignoring GtkTreeView command \"treeview1:save nonexistent/$FILE1\""
rm -rf $DIR
for i in $WEIRD_PATHS; do
check_error "treeview1:save nonexistent/$i" \
"ignoring GtkTreeView command \"treeview1:save nonexistent/$i\""
done
# GtkTreeView insert_row
check_error "treeview1:insert_row 10000" \
"ignoring GtkTreeView command \"treeview1:insert_row 10000\""
check_error "treeview1:insert_row $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:insert_row $BIG_STRING\""
check_error "treeview1:insert_row -1" \
"ignoring GtkTreeView command \"treeview1:insert_row -1\""
check_error "treeview1:insert_row nnn" \
"ignoring GtkTreeView command \"treeview1:insert_row nnn\""
check_error "treeview1:insert_row" \
"ignoring GtkTreeView command \"treeview1:insert_row\""
check_error "treeview1:insert_row " \
"ignoring GtkTreeView command \"treeview1:insert_row \""
check_error "treeview1:insert_row -1" \
"ignoring GtkTreeView command \"treeview1:insert_row -1\""
check_error "treeview1:insert_row 1000" \
"ignoring GtkTreeView command \"treeview1:insert_row 1000\""
check_error "treeview2:insert_row 0" \
"ignoring GtkTreeView command \"treeview2:insert_row 0\""
check_error "treeview3:insert_row end" \
"missing model/ignoring GtkTreeView command \"treeview3:insert_row end\""
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" \
"ignoring GtkTreeView command \" treeview2:expand abc\""
check_error "treeview2:expand" \
"ignoring GtkTreeView command \"treeview2:expand\""
check_error "treeview2:expand 0:abc" \
"ignoring GtkTreeView command \"treeview2:expand 0:abc\""
check_error "treeview2:expand 0 0" \
"ignoring GtkTreeView command \"treeview2:expand 0 0\""
check_error "treeview2:expand_all abc" \
"ignoring GtkTreeView command \"treeview2:expand_all abc\""
check_error "treeview2:expand_all $BIG_STRING" \
"ignoring GtkTreeView command \"treeview2:expand_all $BIG_STRING\""
check_error "treeview2:expand_all 0:abc" \
"ignoring GtkTreeView command \"treeview2:expand_all 0:abc\""
check_error "treeview2:expand_all 0 0" \
"ignoring GtkTreeView command \"treeview2:expand_all 0 0\""
check_error "treeview2:collapse abc" \
"ignoring GtkTreeView command \"treeview2:collapse abc\""
check_error "treeview2:collapse $BIG_STRING" \
"ignoring GtkTreeView command \"treeview2:collapse $BIG_STRING\""
check_error "treeview2:collapse 0:abc" \
"ignoring GtkTreeView command \"treeview2:collapse 0:abc\""
check_error "treeview2:collapse 0 0" \
"ignoring GtkTreeView command \"treeview2:collapse 0 0\""
check_error "treeview2:insert_row" \
"ignoring GtkTreeView command \"treeview2:insert_row\""
check_error "treeview2:insert_row abc" \
"ignoring GtkTreeView command \"treeview2:insert_row abc\""
check_error "treeview2:insert_row 0:abc" \
"ignoring GtkTreeView command \"treeview2:insert_row 0:abc\""
check_error "treeview2:insert_row end 0" \
"ignoring GtkTreeView command \"treeview2:insert_row end 0\""
# GtkTreeView move_row
check_error "treeview1:move_row" \
"ignoring GtkTreeView command \"treeview1:move_row\""
check_error "treeview1:move_row " \
"ignoring GtkTreeView command \"treeview1:move_row \""
check_error "treeview1:move_row nnn" \
"ignoring GtkTreeView command \"treeview1:move_row nnn\""
check_error "treeview1:move_row $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:move_row $BIG_STRING\""
check_error "treeview1:move_row 10000 end" \
"ignoring GtkTreeView command \"treeview1:move_row 10000 end\""
check_error "treeview1:move_row $BIG_STRING end" \
"ignoring GtkTreeView command \"treeview1:move_row $BIG_STRING end\""
check_error "treeview1:move_row -1 end" \
"ignoring GtkTreeView command \"treeview1:move_row -1 end\""
check_error "treeview1:move_row nnn end" \
"ignoring GtkTreeView command \"treeview1:move_row nnn end\""
check_error "treeview1:move_row 0 10000" \
"ignoring GtkTreeView command \"treeview1:move_row 0 10000\""
check_error "treeview1:move_row 0 -1" \
"ignoring GtkTreeView command \"treeview1:move_row 0 -1\""
check_error "treeview1:move_row 0 nnn" \
"ignoring GtkTreeView command \"treeview1:move_row 0 nnn\""
check_error "treeview2:move_row" \
"ignoring GtkTreeView command \"treeview2:move_row\""
check_error "treeview2:move_row 0:0 abc" \
"ignoring GtkTreeView command \"treeview2:move_row 0:0 abc\""
check_error "treeview2:move_row 0:0 0:abc" \
"ignoring GtkTreeView command \"treeview2:move_row 0:0 0:abc\""
check_error "treeview2:move_row abc end" \
"ignoring GtkTreeView command \"treeview2:move_row abc end\""
check_error "treeview2:move_row 0:abc end" \
"ignoring GtkTreeView command \"treeview2:move_row 0:abc end\""
check_error "treeview2:move_row 0 end 0" \
"ignoring GtkTreeView command \"treeview2:move_row 0 end 0\""
# GtkTreeView remove_row
check_error "treeview1:remove_row 10000" \
"ignoring GtkTreeView command \"treeview1:remove_row 10000\""
check_error "treeview1:remove_row -1" \
"ignoring GtkTreeView command \"treeview1:remove_row -1\""
check_error "treeview1:remove_row nnn" \
"ignoring GtkTreeView command \"treeview1:remove_row nnn\""
check_error "treeview1:remove_row $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:remove_row $BIG_STRING\""
check_error "treeview1:remove_row" \
"ignoring GtkTreeView command \"treeview1:remove_row\""
check_error "treeview1:remove_row " \
"ignoring GtkTreeView command \"treeview1:remove_row \""
check_error "treeview2:remove_row" \
"ignoring GtkTreeView command \"treeview2:remove_row\""
check_error "treeview2:remove_row abc" \
"ignoring GtkTreeView command \"treeview2:remove_row abc\""
check_error "treeview2:remove_row 0:abc" \
"ignoring GtkTreeView command \"treeview2:remove_row 0:abc\""
check_error "treeview2:remove_row 0 0" \
"ignoring GtkTreeView command \"treeview2:remove_row 0 0\""
# GtkTreeView scroll
check_error "treeview1:scroll" \
"ignoring GtkTreeView command \"treeview1:scroll\""
check_error "treeview1:scroll " \
"ignoring GtkTreeView command \"treeview1:scroll \""
check_error "treeview1:scroll nnn" \
"ignoring GtkTreeView command \"treeview1:scroll nnn\""
check_error "treeview1:scroll $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:scroll $BIG_STRING\""
check_error "treeview1:scroll -1 1" \
"ignoring GtkTreeView command \"treeview1:scroll -1 1\""
check_error "treeview1:scroll 1 -1" \
"ignoring GtkTreeView command \"treeview1:scroll 1 -1\""
check_error "treeview1:scroll nnn 1" \
"ignoring GtkTreeView command \"treeview1:scroll nnn 1\""
check_error "treeview1:scroll 1 nnn" \
"ignoring GtkTreeView command \"treeview1:scroll 1 nnn\""
check_error "treeview1:scroll 0 0 0" \
"ignoring GtkTreeView command \"treeview1:scroll 0 0 0\""
check_error "treeview2:scroll" \
"ignoring GtkTreeView command \"treeview2:scroll\""
check_error "treeview2:scroll abc" \
"ignoring GtkTreeView command \"treeview2:scroll abc\""
check_error "treeview2:scroll 0:abc" \
"ignoring GtkTreeView command \"treeview2:scroll 0:abc\""
check_error "treeview2:scroll abc 0" \
"ignoring GtkTreeView command \"treeview2:scroll abc 0\""
check_error "treeview2:scroll 0:abc 0" \
"ignoring GtkTreeView command \"treeview2:scroll 0:abc 0\""
check_error "treeview2:scroll 0:0" \
"ignoring GtkTreeView command \"treeview2:scroll 0:0\""
check_error "treeview2:scroll 0:0 abc" \
"ignoring GtkTreeView command \"treeview2:scroll 0:0 abc\""
check_error "treeview2:set_cursor abc" \
"ignoring GtkTreeView command \"treeview2:set_cursor abc\""
check_error "treeview2:set_cursor 0:abc" \
"ignoring GtkTreeView command \"treeview2:set_cursor 0:abc\""
check_error "treeview2:set_cursor 0 0" \
"ignoring GtkTreeView command \"treeview2:set_cursor 0 0\""
check_error "treeview2:set_cursor 0 $BIG_STRING" \
"ignoring GtkTreeView command \"treeview2:set_cursor 0 $BIG_STRING\""
check_error "treeview2:clear 0" \
"ignoring GtkTreeView command \"treeview2:clear 0\""
check_error "treeview2:clear\n treeview2:insert_row 0" \
"ignoring GtkTreeView command \" treeview2:insert_row 0\""
# GtkTreeView set
check_error "treeview1:set" \
"ignoring GtkTreeView command \"treeview1:set\""
check_error "treeview1:set " \
"ignoring GtkTreeView command \"treeview1:set \""
check_error "treeview1:set nnn" \
"ignoring GtkTreeView command \"treeview1:set nnn\""
check_error "treeview1:set $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:set $BIG_STRING\""
check_error "treeview1:set 0 nnn" \
"ignoring GtkTreeView command \"treeview1:set 0 nnn\""
check_error "treeview1:set nnn 0" \
"ignoring GtkTreeView command \"treeview1:set nnn 0\""
check_error "treeview1:set 1 10000 77" \
"ignoring GtkTreeView command \"treeview1:set 1 10000 77\""
check_error "treeview1:set 1 11 77" \
"ignoring GtkTreeView command \"treeview1:set 1 11 77\""
check_error "treeview1:set nnn 1 77" \
"ignoring GtkTreeView command \"treeview1:set nnn 1 77\""
check_error "treeview1:set 1 nnn 77" \
"ignoring GtkTreeView command \"treeview1:set 1 nnn 77\""
check_error "treeview1:set -1 1 77" \
"ignoring GtkTreeView command \"treeview1:set -1 1 77\""
check_error "treeview1:set 1 -1 77" \
"ignoring GtkTreeView command \"treeview1:set 1 -1 77\""
# GtkTreeView set junk into numeric columns
check_error "treeview1:set 1 1 abc" \
"ignoring GtkTreeView command \"treeview1:set 1 1 abc\""
check_error "treeview1:set 1 1 $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:set 1 1 $BIG_STRING\""
check_error "treeview1:set 1 1" \
"ignoring GtkTreeView command \"treeview1:set 1 1\""
check_error "treeview1:set 1 1 555.5" \
"ignoring GtkTreeView command \"treeview1:set 1 1 555.5\""
check_error "treeview1:set 1 1 555 5" \
"ignoring GtkTreeView command \"treeview1:set 1 1 555 5\""
check_error "treeview1:set 1 7 abc" \
"ignoring GtkTreeView command \"treeview1:set 1 7 abc\""
check_error "treeview1:set 1 7 $BIG_STRING" \
"ignoring GtkTreeView command \"treeview1:set 1 7 $BIG_STRING\""
check_error "treeview1:set 1 7" \
"ignoring GtkTreeView command \"treeview1:set 1 7\""
check_error "treeview1:set 1 7 555 5" \
"ignoring GtkTreeView command \"treeview1:set 1 7 555 5\""
# GtkTreeViewColumn (which is not a GtkWidget)
check_error "treeviewcolumn3:nnn" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:nnn\""
check_error "treeviewcolumn3:force" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:force\""
check_error "treeviewcolumn3:grab_focus" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:grab_focus\""
check_error "treeviewcolumn3:snapshot x.svg" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:snapshot x.svg\""
check_error "treeviewcolumn3:set_sensitive 0" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:set_sensitive 0\""
check_error "treeviewcolumn3:set_size_request 50 60" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:set_size_request 50 60\""
check_error "treeviewcolumn3:set_visible 0" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:set_visible 0\""
check_error "treeviewcolumn3:style" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:style\""
check_error "treeviewcolumn3:set_tooltip_text" \
"ignoring GtkTreeViewColumn command \"treeviewcolumn3:set_tooltip_text\""
# GtkEntry