Thread Win32::GUI 1.06 - Test schlägt fehl (11 answers)
Opened by GwenDragon at 2011-05-30 16:19

GwenDragon
 2011-05-31 09:49
#149285 #149285
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
2011-05-31T05:54:22 renee
Auch wenn Du das Modul jetzt mit "force" installiert hast, wäre es gut, wenn Du den Test mal einzeln laufen lässt... Häufig gibt's dann mehr Informationen.


subdirs-test
Code: (dl )
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
PERL-5.8 C:\strawberry\cpan\build\Win32-GUI-1.06-UW7MrQ>dmake subdirs-test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..\blib\lib', '..\blib\arch')" t/*.t
t/01_load.t .......... ok
t/02_public_api.t .... ok
t/03_inline.t ........ ok
t/04_new.t ........... ok
t/05_newCursor.t ..... ok
t/06_newIcon.t ....... ok
t/98_pod.t ...........
t/98_pod.t ........... 1/1 # Failed test 'POD test for lib'
# at C:\strawberry\perl\site\lib/Test/Pod.pm line 182.
# lib does not exist
# Looks like you failed 1 test of 1.
t/98_pod.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/99_pod_coverage.t .. ok

Test Summary Report
-------------------
t/98_pod.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=8, Tests=32, 2 wallclock secs ( 0.20 usr + 0.16 sys = 0.36 CPU)
Result: FAIL
Failed 1/8 test programs. 1/32 subtests failed.
dmake: Error code 255, while making 'test_dynamic'
dmake: Error code 255, while making 'subdirs-test'


test_dynamic
Code: (dl )
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
PERL-5.8 C:\strawberry\cpan\build\Win32-GUI-1.06-UW7MrQ>dmake test_dynamic
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_basic.t ....................... ok
t/02_constants.t ................... ok
t/02_window.t ...................... ok
t/03_button.t ...................... ok
t/04_cov.t ......................... ok
t/05_AcceleratorTable.t ............ ok
t/05_Menu.t ........................ ok
t/05_NotifyIcon_01_Constructor.t ... ok
t/05_NotifyIcon_02_Change.t ........ ok
t/05_NotifyIcon_03_OtherMethods.t .. ok
t/05_NotifyIcon_04_Remove.t ........ ok
t/05_NotifyIcon_05_DESTROY.t ....... ok
t/05_Timer_01_OEM.t ................ ok
t/05_Timer_02_NEM.t ................ ok
t/05_Timer_03_Interval.t ........... ok
t/05_Timer_04_Kill.t ............... ok
t/05_Timer_05_DESTROY.t ............ ok
t/06_Cursor.t ...................... ok
t/06_Icon.t ........................ ok
t/50_Font_GetMetrics.t ............. ok
t/50_Richedit_GetCharFormat.t ...... ok
t/97_Version.t ..................... ok
t/98_Pod.t ......................... ok
t/99_pod_coverage.t ................ ok
All tests successful.
Files=24, Tests=458, 15 wallclock secs ( 0.28 usr + 0.48 sys = 0.76 CPU)
Result: PASS



Einzeltest des früher fehlschlagenden Tests
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
PERL-5.8 C:\strawberry\cpan\build\Win32-GUI-1.06-UW7MrQ>C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "
test_harness(0, 'blib\lib', 'blib\arch')" t\98_Pod.t
t\98_Pod.t .. ok
All tests successful.
Files=1, Tests=127, 2 wallclock secs ( 0.08 usr + 0.08 sys = 0.16 CPU)
Result: PASS

PERL-5.8 C:\strawberry\cpan\build\Win32-GUI-1.06-UW7MrQ>C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "
test_harness(0, '..\blib\lib', '..\blib\arch')" t\98_Pod.t
t\98_Pod.t .. ok
All tests successful.
Files=1, Tests=127, 2 wallclock secs ( 0.06 usr + 0.11 sys = 0.17 CPU)
Result: PASS


Ich verstehe deswegen nicht wo was fehlschlug.

