blob: bca1dd4589382ec9a0113911f78c8194bedc8e8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#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);
};
|