source: npl/mediabox/lcdproc_edwin/src/tests/test @ cd8630b

gcc484perl-5.22
Last change on this file since cd8630b was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.8 KB
Line 
1hello
2
3screen_add one
4
5widget_add one f frame
6widget_set one f 1 2 10 3 20 4 v 2
7widget_add one g frame -in f
8widget_set one g 5 1 15 3 20 4 v 2
9
10widget_add one s string
11widget_add one s string -in f
12widget_add one s string -in g
13widget_set one s 1 1 "123456789012345678901234567890"
14widget_set one s 1 2 "123456789012345678901234567890"
15widget_set one s 1 3 "123456789012345678901234567890"
16widget_set one s 1 4 "123456789012345678901234567890"
17widget_del one s
18
19widget_add one h hbar
20widget_add one h hbar -in f
21widget_add one h hbar -in g
22widget_set one h 1 2 13
23widget_set one h 1 2 43
24widget_set one h 1 2 83
25widget_del one h
26
27widget_add one t title
28widget_add one t title -in f
29widget_add one t title -in g
30widget_set one t Hello
31widget_set one t "Hello there"
32widget_set one t "Hi, there.  Watch me scroll!"
33widget_del one t
34
35
36------------------------ Disk Screen test...
37hello
38screen_add D
39widget_add D t title
40widget_set D t "Disk Use"
41widget_add D f frame
42widget_set D f 1 2 20 4 20 8 v 8
43widget_add D s1 string -in f
44widget_add D s2 string -in f
45widget_add D s3 string -in f
46widget_add D s4 string -in f
47widget_add D s5 string -in f
48widget_add D s6 string -in f
49widget_add D s7 string -in f
50widget_add D s8 string -in f
51widget_add D h1 hbar -in f
52widget_add D h2 hbar -in f
53widget_add D h3 hbar -in f
54widget_add D h4 hbar -in f
55widget_add D h5 hbar -in f
56widget_add D h6 hbar -in f
57widget_add D h7 hbar -in f
58widget_add D h8 hbar -in f
59widget_set D s1 1 1 /foo
60widget_set D s2 1 2 /bar
61widget_set D s3 1 3 /baz
62widget_set D s4 1 4 /quux
63widget_set D s5 1 5 /foobar
64widget_set D s6 1 6 /tmp
65widget_set D s7 1 7 /snot
66widget_set D s8 1 8 /booger
67widget_set D h1 10 1 3
68widget_set D h2 10 2 6
69widget_set D h3 10 3 9
70widget_set D h4 10 4 12
71widget_set D h5 10 5 15
72widget_set D h6 10 6 18
73widget_set D h7 10 7 21
74widget_set D h8 10 8 24
75---------------------------
Note: See TracBrowser for help on using the repository browser.