//EDIT: Vergessen bei test_harness verbose zu setzen.
more (31.3kb):
Code: (dl )
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
t/01_basic.t ....................... 
1..3
ok 1 - Correct OS
ok 2 - Win32::GUI loaded OK
ok 3 - Win32::GUI version check
ok
t/02_constants.t ...................
1..14
ok 1 - No warning from 'use Win32::GUI()'
ok 2 - Unadorned 'use Win32::GUI' deprecated warning
ok 3 - Unadorned 'use Win32::GUI 1.03' deprecated warning
ok 4 - No warning from 'use Win32::GUI 1.03,'''
ok 5 - CW_USEDEFAULT not defined in main package
ok 6 - CW_USEDEFAULT still not defined in main package
ok 7 - CW_USEDEFAULT autoloaded
ok 8 - CW_USEDEFAULT defined in main package after calling it
ok 9 - Win32::GUI::constant lookup OK
ok 10 - Win32::GUI::constant() deprecated warning
ok 11 - CW_USEDEFAULT not defined in Win32::GUI package
ok 12 - Win32::GUI constant AUTOLOAD OK
ok 13 - Win32::GUI constant AUTOLAD deprecated warning
ok 14 - CW_USEDEFAULT defined in Win32::GUI package after calling it
ok
t/02_window.t ......................
1..17
ok 1 - Win32::GUI::Window->can(...)
ok 2 - The object isa Win32::GUI::Window
ok 3 - Window LEFT correct
ok 4 - Window TOP correct
ok 5 - Window WIDTH correct
ok 6 - Window HEIGHT correct
ok 7 - Window TITLE correct
ok 8 - Change window LEFT
ok 9 - Change window TOP
ok 10 - Change window WIDTH
ok 11 - Change window HEIGHT
ok 12 - Move window, LEFT
ok 13 - Move winodw TOP
ok 14 - Resize winodw WIDTH
ok 15 - Resize winodw HEIGHT
ok 16 - Change winodw TITLE
ok 17 - Don't want warnings from constructors
ok
t/03_button.t ......................
1..19
ok 1 - Win32::GUI::Window->can('AddButton')
ok 2 - Win32::GUI::Button->can(...)
ok 3 - $W isa Win32::GUI::Window
ok 4 - $B isa Win32::GUI::Button
ok 5 - $W->{TestButton} isa Win32::GUI::Button
ok 6 - $W->TestButton isa Win32::GUI::Button
ok 7 - Parent references Button
ok 8 - button LEFT correct
ok 9 - button TOP correct
ok 10 - button TEXT correct
ok 11 - change button LEFT
ok 12 - change button TOP
ok 13 - change button WIDTH
ok 14 - change button HEIGHT
ok 15 - resize button WIDTH
ok 16 - resize button HEIGHT
ok 17 - move button LEFT
ok 18 - move button TOP
ok 19 - change button TEXT
ok
t/04_cov.t .........................
ok 1 - The object isa Win32::GUI::Window
ok 2 - $W->AddAnimation isa Win32::GUI::Animation
ok 3 - $W->{TestAnimation} isa Win32::GUI::Animation
ok 4 - Parent references Animation
ok 5 - TestAnimation->DESTROY()
ok 6 - $W->AddButton isa Win32::GUI::Button
ok 7 - $W->{TestButton} isa Win32::GUI::Button
ok 8 - Parent references Button
ok 9 - TestButton->DESTROY()
ok 10 - $W->AddCheckbox isa Win32::GUI::Checkbox
ok 11 - $W->{TestCheckbox} isa Win32::GUI::Checkbox
ok 12 - Parent references Checkbox
ok 13 - TestCheckbox->DESTROY()
ok 14 - $W->AddCombobox isa Win32::GUI::Combobox
ok 15 - $W->{TestCombobox} isa Win32::GUI::Combobox
ok 16 - Parent references Combobox
ok 17 - TestCombobox->DESTROY()
ok 18 - $W->AddComboboxEx isa Win32::GUI::ComboboxEx
ok 19 - $W->{TestComboboxEx} isa Win32::GUI::ComboboxEx
ok 20 - Parent references ComboboxEx
ok 21 - TestComboboxEx->DESTROY()
ok 22 - $W->AddDateTime isa Win32::GUI::DateTime
ok 23 - $W->{TestDateTime} isa Win32::GUI::DateTime
ok 24 - Parent references DateTime
ok 25 - TestDateTime->DESTROY()
ok 26 - $W->AddGraphic isa Win32::GUI::Graphic
ok 27 - $W->{TestGraphic} isa Win32::GUI::Graphic
ok 28 - Parent references Graphic
ok 29 - TestGraphic->DESTROY()
ok 30 - $W->AddGroupbox isa Win32::GUI::Groupbox
ok 31 - $W->{TestGroupbox} isa Win32::GUI::Groupbox
ok 32 - Parent references Groupbox
ok 33 - TestGroupbox->DESTROY()
ok 34 - $W->AddHeader isa Win32::GUI::Header
ok 35 - $W->{TestHeader} isa Win32::GUI::Header
ok 36 - Parent references Header
ok 37 - TestHeader->DESTROY()
ok 38 - $W->AddLabel isa Win32::GUI::Label
ok 39 - $W->{TestLabel} isa Win32::GUI::Label
ok 40 - Parent references Label
ok 41 - TestLabel->DESTROY()
ok 42 - $W->AddListView isa Win32::GUI::ListView
ok 43 - $W->{TestListView} isa Win32::GUI::ListView
ok 44 - Parent references ListView
ok 45 - TestListView->DESTROY()
ok 46 - $W->AddListbox isa Win32::GUI::Listbox
ok 47 - $W->{TestListbox} isa Win32::GUI::Listbox
ok 48 - Parent references Listbox
ok 49 - TestListbox->DESTROY()
ok 50 - TestMenu->DESTROY()
ok 51 - $W->AddMonthCal isa Win32::GUI::MonthCal
ok 52 - $W->{TestMonthCal} isa Win32::GUI::MonthCal
ok 53 - Parent references MonthCal
ok 54 - TestMonthCal->DESTROY()
ok 55 - $W->AddProgressBar isa Win32::GUI::ProgressBar
ok 56 - $W->{TestProgressBar} isa Win32::GUI::ProgressBar
ok 57 - Parent references ProgressBar
ok 58 - TestProgressBar->DESTROY()
ok 59 - $W->AddRadioButton isa Win32::GUI::RadioButton
ok 60 - $W->{TestRadioButton} isa Win32::GUI::RadioButton
ok 61 - Parent references RadioButton
ok 62 - TestRadioButton->DESTROY()
ok 63 - $W->AddRebar isa Win32::GUI::Rebar
ok 64 - $W->{TestRebar} isa Win32::GUI::Rebar
ok 65 - Parent references Rebar
ok 66 - TestRebar->DESTROY()
ok 67 - $W->AddRichEdit isa Win32::GUI::RichEdit
ok 68 - $W->{TestRichEdit} isa Win32::GUI::RichEdit
ok 69 - Parent references RichEdit
ok 70 - TestRichEdit->DESTROY()
ok 71 - $W->AddSlider isa Win32::GUI::Slider
ok 72 - $W->{TestSlider} isa Win32::GUI::Slider
ok 73 - Parent references Slider
ok 74 - TestSlider->DESTROY()
ok 75 - $W->AddSplitter isa Win32::GUI::Splitter
ok 76 - $W->{TestSplitter} isa Win32::GUI::Splitter
ok 77 - Parent references Splitter
ok 78 - TestSplitter->DESTROY()
ok 79 - $W->AddStatusBar isa Win32::GUI::StatusBar
ok 80 - $W->{TestStatusBar} isa Win32::GUI::StatusBar
ok 81 - Parent references StatusBar
ok 82 - TestStatusBar->DESTROY()
ok 83 - $W->AddTabStrip isa Win32::GUI::TabStrip
ok 84 - $W->{TestTabStrip} isa Win32::GUI::TabStrip
ok 85 - Parent references TabStrip
ok 86 - TestTabStrip->DESTROY()
ok 87 - $W->AddTextfield isa Win32::GUI::Textfield
ok 88 - $W->{TestTextfield} isa Win32::GUI::Textfield
ok 89 - Parent references Textfield
ok 90 - TestTextfield->DESTROY()
ok 91 - $W->AddToolbar isa Win32::GUI::Toolbar
ok 92 - $W->{TestToolbar} isa Win32::GUI::Toolbar
ok 93 - Parent references Toolbar
ok 94 - TestToolbar->DESTROY()
ok 95 - $W->AddTrackbar isa Win32::GUI::Trackbar
ok 96 - $W->{TestTrackbar} isa Win32::GUI::Trackbar
ok 97 - Parent references Trackbar
ok 98 - TestTrackbar->DESTROY()
ok 99 - $W->AddTreeView isa Win32::GUI::TreeView
ok 100 - $W->{TestTreeView} isa Win32::GUI::TreeView
ok 101 - Parent references TreeView
ok 102 - TestTreeView->DESTROY()
ok 103 - $W->AddUpDown isa Win32::GUI::UpDown
ok 104 - $W->{TestUpDown} isa Win32::GUI::UpDown
ok 105 - Parent references UpDown
ok 106 - TestUpDown->DESTROY()
1..106
ok
t/05_AcceleratorTable.t ............
1..4
ok 1 - $W isa Win32::GUI::Window
ok 2 - new Win32::GUI::AcceleratorTable isa Win32::GUI::AcceleratorTable
ok 3 - Accelerator handle stored in parent
not ok 4 - Accelerator handle removed from parent # TODO Accelerator DESTROY method needs to remove accelerator from parent?

