Project

General

Profile

Bug #4926 » test_emoji.rb.log

ktsj (Kazuki Tsujimoto), 06/26/2011 02:44 AM

 
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --" ruby/enc/test_emoji.rb --gc-stress
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --" --gc-stress

# Running tests:

............/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:154: warning: instance variable @aiueo_sjis not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:147: warning: instance variable @aiueo_sjis not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:142: warning: instance variable @aiueo_sjis not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:181: warning: instance variable @iso2022jp_kddi not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:191: warning: instance variable @utf8_docomo not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:176: warning: instance variable @iso2022jp_kddi not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:169: warning: instance variable @iso2022jp_kddi not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:226: warning: instance variable @iso2022jp_kddi not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:162: warning: instance variable @iso2022jp_kddi not initialized
F.../home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:268: warning: instance variable @aiueo_sjis not initialized
F/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:264: warning: instance variable @aiueo_sjis not initialized
F./home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:293: warning: instance variable @utf8_docomo not initialized
F./home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:309: warning: instance variable @iso2022jp_kddi not initialized
F...

Finished tests in 35.917159s, 0.9188 tests/s, 4.0371 assertions/s.

1) Failure:
test_from_iso2022jp(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:154]:
Exception raised:
<#<NoMethodError: undefined method `force_encoding' for nil:NilClass>>.

2) Failure:
test_from_sjis(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:147]:
Exception raised:
<#<NoMethodError: undefined method `encode' for nil:NilClass>>.

3) Failure:
test_from_utf8(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:142]:
Exception raised:
<#<NoMethodError: undefined method `force_encoding' for nil:NilClass>>.

4) Failure:
test_kddi(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:181]:
Exception raised:
<#<NoMethodError: undefined method `encode' for nil:NilClass>>.

5) Failure:
test_to_docomo(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:191]:
<nil> expected but was
<"\uE63E">.

6) Failure:
test_to_eucjp(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:176]:
[Encoding::UndefinedConversionError] exception expected, not
Class: <NoMethodError>
Message: <"undefined method `encode' for nil:NilClass">
---Backtrace---
/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:371:in `to_eucjp'
/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:176:in `block in test_to_eucjp'
---------------

7) Failure:
test_to_sjis(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:169]:
[Encoding::UndefinedConversionError] exception expected, not
Class: <NoMethodError>
Message: <"undefined method `encode' for nil:NilClass">
---Backtrace---
/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:367:in `to_sjis'
/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:169:in `block in test_to_sjis'
---------------

8) Failure:
test_to_softbank(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:226]:
Exception raised:
<#<NoMethodError: undefined method `encode' for nil:NilClass>>.

9) Failure:
test_to_utf8(Emoji::TestKDDI) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:162]:
Exception raised:
<#<NoMethodError: undefined method `encode' for nil:NilClass>>.

10) Failure:
test_from_sjis(Emoji::TestSoftBank) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:268]:
Exception raised:
<#<NoMethodError: undefined method `encode' for nil:NilClass>>.

11) Failure:
test_from_utf8(Emoji::TestSoftBank) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:264]:
Exception raised:
<#<NoMethodError: undefined method `force_encoding' for nil:NilClass>>.

12) Failure:
test_to_docomo(Emoji::TestSoftBank) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:293]:
<nil> expected but was
<"\uE63E">.

13) Failure:
test_to_kddi(Emoji::TestSoftBank) [/home/k_tsj/work/ruby-trunk/test/ruby/enc/test_emoji.rb:309]:
<nil> expected but was
<"\e\x24\x42\x75\x41\e\x28\x42">.

33 tests, 145 assertions, 13 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 13
    (1-1/1)