Fix tests compilation

This commit is contained in:
Thomas Goyne 2012-12-30 08:31:51 -08:00
parent 426e4593c7
commit 134fe60517
1 changed files with 2 additions and 0 deletions

View File

@ -19,7 +19,9 @@
class MockSpellChecker : public agi::SpellChecker {
void AddWord(std::string const&) { }
void RemoveWord(std::string const&) { }
bool CanAddWord(std::string const&) { return false; }
bool CanRemoveWord(std::string const&) { return false; }
std::vector<std::string> GetSuggestions(std::string const&) { return std::vector<std::string>(); }
std::vector<std::string> GetLanguageList() { return std::vector<std::string>(); }
bool CheckWord(std::string const& word) { return word != "incorrect"; }