# Failed (TODO) test 'Accelerator handle removed from parent'
# at t/05_AcceleratorTable.t line 41.
ok
t/05_Menu.t ........................
1..4
ok 1 - new Win32::GUI::Menu isa Win32::GUI::Menu
ok 2 - $W isa Win32::GUI::Window
ok 3 - Enabled(0)
ok 4 - Checked(1)
ok
t/05_NotifyIcon_01_Constructor.t ...
1..16
ok 1 - SHELLDLL is set
ok 2 - $W isa Win32::GUI::Window
ok 3 - $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 4 - $W->NI contains a Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 5 - Parent references NotifyIcon
ok 6 - NI's -id > 0
ok 7 - NI's id is stored in parent
ok 8 - Timer's name is stored in parent
ok 9 - NI's name is stored in timer object
ok 10 - Parent's handle is stored in NI object
not ok 11 - Can't test -icon option # TODO Win32::GUI::NotifyIcon - Don't know how to test -icon option

# Failed (TODO) test 'Can't test -icon option'
# at t/05_NotifyIcon_01_Constructor.t line 56.
not ok 12 - Can't test -tip option # TODO Win32::GUI::NotifyIcon - Don't know how to test -tip option

# Failed (TODO) test 'Can't test -tip option'
# at t/05_NotifyIcon_01_Constructor.t line 62.
ok 13 - -balloon_tip stored in object
ok 14 - -balloon_title stored in object
ok 15 - -balloon_icon stored in object
ok 16 - -balloon_timeout stored in object
ok
t/05_NotifyIcon_02_Change.t ........
1..16
ok 1 - $W isa Win32::GUI::Window
ok 2 - $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 3 - $W->NI contains a Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 4 - Parent references NotifyIcon
not ok 5 - Can't test -icon option # TODO Win32::GUI::NotifyIcon - Don't know how to test -icon option

