search for: _wrap_assertion

Displaying 6 results from an estimated 6 matches for "_wrap_assertion".

2004 Jan 26
1
Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net> >To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net >CC: win32utils-devel@rubyforge.org >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 10:49:03 -0600 > >Dan, Park, > > > Still nothing. The svc.log file never gets created. It''s definitely > > choking on the StartService() call.
2007 Apr 24
0
how to capture text from a popup window..in watir
...watir_command_to_make_dialog_appear # end # Or like this: # assert_js_dialog /Text to find in the dialog/, "Cancel" do # watir_command_to_make_dialog_appear # end # def assert_js_dialog(pattern = //, action = "close", message = nil) _wrap_assertion do begin pipe = IO.popen("ruby exetry.rb #{action}") yield window_text = pipe.read rescue "" pipe.close unless window_text.empty? assert_block(build_message(message,...
2004 Mar 01
0
RE: win32etc test failure
...: Class: <Errno::ENOENT> Message: <No such file or directory - user not found> ---Backtrace--- test.rb:115:in `change_password'' test.rb:115:in `test_02_change_password'' test.rb:114: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.rb:116:in `test_02_change_password'' 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...
2004 Mar 01
0
RE: win32etc test failure
...: Class: <Errno::ENOENT> Message: <No such file or directory - user not found> ---Backtrace--- test.rb:115:in `change_password'' test.rb:115:in `test_02_change_password'' test.rb:114: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.rb:116:in `test_02_change_password'' 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...
2004 Mar 01
0
RE: win32etc test failure
...: Class: <Errno::ENOENT> Message: <No such file or directory - user not found> ---Backtrace--- test.rb:115:in `change_password'' test.rb:115:in `test_02_change_password'' test.rb:114: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.rb:116:in `test_02_change_password'' 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...
2004 Mar 01
0
RE: win32etc test failure
...: Class: <Errno::ENOENT> Message: <No such file or directory - user not found> ---Backtrace--- test.rb:115:in `change_password'' test.rb:115:in `test_02_change_password'' test.rb:114: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.rb:116:in `test_02_change_password'' 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...