~ubuntu-branches/ubuntu/oneiric/mozc/oneiric

« back to all changes in this revision

Viewing changes to prediction/dictionary_predictor_test.cc

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2010-07-14 03:26:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100714032647-13qjisj6m8cm8jdx
Tags: 0.12.410.102-1
* New upstream release (Closes: #588971).
  - Add mozc-server, mozc-utils-gui and scim-mozc packages.
* Update debian/rules.
  Add --gypdir option to build_mozc.py.
* Update debian/control.
  - Bumped standards-version to 3.9.0.
  - Update description.
* Add mozc icon (Closes: #588972).
* Add patch which revises issue 18.
  ibus_mozc_issue18.patch
* kFreeBSD build support.
  support_kfreebsd.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  MakeSegmentsForSuggestion
67
67
      ("\xE3\x81\x90\xE3\x83\xBC\xE3\x81\x90\xE3\x82\x8B\xE3\x81\x82",
68
68
       &segments);
69
 
  EXPECT_FALSE(predictor.Suggest(&segments));
 
69
  EXPECT_FALSE(predictor.Predict(&segments));
70
70
 
71
71
  // turn on
72
72
  config.set_use_dictionary_suggest(true);
73
73
  MakeSegmentsForSuggestion
74
74
      ("\xE3\x81\x90\xE3\x83\xBC\xE3\x81\x90\xE3\x82\x8B\xE3\x81\x82",
75
75
       &segments);
76
 
  EXPECT_FALSE(predictor.Suggest(&segments));
 
76
  EXPECT_FALSE(predictor.Predict(&segments));
77
77
}
78
78
 
79
79
TEST(DictionaryPredictor, IsZipCodeRequestTest) {