# Failed (TODO) test 'Can't test -icon option'
# at t/05_NotifyIcon_02_Change.t line 45.
not ok 6 - Can't test -tip option # TODO Win32::GUI::NotifyIcon - Don't know how to test -tip option

# Failed (TODO) test 'Can't test -tip option'
# at t/05_NotifyIcon_02_Change.t line 51.
ok 7 - -balloon_tip stored in object
ok 8 - -balloon_title stored in object
ok 9 - -balloon_icon stored in object
ok 10 - -balloon_timeout stored in object
not ok 11 - Don't know if icon has changed # TODO Win32::GUI::NotifyIcon - Don't know how to test -icon option

# Failed (TODO) test 'Don't know if icon has changed'
# at t/05_NotifyIcon_02_Change.t line 65.
not ok 12 - Don't know if tip has changed # TODO Win32::GUI::NotifyIcon - Don't know how to test -tip option

# Failed (TODO) test 'Don't know if tip has changed'
# at t/05_NotifyIcon_02_Change.t line 72.
ok 13 - -balloon_tip has been changed
ok 14 - -balloon_title has been changed
ok 15 - -balloon_icon has been changed
ok 16 - -balloon_timeout has been changed
ok
t/05_NotifyIcon_03_OtherMethods.t ..
1..9
ok 1 - $W isa Win32::GUI::Window
ok 2 - $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 3 - $W->NI contains a Win32::GUI::NotifyIcon object isa Win32::GUI::NotifyIcon
ok 4 - Parent references NotifyIcon
not ok 5 - Can't test $SHELLDLL_VERSION # TODO Win32::GUI::NotifyIcon Don't know how to test $SHELLDLL_VERSION

# Failed (TODO) test 'Can't test $SHELLDLL_VERSION'
# at t/05_NotifyIcon_03_OtherMethods.t line 45.
not ok 6 - Can't test ShowBalloon # TODO Win32::GUI::NotifyIcon don't know how to test ShowBalloon()

# Failed (TODO) test 'Can't test ShowBalloon'
# at t/05_NotifyIcon_03_OtherMethods.t line 59.
not ok 7 - Can't test HideBalloon # TODO Win32::GUI::NotifyIcon don't know how to test HideBalloon()

# Failed (TODO) test 'Can't test HideBalloon'
# at t/05_NotifyIcon_03_OtherMethods.t line 72.
not ok 8 - Can't test SetFocus # TODO Win32::GUI::NotifyIcon don't know how to test SetFocus()

# Failed (TODO) test 'Can't test SetFocus'
# at t/05_NotifyIcon_03_OtherMethods.t line 85.
not ok 9 - Can't test SetBehaviour # TODO Win32::GUI::NotifyIcon don't know how to test SetBehaviour()

