search for: test_add_language_info

Displaying 2 results from an estimated 2 matches for "test_add_language_info".

2006 Nov 29
0
[762] trunk/wxruby2/tests/test_intl.rb: Make it clearer that this is a TODO - test failure is expected
...mp;nbsp&nbsp&nbsp&nbsp&nbsp2006-11-29 23:30:28 UTC (rev 762) </span><span class="lines">@@ -43,6 +43,7 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def test_add_language_info </span><ins>+ flunk ''Wx::Locale.add_language is not yet implemented'' </ins><span class="cx"> # FIXME - typemaps for wxString are not picked up when SWIG converts </span><span class="cx"> # the struct definition; so...
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...Portuguese (Brazilian)'', locale_info.description) + + locale_info = Wx::Locale.find_language_info(''ja'') + assert_equal(''Japanese'', locale_info.description) + + assert_nil( Wx::Locale.find_language_info(''xx'') ) + end + + def test_add_language_info + # FIXME - typemaps for wxString are not picked up when SWIG converts + # the struct definition; so maybe do an %extend for this method that + # accepts string canonical name and description and Win32 + # identifiers, and returns an integer id. See Locale.i + language_marain = Wx::L...