diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-30 21:51:49 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-30 21:51:49 +0000 |
commit | cee597c5066ab5c17809f707f7423d8d16fe6279 (patch) | |
tree | 3214d02afe4e3e8781d021d12a9e26ac30f8071f /regression | |
parent | fb2e2e869ff57b45464bf6e24989ccdb10120ae9 (diff) |
first two attempts for regression test patches for automated testing
svn path=/trunk/externals/hcs/; revision=11212
Diffstat (limited to 'regression')
-rw-r--r-- | regression/canvas_name-regression.pd | 129 | ||||
-rw-r--r-- | regression/window_name-regression.pd | 129 |
2 files changed, 258 insertions, 0 deletions
diff --git a/regression/canvas_name-regression.pd b/regression/canvas_name-regression.pd new file mode 100644 index 0000000..90c1812 --- /dev/null +++ b/regression/canvas_name-regression.pd @@ -0,0 +1,129 @@ +#N canvas 271 39 873 553 10; +#X symbolatom 21 204 0 0 0 0 - - -; +#X obj 21 183 canvas_name; +#X obj 21 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X symbolatom 98 204 0 0 0 0 - - -; +#X obj 98 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 canvas_name 1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 98 183 pd get parent; +#X symbolatom 188 204 0 0 0 0 - - -; +#X obj 188 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 122 252 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 canvas_name 2; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 123 133 pd get parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 188 183 pd get parent of parent; +#X symbolatom 338 204 0 0 0 0 - - -; +#X obj 338 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#N canvas 0 22 450 300 get 0; +#X obj 59 14 inlet; +#X obj 61 269 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 122 252 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 canvas_name 3; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 123 133 pd get parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 75 116 pd get parent of parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 337 181 pd get parent of parent of parent; +#X symbolatom 549 204 0 0 0 0 - - -; +#X obj 549 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 549 183 canvas_name pd-canvas_name-regression.pd; +#X symbolatom 562 125 0 0 0 0 - - -; +#X obj 562 81 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 562 104 canvas_name my_long_name_to_avoid_conflicts; +#X obj 602 78 namecanvas my_long_name_to_avoid_conflicts; +#X obj 70 79 trigger bang bang bang bang bang bang; +#X obj 500 489 print ERROR; +#X obj 199 507 print SUCCESS; +#X obj 349 346 select symbol; +#X obj 424 306 select symbol; +#X obj 499 266 select symbol; +#X msg 92 48 bang; +#X obj 75 18 loadbang; +#X obj 499 286 symbol; +#X obj 424 326 symbol; +#X obj 499 245 t a a; +#X obj 424 285 t a a; +#X obj 349 366 symbol; +#X obj 349 325 t a a; +#X obj 274 386 select symbol; +#X obj 274 406 symbol; +#X obj 274 365 t a a; +#X obj 199 426 select symbol; +#X text 197 29 this tests all the ways of the getting the symbol against +each other. They should all get the same value; +#X connect 1 0 0 0; +#X connect 1 0 36 0; +#X connect 2 0 1 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 5 0 35 0; +#X connect 7 0 8 0; +#X connect 8 0 6 0; +#X connect 8 0 32 0; +#X connect 10 0 11 0; +#X connect 11 0 9 0; +#X connect 11 0 30 0; +#X connect 13 0 14 0; +#X connect 14 0 12 0; +#X connect 14 0 29 0; +#X connect 16 0 17 0; +#X connect 17 0 15 0; +#X connect 17 0 24 1; +#X connect 19 0 1 0; +#X connect 19 1 5 0; +#X connect 19 2 8 0; +#X connect 19 3 11 0; +#X connect 19 4 14 0; +#X connect 19 5 17 0; +#X connect 22 0 31 0; +#X connect 22 1 20 0; +#X connect 23 0 28 0; +#X connect 23 1 20 0; +#X connect 24 0 27 0; +#X connect 25 0 19 0; +#X connect 26 0 19 0; +#X connect 27 0 23 1; +#X connect 28 0 22 1; +#X connect 29 0 24 0; +#X connect 29 1 27 1; +#X connect 30 0 23 0; +#X connect 30 1 28 1; +#X connect 31 0 33 1; +#X connect 32 0 22 0; +#X connect 32 1 31 1; +#X connect 33 0 34 0; +#X connect 33 1 20 0; +#X connect 34 0 36 1; +#X connect 35 0 33 0; +#X connect 35 1 34 1; +#X connect 36 0 21 0; +#X connect 36 1 20 0; diff --git a/regression/window_name-regression.pd b/regression/window_name-regression.pd new file mode 100644 index 0000000..9bb6623 --- /dev/null +++ b/regression/window_name-regression.pd @@ -0,0 +1,129 @@ +#N canvas 271 39 873 553 10; +#X symbolatom 21 204 0 0 0 0 - - -; +#X obj 21 183 window_name; +#X obj 21 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X symbolatom 98 204 0 0 0 0 - - -; +#X obj 98 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 window_name 1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 98 183 pd get parent; +#X symbolatom 188 204 0 0 0 0 - - -; +#X obj 188 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 122 252 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 window_name 2; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 123 133 pd get parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 188 183 pd get parent of parent; +#X symbolatom 338 204 0 0 0 0 - - -; +#X obj 338 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#N canvas 0 22 450 300 get 0; +#X obj 59 14 inlet; +#X obj 61 269 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 122 252 outlet; +#N canvas 496 269 450 300 get 0; +#X obj 117 21 inlet; +#X obj 119 265 outlet; +#X obj 109 137 window_name 3; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 123 133 pd get parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 75 116 pd get parent of parent; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 337 181 pd get parent of parent of parent; +#X symbolatom 549 204 0 0 0 0 - - -; +#X obj 549 160 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 549 183 window_name pd-window_name-regression.pd; +#X symbolatom 562 125 0 0 0 0 - - -; +#X obj 562 81 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 562 104 window_name my_long_name_to_avoid_conflicts; +#X obj 602 78 namecanvas my_long_name_to_avoid_conflicts; +#X obj 70 79 trigger bang bang bang bang bang bang; +#X obj 500 489 print ERROR; +#X obj 199 507 print SUCCESS; +#X obj 349 346 select symbol; +#X obj 424 306 select symbol; +#X obj 499 266 select symbol; +#X msg 92 48 bang; +#X obj 75 18 loadbang; +#X obj 499 286 symbol; +#X obj 424 326 symbol; +#X obj 499 245 t a a; +#X obj 424 285 t a a; +#X obj 349 366 symbol; +#X obj 349 325 t a a; +#X obj 274 386 select symbol; +#X obj 274 406 symbol; +#X obj 274 365 t a a; +#X obj 199 426 select symbol; +#X text 197 29 this tests all the ways of the getting the symbol against +each other. They should all get the same value; +#X connect 1 0 0 0; +#X connect 1 0 36 0; +#X connect 2 0 1 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 5 0 35 0; +#X connect 7 0 8 0; +#X connect 8 0 6 0; +#X connect 8 0 32 0; +#X connect 10 0 11 0; +#X connect 11 0 9 0; +#X connect 11 0 30 0; +#X connect 13 0 14 0; +#X connect 14 0 12 0; +#X connect 14 0 29 0; +#X connect 16 0 17 0; +#X connect 17 0 15 0; +#X connect 17 0 24 1; +#X connect 19 0 1 0; +#X connect 19 1 5 0; +#X connect 19 2 8 0; +#X connect 19 3 11 0; +#X connect 19 4 14 0; +#X connect 19 5 17 0; +#X connect 22 0 31 0; +#X connect 22 1 20 0; +#X connect 23 0 28 0; +#X connect 23 1 20 0; +#X connect 24 0 27 0; +#X connect 25 0 19 0; +#X connect 26 0 19 0; +#X connect 27 0 23 1; +#X connect 28 0 22 1; +#X connect 29 0 24 0; +#X connect 29 1 27 1; +#X connect 30 0 23 0; +#X connect 30 1 28 1; +#X connect 31 0 33 1; +#X connect 32 0 22 0; +#X connect 32 1 31 1; +#X connect 33 0 34 0; +#X connect 33 1 20 0; +#X connect 34 0 36 1; +#X connect 35 0 33 0; +#X connect 35 1 34 1; +#X connect 36 0 21 0; +#X connect 36 1 20 0; |