# Failed (TODO) test 'Can't test SetBehaviour'
# at t/05_NotifyIcon_03_OtherMethods.t line 98.
ok
t/05_NotifyIcon_04_Remove.t ........
1..9
ok 1 - $W->AddNotifyIcon creates Test::NotifyIcon object isa Test::NotifyIcon
ok 2 - $W->NI contains a Test::NotifyIcon object isa Test::NotifyIcon
ok 3 - NI's -id > 0
ok 4 - NI's id is stored in parent
ok 5 - Timer's name is stored in parent
ok 6 - DESTROY not called yet
ok 7 - NI's id is removed from parent
ok 8 - object reference removed from parent
ok 9 - DESTROY called by Remove
ok
t/05_NotifyIcon_05_DESTROY.t .......
1..13
ok 1 - $W->AddNotifyIcon creates Test::NotifyIcon object isa Test::NotifyIcon
ok 2 - $W->NI contains a Test::NotifyIcon object isa Test::NotifyIcon
ok 3 - DESTROY not called yet
ok 4 - DESTROY not called yet
ok 5 - DESTROY called when parent destroyed
ok 6 - Timer's id is stored in parent
ok 7 - Reference sotered in Parent
ok 8 - DESTROY not called yet
ok 9 - DESTROY not called yet
ok 10 - DESTROY called when parent reference removed
ok 11 - DESTROY() tidies parent
ok 12 - DESTROY() tidies parent
ok 13 - DESTROY not called when parent destroyed
ok
t/05_Timer_01_OEM.t ................
1..14
ok 1 - $W isa Win32::GUI::Window
ok 2 - $W->AddTimer creats Win32::GUI::Timer object isa Win32::GUI::Timer
ok 3 - $W->T1 contains a Win32::GUI::Timer object isa Win32::GUI::Timer
ok 4 - Parent references Timer
ok 5 - timer's -id > 0
ok 6 - Timer's id is stored in parent
ok 7 - Timer's name is stored in parent
ok 8 - Timer's name is stored in timer object
ok 9 - Parent's handle is stored in timer object
ok 10 - Timer interval is stored in timer object
ok 11 - Timer went off 3 times
ok 12 - Timer interval(500ms) appropriate
ok 13 - Timer interval(514ms) appropriate
ok 14 - Timer interval(515ms) appropriate
ok
t/05_Timer_02_NEM.t ................
1..16
ok 1 - $W isa Win32::GUI::Window
ok 2 - $W->AddTimer creats Win32::GUI::Timer object isa Win32::GUI::Timer
ok 3 - $W->T1 contains a Win32::GUI::Timer object isa Win32::GUI::Timer
ok 4 - Parent references Timer
ok 5 - timer's -id > 0
ok 6 - Timer's id is stored in parent
ok 7 - Timer's name is stored in parent
ok 8 - Timer's name is stored in timer object
ok 9 - Parent's handle is stored in timer object
ok 10 - Timer interval is stored in timer object
ok 11 - Timer went off 3 times
ok 12 - Timer interval(515ms) appropriate
ok 13 - Timer interval(515ms) appropriate
ok 14 - Timer interval(514ms) appropriate
ok 15 - Parent widow passed to NEM event handler
ok 16 - timer name passed to NEM handler
ok
t/05_Timer_03_Interval.t ...........
1..11
ok 1 - Interval() returns timer interval
ok 2 - Timer went off 3 times
ok 3 - Timer interval(515ms) appropriate
ok 4 - Timer interval(515ms) appropriate
ok 5 - Timer interval(515ms) appropriate
ok 6 - Interval(SET) returns prior timer interval
ok 7 - Interval() returns new timer interval
ok 8 - Timer went off 3 times
ok 9 - Timer interval(1014ms) appropriate
ok 10 - Timer interval(1014ms) appropriate
ok 11 - Timer interval(1014ms) appropriate
ok
t/05_Timer_04_Kill.t ...............
1..19
ok 1 - new creates Test::Timer object isa Test::Timer
ok 2 - Test::Timer is a subclass of Win32::GUI::Timer isa Win32::GUI::Timer
ok 3 - $W->T1 contains a Test::Timer object isa Test::Timer
ok 4 - $W->T1 contains a subclass of Win32::GUI::Timer isa Win32::GUI::Timer
ok 5 - Parent references Timer
ok 6 - timer's -id > 0
ok 7 - Timer's id is stored in parent
ok 8 - Timer's name is stored in parent
ok 9 - Timer's name is stored in timer object
ok 10 - Parent's handle is stored in timer object
ok 11 - Timer interval is stored in timer object
ok 12 - Kill() returns timer interval
ok 13 - Kill() sets inteval to zero
ok 14 - DESTROY not called yet
ok 15 - Kill(1) returns undef
ok 16 - Kill(1) calls DESTROY
ok 17 - Kill(1) tidies parent
ok 18 - Kill(1) tidies parent
ok 19 - DESTROY called for object destruction
ok
t/05_Timer_05_DESTROY.t ............
1..11
ok 1 - DESTROY not called yet
ok 2 - DESTROY not called yet
ok 3 - DESTROY called when parent destroyed
ok 4 - Timer's id is stored in parent
ok 5 - Reference sotered in Parent
ok 6 - DESTROY not called yet
ok 7 - DESTROY not called yet
ok 8 - DESTROY called when parent reference removed
ok 9 - DESTROY() tidies parent
ok 10 - DESTROY() tidies parent
ok 11 - DESTROY not called when parent destroyed
ok
t/06_Cursor.t ......................
1..1
ok 1 - new Win32::GUI::Cursor isa Win32::GUI::Cursor
ok
t/06_Icon.t ........................
1..1
ok 1 - new Win32::GUI::Icon isa Win32::GUI::Icon
ok
t/50_Font_GetMetrics.t .............
1..7
ok 1 - Win32::GUI::Font->can(...)
ok 2 - $font isa Win32::GUI::Font
not ok 3 - GetMetrics gives correct height # TODO Win32::GUI::Font::GetMetrics returns metrics for wrong font. TRACKER:1003427

