blob: 2e07717821aaefb122cc5eedd510ecb674b56859 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/fastos/app.h>
namespace search::docsummary { class KeywordExtractor; }
class ExtractKeywordsTest : public FastOS_Application
{
private:
ExtractKeywordsTest(const ExtractKeywordsTest &);
ExtractKeywordsTest& operator=(const ExtractKeywordsTest &);
search::docsummary::KeywordExtractor *_extractor;
int Main() override;
int Usage(char *progname);
bool ShowResult(int testNo, const char *actual, const char *correct);
bool RunTest(int i, bool verify);
public:
ExtractKeywordsTest()
: _extractor(nullptr)
{}
};
|