Displaying 20 results from an estimated 300 matches similar to: "Re: win32-service ideas"
2005 Feb 28
3
test/unit error report for win32-service
Dan,
I am assuming that the version in CVS is the most current one.
Report follows.
-- shanko
------------------------------------------------------
C:\win32utils\win32-service\test>ruby 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
2004 Feb 01
2
test_services test case
While working on win32-service-0.3.0 I got hung up trying to resolve that
"RPC server is unavailable" error message that was popping up on some
systems. I couldn''t duplicate this on my XP Pro box, but it does show up on
my Win2k box.
Quick review - this is the test case from tc_service.rb
def test_services
assert_nothing_raised{ Service.services{ } }
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all,
I''m preparing win32-service for an 0.5.1 release. I''ve made a couple
minor changes and altered the test suite a bit. It passes on my box
here, except that about half the time I get this error:
1) Error:
test_services(TC_Win32Service):
Win32::ServiceError: OpenService() call failed: The handle is invalid.
test/tc_service.rb:227:in `services''
2007 Jan 17
8
Mocha Mock''s hanging on after test run?
Hi guys,
I''m running mocha (0.3.2) against Rails core and just found an issue
where the mock doesn''t go away after the test is run.
For example:
def test_reset_bang_doesn_reinstall_named_routes
ActionController::Routing::Routes.named_routes.expects(:install).never
@session.reset!
end
def test_zzz
puts ActionController::Routing::Routes.named_routes.inspect
2009 Jun 07
6
Missing Template when testing with the Brain Buster Captcha partial
When I run my functional tests, they throw an error with the following
message:
ActionView::TemplateError: Missing template /_captcha.erb in view path
app/views:test/vendor/plugins/brain_buster/views/brain_busters
On line #23 of app/views/contacts/_form.html.erb
20: <%= f.label :message %><br />
21: <%= f.text_area :message %>
22:
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which
does not have a sys/dir.h
nix_io.c:5:21: sys/dir.h: No such file or directory
make: *** [nix_io.o] Error 1
I couldn''t find an obvious way around this... any suggestions?
Thanks,
Rich Marisa
Cornell Information Technologies
Cornell University
2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
So, here''s the offending line. Note that I''m using edge rails.
form_tag verifications_path(@user), :method => :post do
verifications_path(@user) returns a string like "/users/3/
verifications". That eventually gets sent to url_for, which expects a
hash. And then it blows up.
It''s especially disconcerting since the documentation shows form_tag
as
2005 Feb 14
8
DONT_RESOLVE_DLL_REFERENCES info
For future reference, it looks like we should avoid
DONT_RESOLVE_DLL_REFERENCES in any extensions.
http://weblogs.asp.net/oldnewthing/archive/2005/02/14/372266.aspx
Regards,
Dan
2004 Jan 22
1
Latest win32-service error
I''m getting an error when I run the test2.rb script. I get this error:
C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb install
installed
C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb start
(Win32ServiceError)t'': Overlapped I/O operation is in progress.
from test2.rb:42
Any ideas?
Also, it looks like the output from ErrorDescription()
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
2004 Jan 26
0
Re: win32-service ideas
Park,
> Oh, you have wrong version of service.c
> I will attach service.c for you.
Sorry again ;-(
This is with the new service.c you attached and
slightly modified test2.rb:
----------------------------------------------------------------------
C:\extract\_ruby\WIN32-~1.2>ruby extconf.rb
creating Makefile
C:\extract\_ruby\WIN32-~1.2>nmake
Microsoft (R) Program Maintenance
2004 Mar 01
0
RE: win32etc test failure
Yep, I agree. Well, what would you prefer? I handle it for you or you
handle it yourself? I''m tempted to go with the former because, well,
it''s been there for a while now. I can even use strtok to detect if
''\\\\'' is at the beginning of the string and add them only if not found.
I''ll have to take a look at delete user - it worked for add_user,
2004 Mar 01
0
RE: win32etc test failure
Ok - time for me to patch and update the docs! Thanks for the testing!
Dan
-----Original Message-----
From: Date, Shashank [Non-Employee]
[mailto:Shashank.Date@mail.sprint.com]
Sent: Monday, March 01, 2004 10:02 AM
To: Berger, Daniel
Subject: RE: win32etc test failure
I like your approach better: allow me to be lazy (so I am not _forced_
to give it) but forgive me if I do ;-)
It worked
2004 Mar 01
0
RE: win32etc test failure
For delete_user, try this patch:
etc.c, line 639:
- lpHost = (LPCWSTR)STR2CSTR(rbHost);
+lpHost = AllocWideLString(rbHost);
Lemme know how it goes.
Dan
-----Original Message-----
From: win32utils-devel-bounces@rubyforge.org
[mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
win32utils-devel@rubyforge.org
Sent: Monday, March 01, 2004 10:02 AM
To: Date, Shashank [Non-Employee]
Cc:
2004 Mar 01
0
RE: win32etc test failure
Excellent! Like I said, I really need to do some code cleanup. I''ll
also be adding the config_group and config_user methods :)
Dan
-----Original Message-----
From: Date, Shashank [Non-Employee]
[mailto:Shashank.Date@mail.sprint.com]
Sent: Monday, March 01, 2004 10:19 AM
To: Berger, Daniel
Subject: RE: [Win32utils-devel] RE: win32etc test failure
That worked !
Now everything is
2008 Mar 19
1
[LLVMdev] 2 experimental projects
>> 1) Parallel "make check".
>> Modelled after the successful clang "make test -jX" experiment, I am
>> now bold enough to sink my teeth into the LLVM test suite.
>> I have a prototype implementation, along the same lines, ready.
>
>Can you please explain this in detail.
>
>Thanks,
>Tanya
Sure.
This is how "make test
2007 Mar 15
1
Getting the stack trace
Hi all,
I am using the following code to print the exception, but is there a
way to get the stack trace of the complete error like
Exception: No option with text of Contract form in this select element
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in
`select_item_in_select_list''
2015 Jan 26
5
[LLVMdev] Deadlock in llvm-lit on windows 7
Hi,
I am observing a deadlock with llvm-lit on windows 7.
When I attached a debugger, the communicate() call is blocked.
In file utils/lit/lit/TestRunner.py
> # FIXME: There is probably still deadlock potential here. Yawn.
> procData = [None] * len(procs)
> procData[-1] = procs[-1].communicate()
I am invoking python directly on windows to run the unit tests.
2006 Jul 24
3
Creating performance test fixtures from development db? How?
Hi all!
I''m looking into the testing chapter of Agile Web Development With Rails
(2nd ed.).
I want to performance test my app, but I''m too lazy to write fixtures for
performance test.
I''d rather use the data from my development db (because the data is so close
to the production data).
How do I get the data into the test db without writing fixtures?
Could you please
2011 Jan 14
2
Rspec autotest error
Hi all,
I tried testing with Rspec for first time, following a tutorial.
"rspec spec/" works fine but when I try ''autotest'' it gives me the
error message below. I also made a gist about it: https://gist.github.com/779265
It seems like a redgreen or ZenTest error. I''m using Ubuntu10, Rails3,
Ruby 1.9 and RVM. Any help is appriciated, thanks in advance,
gezope