[Win32utils-devel] Re: win32-service ideas

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Sun Jan 25 18:57:19 EST 2004


> It's in CVS.

I pulled it out and ran nmake. This is what I got while running the test:
----------------------------------------------------------------------------
------
C:\extract\_ruby\win32-service-0.2.2>ruby test\tc_service.rb
   This test will stop and start your Clipboard service, as well as pause
and
   resume your Schedule service.  This is harmless unless you are actually
   using these services at the moment you run this test.  Is it OK to
   proceed? (y/N)
y
This will take a few seconds.  Be patient...
Loaded suite test/tc_service
Started
.....F.............F....
Finished in 16.544 seconds.

  1) Failure!!!
test_create_delete(TC_Win32Service) [test/tc_service.rb:173]:
Exception raised:
Class: <Win32ServiceError>
Message: <The specified service already exists.
>
---Backtrace---
test/tc_service.rb:168:in `create_service'
test/tc_service.rb:168:in `test_create_delete'
test/tc_service.rb:167:in `assert_nothing_raised'
c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:172:in `_wrap_assertion'
c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:191:in `assert_nothing_raised'
test/tc_service.rb:173:in `test_create_delete'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `send'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:53:in `run_suite'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:77:in
`start_mediator'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:51:in `start'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:26:in `run'
c:/ruby/lib/ruby/1.8/test/unit.rb:178
c:/ruby/lib/ruby/1.8/test/unit.rb:176:in `call'
c:/ruby/lib/ruby/1.8/test/unit.rb:213
c:/ruby/lib/ruby/1.8/test/unit.rb:162
test/tc_service.rb:234
---------------

  2) Failure!!!
test_services(TC_Win32Service) [test/tc_service.rb:135]:
Exception raised:
Class: <Win32ServiceError>
Message: <The RPC server is unavailable.
>
---Backtrace---
test/tc_service.rb:135:in `services'
test/tc_service.rb:135:in `test_services'
test/tc_service.rb:135:in `assert_nothing_raised'
c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:172:in `_wrap_assertion'
c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:191:in `assert_nothing_raised'
test/tc_service.rb:135:in `test_services'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `send'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:53:in `run_suite'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:77:in
`start_mediator'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:51:in `start'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:26:in `run'
c:/ruby/lib/ruby/1.8/test/unit.rb:178
c:/ruby/lib/ruby/1.8/test/unit.rb:176:in `call'
c:/ruby/lib/ruby/1.8/test/unit.rb:213
c:/ruby/lib/ruby/1.8/test/unit.rb:162
test/tc_service.rb:234
---------------

24 tests, 66 assertions, 2 failures, 0 errors

C:\extract\_ruby\win32-service-0.2.2>




More information about the win32utils-devel mailing list