blob: 394e1d59ebd9ddc752448f339c4e88b71ede1835 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// Copyright (C) 2001-2003 Fast Search & Transfer ASA
// Copyright (C) 2003 Overture Services Norway AS
#pragma once
#include <vespa/searchlib/parsequery/stackdumpiterator.h>
#include <vespa/fastos/app.h>
namespace search { class SimpleQueryStack; }
class StackDumpIteratorTest : public FastOS_Application
{
int Main() override;
void Usage(char *progname);
bool ShowResult(int testNo, search::SimpleQueryStackDumpIterator &actual, search::SimpleQueryStack &correct, unsigned int expected);
bool RunTest(int i, bool verify);
};
|