# Failed (TODO) test 'GetMetrics gives correct height'
# at t/50_Font_GetMetrics.t line 42.
# got: '35'
# expected: '23'
ok 4 - $W isa Win32::GUI::Window
ok 5 - $label isa Win32::GUI::Label
not ok 6 - Window has correct font height # TODO Win32::GUI::Font::GetMetrics returns metrics for wrong font. TRACKER:1003427

# Failed (TODO) test 'Window has correct font height'
# at t/50_Font_GetMetrics.t line 60.
# got: '16'
# expected: '23'
not ok 7 - Label has correct font height # TODO Win32::GUI::Font::GetMetrics returns metrics for wrong font. TRACKER:1003427

# Failed (TODO) test 'Label has correct font height'
# at t/50_Font_GetMetrics.t line 68.
# got: '35'
# expected: '23'
ok
t/50_Richedit_GetCharFormat.t ......
1..16
ok 1 - Win32::GUI::RichEdit->can(...)
ok 2 - $W isa Win32::GUI::Window
ok 3 - $re isa Win32::GUI::RichEdit
ok 4 - Text is bold
ok 5 - normal text not bold
ok 6 - normal text not italic
ok 7 - normal text not underline
ok 8 - normal text not strikeout
ok 9 - Text is not all bold
ok 10 - Text is not all italic
ok 11 - Text is not all underline
ok 12 - Text is not all strikeout
ok 13 - bold text is bold
ok 14 - italic character is italic
ok 15 - underlined text is underlined
ok 16 - strikeout text is strikeout
ok
t/97_Version.t .....................
1..4
ok 1 - Major Version numbers the same
ok 2 - Minor Version numbers the same
ok 3 - RC numbers the same
ok 4 - No extra information
ok
t/98_Pod.t .........................
1..127
ok 1 - POD test for blib\script\win32-gui-demos.bat
ok 2 - POD test for blib\script\win32-gui-demos.pl
ok 3 - POD test for blib\lib\Win32\GUI.pm (no pod)
ok 4 - POD test for blib\lib\Win32\GUI.pod
ok 5 - POD test for blib\lib\Win32\GUI\AcceleratorTable.pod
ok 6 - POD test for blib\lib\Win32\GUI\Animation.pod
ok 7 - POD test for blib\lib\Win32\GUI\Bitmap.pod
ok 8 - POD test for blib\lib\Win32\GUI\BitmapInline.pm
ok 9 - POD test for blib\lib\Win32\GUI\Brush.pod
ok 10 - POD test for blib\lib\Win32\GUI\Button.pod
ok 11 - POD test for blib\lib\Win32\GUI\Checkbox.pod
ok 12 - POD test for blib\lib\Win32\GUI\Class.pod
ok 13 - POD test for blib\lib\Win32\GUI\Combobox.pod
ok 14 - POD test for blib\lib\Win32\GUI\ComboboxEx.pod
ok 15 - POD test for blib\lib\Win32\GUI\Constants.pm
ok 16 - POD test for blib\lib\Win32\GUI\Cursor.pod
ok 17 - POD test for blib\lib\Win32\GUI\DateTime.pod
ok 18 - POD test for blib\lib\Win32\GUI\DC.pod
ok 19 - POD test for blib\lib\Win32\GUI\DialogBox.pod
ok 20 - POD test for blib\lib\Win32\GUI\DropFiles.pm
ok 21 - POD test for blib\lib\Win32\GUI\Font.pod
ok 22 - POD test for blib\lib\Win32\GUI\Graphic.pod
ok 23 - POD test for blib\lib\Win32\GUI\GridLayout.pm
ok 24 - POD test for blib\lib\Win32\GUI\Groupbox.pod
ok 25 - POD test for blib\lib\Win32\GUI\Header.pod
ok 26 - POD test for blib\lib\Win32\GUI\Icon.pod
ok 27 - POD test for blib\lib\Win32\GUI\ImageList.pod
ok 28 - POD test for blib\lib\Win32\GUI\Label.pod
ok 29 - POD test for blib\lib\Win32\GUI\Listbox.pod
ok 30 - POD test for blib\lib\Win32\GUI\ListView.pod
ok 31 - POD test for blib\lib\Win32\GUI\MDIChild.pod
ok 32 - POD test for blib\lib\Win32\GUI\MDIClient.pod
ok 33 - POD test for blib\lib\Win32\GUI\MDIFrame.pod
ok 34 - POD test for blib\lib\Win32\GUI\Menu.pod
ok 35 - POD test for blib\lib\Win32\GUI\MenuButton.pod
ok 36 - POD test for blib\lib\Win32\GUI\MenuItem.pod
ok 37 - POD test for blib\lib\Win32\GUI\MonthCal.pod
ok 38 - POD test for blib\lib\Win32\GUI\NotifyIcon.pod
ok 39 - POD test for blib\lib\Win32\GUI\Pen.pod
ok 40 - POD test for blib\lib\Win32\GUI\ProgressBar.pod
ok 41 - POD test for blib\lib\Win32\GUI\RadioButton.pod
ok 42 - POD test for blib\lib\Win32\GUI\Rebar.pod
ok 43 - POD test for blib\lib\Win32\GUI\Region.pod
ok 44 - POD test for blib\lib\Win32\GUI\ReleaseNotes.pod
ok 45 - POD test for blib\lib\Win32\GUI\RichEdit.pod
ok 46 - POD test for blib\lib\Win32\GUI\Scintilla.pm (no pod)
ok 47 - POD test for blib\lib\Win32\GUI\Scintilla.pod
ok 48 - POD test for blib\lib\Win32\GUI\Slider.pod
ok 49 - POD test for blib\lib\Win32\GUI\Splitter.pod
ok 50 - POD test for blib\lib\Win32\GUI\StatusBar.pod
ok 51 - POD test for blib\lib\Win32\GUI\TabStrip.pod
ok 52 - POD test for blib\lib\Win32\GUI\Textfield.pod
ok 53 - POD test for blib\lib\Win32\GUI\Timer.pod
ok 54 - POD test for blib\lib\Win32\GUI\Toolbar.pod
ok 55 - POD test for blib\lib\Win32\GUI\Tooltip.pod
ok 56 - POD test for blib\lib\Win32\GUI\Trackbar.pod
ok 57 - POD test for blib\lib\Win32\GUI\TreeView.pod
ok 58 - POD test for blib\lib\Win32\GUI\Tutorial.pod
ok 59 - POD test for blib\lib\Win32\GUI\UpDown.pod
ok 60 - POD test for blib\lib\Win32\GUI\Window.pod
ok 61 - POD test for blib\lib\Win32\GUI\Constants\Tags.pm
ok 62 - POD test for blib\lib\Win32\GUI\demos\AnimateWindow.pl (no pod)
ok 63 - POD test for blib\lib\Win32\GUI\demos\Animation.pl (no pod)
ok 64 - POD test for blib\lib\Win32\GUI\demos\BitmapScroll.pl (no pod)
ok 65 - POD test for blib\lib\Win32\GUI\demos\DateTime.pl (no pod)
ok 66 - POD test for blib\lib\Win32\GUI\demos\Draw.pl (no pod)
ok 67 - POD test for blib\lib\Win32\GUI\demos\EventModel.pl (no pod)
ok 68 - POD test for blib\lib\Win32\GUI\demos\GetOpenFileName.pl (no pod)
ok 69 - POD test for blib\lib\Win32\GUI\demos\listview_drag_drop.pl (no pod)
ok 70 - POD test for blib\lib\Win32\GUI\demos\MDI.pl (no pod)
ok 71 - POD test for blib\lib\Win32\GUI\demos\MonthCal.pl (no pod)
ok 72 - POD test for blib\lib\Win32\GUI\demos\Notepad.pl (no pod)
ok 73 - POD test for blib\lib\Win32\GUI\demos\NotifyIcon.pl
ok 74 - POD test for blib\lib\Win32\GUI\demos\Region.pl (no pod)
ok 75 - POD test for blib\lib\Win32\GUI\demos\SplashScreen.pl (no pod)
ok 76 - POD test for blib\lib\Win32\GUI\demos\standard_images.pl (no pod)
ok 77 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello1.pl (no pod)
ok 78 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello2.pl (no pod)
ok 79 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello3.pl (no pod)
ok 80 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello4.pl (no pod)
ok 81 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello5.pl (no pod)
ok 82 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part1_hello6.pl (no pod)
ok 83 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part2_framework.pl (no pod)
ok 84 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part3_DialogBox.pl (no pod)
ok 85 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part4_NotifyIcon.pl (no pod)
ok 86 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part4_StatusBar.pl (no pod)
ok 87 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part4_timer.pl (no pod)
ok 88 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part5_modalWindow.pl (no pod)
ok 89 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part5_popupWindow1.pl (no pod)
ok 90 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part5_popupWindow2.pl (no pod)
ok 91 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part5_twoWindows.pl (no pod)
ok 92 - POD test for blib\lib\Win32\GUI\demos\Tutorial_Part9_noDosWindow.pl (no pod)
ok 93 - POD test for blib\lib\Win32\GUI\Listbox\Item.pod
ok 94 - POD test for blib\lib\Win32\GUI\ListView\Item.pod
ok 95 - POD test for blib\lib\Win32\GUI\ListView\SubItem.pod
ok 96 - POD test for blib\lib\Win32\GUI\Reference\Events.pod
ok 97 - POD test for blib\lib\Win32\GUI\Reference\Methods.pod
ok 98 - POD test for blib\lib\Win32\GUI\Reference\Options.pod
ok 99 - POD test for blib\lib\Win32\GUI\Reference\Packages.pod
ok 100 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_0_502.pod
ok 101 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_0_588.pod
ok 102 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_0_665.pod
ok 103 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_0_670.pod
ok 104 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_0_671.pod
ok 105 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_0_99_1.pod
ok 106 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_0.pod
ok 107 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_02.pod
ok 108 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_03.pod
ok 109 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_04.pod
ok 110 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_05.pod
ok 111 - POD test for blib\lib\Win32\GUI\ReleaseNotes\RN_1_06.pod
ok 112 - POD test for blib\lib\Win32\GUI\Scintilla\Perl.pm
ok 113 - POD test for blib\lib\Win32\GUI\Tutorial\Part1.pod
ok 114 - POD test for blib\lib\Win32\GUI\Tutorial\Part2.pod
ok 115 - POD test for blib\lib\Win32\GUI\Tutorial\Part3.pod
ok 116 - POD test for blib\lib\Win32\GUI\Tutorial\Part4.pod
ok 117 - POD test for blib\lib\Win32\GUI\Tutorial\Part5.pod
ok 118 - POD test for blib\lib\Win32\GUI\Tutorial\Part9.pod
ok 119 - POD test for blib\lib\Win32\GUI\UserGuide\Concepts.pod
ok 120 - POD test for blib\lib\Win32\GUI\UserGuide\FAQ.pod
ok 121 - POD test for blib\lib\Win32\GUI\UserGuide\Introduction.pod
ok 122 - POD test for blib\lib\Win32\GUI\UserGuide\Readme.pod
ok 123 - POD test for blib\lib\Win32\GUI\demos\Constants\ConstantsDemo.pl (no pod)
ok 124 - POD test for blib\lib\Win32\GUI\demos\DropFiles\DropFilesDemo.pl (no pod)
ok 125 - POD test for blib\lib\Win32\GUI\demos\Scintilla\Editor.pl (no pod)
ok 126 - POD test for blib\lib\Win32\GUI\demos\Scintilla\test.pl (no pod)
ok 127 - POD test for blib\lib\Win32\GUI\demos\Scintilla\test2.pl (no pod)
ok
t/99_pod_coverage.t ................
1..1
not ok 1 - Win32::GUI POD Coverage tests # TODO Tests for Win32::GUI POD coverage not yet written

# Failed (TODO) test 'Win32::GUI POD Coverage tests'
# at t/99_pod_coverage.t line 18.
ok
All tests successful.
Files=24, Tests=458, 16 wallclock secs ( 0.38 usr + 0.51 sys = 0.89 CPU)
Result: PASS

Last edited: 2011-05-31 09:57:38 +0200 (CEST)

View full thread Win32::GUI 1.06 - Test schlägt fehl