Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1792

Show
Ignore:
Timestamp:
05/20/07 18:34:33 (2 years ago)
Author:
nahi
Message:
  • added utf-8 test
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/soap/test_property.rb

    r1520 r1792  
    2929a.b.1 = 2 
    3030a.b.2 = 3 
     31a.b.3 = 日本語 
     32a.b.表 = 1表2 
    3133client.protocol.http.proxy=http://myproxy:8080   \r 
    3234client.protocol.http.no_proxy:  intranet.example.com,local.example.com\r 
     
    4547__EOP__ 
    4648    prop = Property.load(propstr) 
    47     assert_equal(["1", "2", "3"], prop["a.b"].values.sort) 
     49    assert_equal("1表2", prop["a.b.表"]) 
     50    assert_equal(["1", "1表2", "2", "3", "日本語"], prop["a.b"].values.sort) 
    4851    assert_equal("intranet.example.com,local.example.com", 
    4952      prop["client.protocol.http.no_proxy"])