[Win32utils-devel] test/unit report attached

Shashank Date sdate at everestkc.net
Sun Feb 27 18:43:49 EST 2005


Dan/Park,

I have attached the output of runing test/tc_*.rb  for each module. 
There are only 4 failures.
The most serious one seems to be for win32-open3. Let me know what you 
think.

Based on two minor failures (win32-shortcut and win32-thread) I have a 
sneeking suspicion that I have got the wrong version. I did a CVS update 
(using TortoiseCVS) before compiling. I know, Dan, once you had asked me 
to download the tarball. Why was (is) that?

Other than that, things seem to have gone pretty smooth. If somebody 
helps me test the installer, we should be ready to release within a day 
or two. Any takers?

-- shanko
-------------- next part --------------

win32-changejournal:
-------------------------
tc_changejournal.rb
Loaded suite tc_changejournal
Started
..
Finished in 1.923 seconds.

2 tests, 4 assertions, 0 failures, 0 errors

win32-changenotify:
-------------------------
tc_changenotify.rb
Loaded suite tc_changenotify
Started
.........
Finished in 0.0 seconds.

9 tests, 17 assertions, 0 failures, 0 errors

win32-clipboard:
-------------------------
tc_clipboard.rb
Loaded suite tc_clipboard
Started
..........
Finished in 0.03 seconds.

10 tests, 27 assertions, 0 failures, 0 errors
tc_clipboard_gem.rb


win32-dir:
-------------------------
tc_dir.rb
Some tests may fail because they are not defined on your system.
This is not unexpected.
Loaded suite tc_dir
Started
...F..............F...F...F.....F.F.F............
Finished in 0.07 seconds.

  1) Failure:
test_bitbucket(TC_Win32_Dir) [tc_dir.rb:39]:
<nil> expected to not be nil.

  2) Failure:
test_controls(TC_Win32_Dir) [tc_dir.rb:114]:
<nil> expected to not be nil.

  3) Failure:
test_drives(TC_Win32_Dir) [tc_dir.rb:134]:
<nil> expected to not be nil.

  4) Failure:
test_internet(TC_Win32_Dir) [tc_dir.rb:154]:
<nil> expected to not be nil.

  5) Failure:
test_mydocuments(TC_Win32_Dir) [tc_dir.rb:169]:
<nil> expected to not be nil.

  6) Failure:
test_network(TC_Win32_Dir) [tc_dir.rb:194]:
<nil> expected to not be nil.

  7) Failure:
test_printers(TC_Win32_Dir) [tc_dir.rb:204]:
<nil> expected to not be nil.

49 tests, 91 assertions, 7 failures, 0 errors

win32-driveinfo:
-------------------------
tc_di.rb
Loaded suite tc_di
Started
.
Finished in 0.0 seconds.

1 tests, 1 assertions, 0 failures, 0 errors
tc_driveinfo.rb
Loaded suite tc_driveinfo
Started
.
Finished in 0.0 seconds.

1 tests, 1 assertions, 0 failures, 0 errors

win32-etc:
-------------------------
tc_etc.rb
Loaded suite tc_etc
Started
..............
Finished in 16.985 seconds.

14 tests, 28 assertions, 0 failures, 0 errors

win32-event:
-------------------------
tc_event.rb
Loaded suite tc_event
Started
........
Finished in 0.0 seconds.

8 tests, 22 assertions, 0 failures, 0 errors

win32-eventlog:
-------------------------
tc_all.rb

Relax - this will take a few moments

Loaded suite tc_all
Started
.....................Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
..
Finished in 26.558 seconds.

23 tests, 1306 assertions, 0 failures, 0 errors
tc_eventlog.rb

Relax - this will take a few moments

Loaded suite tc_eventlog
Started
..................
Finished in 23.164 seconds.

18 tests, 3614 assertions, 0 failures, 0 errors
tc_mc.rb
Loaded suite tc_mc
Started
...Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
..
Finished in 0.581 seconds.

5 tests, 9 assertions, 0 failures, 0 errors

win32-file:
-------------------------
tc_file.rb
Loaded suite tc_file
Started
...........FF......................
Finished in 0.451 seconds.

  1) Failure:
test_decrypt(TC_Win32_File) [tc_file.rb:120]:
Exception raised:
Class: <Win32::FileError>
Message: <"The request is not supported.">
---Backtrace---
tc_file.rb:120:in `decrypt'
tc_file.rb:120:in `test_decrypt'
tc_file.rb:120:in `assert_nothing_raised'
tc_file.rb:120:in `test_decrypt'
---------------

  2) Failure:
test_encrypt(TC_Win32_File) [tc_file.rb:126]:
File.encrypt test may fail depending on security setup.
Exception raised:
Class: <Win32::FileError>
Message: <"The request is not supported.">
---Backtrace---
tc_file.rb:126:in `encrypt'
tc_file.rb:126:in `test_encrypt'
tc_file.rb:126:in `assert_nothing_raised'
tc_file.rb:126:in `test_encrypt'
---------------

35 tests, 159 assertions, 2 failures, 0 errors
tc_file_native.rb
Loaded suite tc_file_native
Started
FFFFF
Finished in 0.09 seconds.

  1) Failure:
