All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
Unittests-X.cpp File Reference
#include <iostream>
#include <utility>
#include <stdexcept>
#include <gtest/gtest.h>
#include <omp.h>
#include "Globals.h"
#include "ext/optionparser.h"
#include "auxiliary/Log.h"
#include "graph/Graph.h"
#include "auxiliary/Parallelism.h"

Classes

class  Arg
 

Enumerations

enum  optionIndex {
  UNKNOWN, HELP, LOGLEVEL, THREADS,
  TESTS, TRIALS, BENCHMARKS, FILTER
}
 

Functions

int main (int argc, char **argv)
 

Variables

const OptionParser::Descriptor usage []
 

Enumeration Type Documentation

Enumerator
UNKNOWN 
HELP 
LOGLEVEL 
THREADS 
TESTS 
TRIALS 
BENCHMARKS 
FILTER 

Function Documentation

int main ( int  argc,
char **  argv 
)

Variable Documentation

const OptionParser::Descriptor usage[]
Initial value:
=
{
"Options:" },
{HELP, 0,"h" , "help",OptionParser::Arg::None, " --help \t Print usage and exit." },
{LOGLEVEL, 0, "" , "loglevel", OptionParser::Arg::Required, " --loglevel=<LEVEL> \t set the log level" },
{THREADS, 0, "" , "threads", OptionParser::Arg::Required, " --threads=<NUM> \t set the maximum number of threads" },
{TESTS, 0, "t", "tests", OptionParser::Arg::None, " --tests \t Run unit tests"},
{TRIALS, 0, "e", "trials", OptionParser::Arg::None, " --trials \t Run experimental tests"},
{BENCHMARKS, 0, "b", "benchmarks", OptionParser::Arg::None, " --benchmarks \t Run benchmarks"},
{FILTER, 0, "f", "gtest_filter", OptionParser::Arg::Required, " --gtest_filter=<FILTER_PATTERN> \t Run tests that match the filter pattern" },
{UNKNOWN, 0,"" , "" ,OptionParser::Arg::None, "\nExamples:\n"
" TODO" },
{0,0,0,0,0,0}
}
Definition: Unittests-X.cpp:53
Definition: Unittests-X.cpp:53
Definition: Unittests-X.cpp:53
Definition: Unittests-X.cpp:53
Definition: Unittests-X.cpp:53
static ArgStatus Required(const OptionParser::Option &option, bool msg)
Definition: optionparser.h:903
Definition: Unittests-X.cpp:53
static ArgStatus None(const Option &, bool)
For options that don't take an argument: Returns ARG_NONE.
Definition: optionparser.h:888
Definition: Unittests-X.cpp:53
Definition: Unittests-X.cpp:53