[MacRuby-devel] NameError: uninitialized constant NSObject::AF_INET

Conrad Taylor conradwt at gmail.com
Thu Sep 10 19:14:52 PDT 2009


Hi ALL, I was wondering, is the following the correct state of the
specifications:

begin transcript:

$ rake spec:ci
(in /Users/conradwt/macruby.dir/projects/macruby-trunk)
./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-trunk/spec/macruby/fixtures/method.m'
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-trunk/spec/macruby/fixtures/constant.m'
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-trunk/spec/macruby/fixtures/exception.m'
........[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-trunk/spec/macruby/fixtures/object.m'
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.........E...................................................................................................................................................F.

1)
An exception occurred during: before :each
Socket#bind binds to a port ERROR
NameError: uninitialized constant NSObject::AF_INET
0:in `const_missing:'
0:in `protect:'
0:in `each'
0:in `all?'
0:in `protect:'
0:in `each'
0:in `process'
0:in `describe:'

2)
An exception occurred during: before :each
Socket#bind raises an error if we try to bind to an already bound port ERROR
NameError: uninitialized constant NSObject::AF_INET
0:in `const_missing:'
0:in `protect:'
0:in `each'
0:in `all?'
0:in `protect:'
0:in `each'
0:in `process'
0:in `describe:'

3)
An exception occurred during: before :each
Socket#listen verifies we can listen for incoming connections ERROR
NameError: uninitialized constant NSObject::AF_INET
0:in `const_missing:'
0:in `protect:'
0:in `each'
0:in `all?'
0:in `protect:'
0:in `each'
0:in `process'
0:in `describe:'

4)
YAML.load accepts numbers FAILED
Expected "-1" to equal -1
0:in `fail:'
0:in `fail_with:'
0:in `==:'
0:in `protect:'
0:in `each'
0:in `all?'
0:in `protect:'
0:in `each'
0:in `process'
0:in `describe:'

Finished in 178.585049 seconds

1812 files, 7501 examples, 20619 expectations, 1 failure, 3 errors
rake aborted!
Command failed with status (1): [./mspec/bin/mspec ci -B
./spec/macruby.msp...]

end regression:

Lastly, what's the total number of expectations?

Thanks,

-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090910/5101a997/attachment.html>


More information about the MacRuby-devel mailing list