test_nopen(TC_Win32_File_Native) [tc_file_native.rb:29]:
Exception raised:
Class: <Errno::EINVAL>
Message: <"Invalid argument">
---Backtrace---
tc_file_native.rb:30:in `initialize'
tc_file_native.rb:30:in `nopen'
tc_file_native.rb:30:in `test_nopen'
tc_file_native.rb:29:in `assert_nothing_raised'
tc_file_native.rb:29:in `test_nopen'
---------------

  2) Failure:
test_nopen_block(TC_Win32_File_Native) [tc_file_native.rb:49]:
Exception raised:
Class: <Win32::FileError>
Message: <"The process cannot access the file because it is being used by another process.">
---Backtrace---
tc_file_native.rb:50:in `nopen'
tc_file_native.rb:50:in `test_nopen_block'
tc_file_native.rb:49:in `assert_nothing_raised'
tc_file_native.rb:49:in `test_nopen_block'
---------------

  3) Failure:
test_nopen_with_flags(TC_Win32_File_Native) [tc_file_native.rb:36]:
Exception raised:
Class: <Win32::FileError>
Message: <"The process cannot access the file because it is being used by another process.">
---Backtrace---
tc_file_native.rb:37:in `nopen'
tc_file_native.rb:37:in `test_nopen_with_flags'
tc_file_native.rb:36:in `assert_nothing_raised'
tc_file_native.rb:36:in `test_nopen_with_flags'
---------------

  4) Failure:
test_nread(TC_Win32_File_Native) [tc_file_native.rb:56]:
Exception raised:
Class: <Win32::FileError>
Message: <"The process cannot access the file because it is being used by another process.">
---Backtrace---
tc_file_native.rb:57:in `nopen'
tc_file_native.rb:57:in `test_nread'
tc_file_native.rb:56:in `assert_nothing_raised'
tc_file_native.rb:56:in `test_nread'
---------------

  5) Failure:
test_nwrite(TC_Win32_File_Native) [tc_file_native.rb:64]:
Exception raised:
Class: <Win32::FileError>
Message: <"The process cannot access the file because it is being used by another process.">
---Backtrace---
tc_file_native.rb:65:in `nopen'
tc_file_native.rb:65:in `test_nwrite'
tc_file_native.rb:64:in `assert_nothing_raised'
tc_file_native.rb:64:in `test_nwrite'
---------------

5 tests, 5 assertions, 5 failures, 0 errors

win32-ipc:
-------------------------
tc_ipc.rb
Loaded suite tc_ipc
Started
.......
Finished in 0.0 seconds.

7 tests, 10 assertions, 0 failures, 0 errors

win32-mmap:
-------------------------
tc_mmap.rb
Loaded suite tc_mmap
Started
.....
Finished in 0.0 seconds.

5 tests, 14 assertions, 0 failures, 0 errors

win32-mutex:
-------------------------
tc_mutex.rb
Loaded suite tc_mutex
Started
......
Finished in 0.0 seconds.

6 tests, 7 assertions, 0 failures, 0 errors

win32-open3:
-------------------------
tc_open3.rb
Loaded suite tc_open3
Started
tc_open3.rb:72: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

win32-pipe:
-------------------------
tc_pipe.rb
Loaded suite tc_pipe
Started
..........
Finished in 0.02 seconds.

10 tests, 21 assertions, 0 failures, 0 errors

win32-process:
-------------------------
tc_process.rb
Stopping!
The sys/proctable module is required to run this test suite
You can find it at http://ruby-sysutils.sf.net or the RAA


win32-sapi:
-------------------------
tc_sapi5.rb
Loaded suite tc_sapi5
Started
....................
Finished in 1.302 seconds.

20 tests, 20 assertions, 0 failures, 0 errors

win32-semaphore:
-------------------------
tc_semaphore.rb
Loaded suite tc_semaphore
Started
........
Finished in 0.01 seconds.

8 tests, 11 assertions, 0 failures, 0 errors

win32-service:
-------------------------
tc_daemon.rb
Loaded suite tc_daemon
Started
....
Finished in 0.0 seconds.

4 tests, 12 assertions, 0 failures, 0 errors
tc_service.rb


win32-shortcut:
-------------------------
tc_shortcut.rb
Loaded suite tc_shortcut
Started
..............F.
Finished in 0.13 seconds.

  1) Failure:
test_version(TC_Shortcut) [tc_shortcut.rb:27]:
<"0.1.1"> expected but was
<"0.1.0">.

16 tests, 44 assertions, 1 failures, 0 errors

win32-sound:
-------------------------
tc_sound.rb
You may hear some funny noises - don't panic
Loaded suite tc_sound
Started
.......
Finished in 2.313 seconds.

7 tests, 31 assertions, 0 failures, 0 errors

win32-taskscheduler:
-------------------------
tc_taskscheduler.rb
Loaded suite tc_taskscheduler
Started
.............................
Finished in 0.29 seconds.

29 tests, 129 assertions, 0 failures, 0 errors

win32-thread:
-------------------------
tc_thread.rb
Loaded suite tc_thread
Started
...F
Finished in 0.02 seconds.

  1) Failure:
test_version(TC_Win32Thread) [tc_thread.rb:22]:
<"0.1.0"> expected but was
<"0.0.1">.

4 tests, 7 assertions, 1 failures, 0 errors


More information about the win32utils-devel mailing list