summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/stackdumpiterator/stackdumpiteratortest.h
blob: e661431209c5860b1aa003c8623a3407040958cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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>

class StackDumpIteratorTest : public FastOS_Application
{
    int Main();
    void Usage(char *progname);
    bool ShowResult(int testNo, search::SimpleQueryStackDumpIterator &actual, search::SimpleQueryStack &correct, unsigned int expected);
    bool RunTest(int i, bool verify);
};