blob: 0d1ff63dd56f500c783376f8640913710ba702d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2016 Yahoo Inc. 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);
};
|