summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_suffix_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_suffix_array.h')
-rw-r--r--extractor/mocks/mock_suffix_array.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/mocks/mock_suffix_array.h b/extractor/mocks/mock_suffix_array.h
index 11a3a443..6886232a 100644
--- a/extractor/mocks/mock_suffix_array.h
+++ b/extractor/mocks/mock_suffix_array.h
@@ -9,6 +9,8 @@
using namespace std;
+namespace extractor {
+
class MockSuffixArray : public SuffixArray {
public:
MOCK_CONST_METHOD0(GetSize, int());
@@ -17,3 +19,5 @@ class MockSuffixArray : public SuffixArray {
MOCK_CONST_METHOD1(GetSuffix, int(int));
MOCK_CONST_METHOD4(Lookup, PhraseLocation(int, int, const string& word, int));
};
+
+} // namespace extractor