Generated on for Gecode by doxygen 1.17.0
test.cpp File Reference
#include "test/test.hh"
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  Test::TestTagDescription
 A command-line name and its corresponding test tag. More...
class  Test::SortByName
 Sort tests by name. More...
class  Test::TestExecutionControl
class  Test::TestExecutor

Namespaces

namespace  Test
 General test support.

Functions

void Test::report_error (const std::string &name, unsigned int seed, const Options &options, std::ostream &ostream)
bool Test::run_test (Base *test, unsigned int test_seed, const Options &options, std::ostream &ostream)
 Run a single test, returning true iff the test succeeded.
void Test::print_test_summary (size_t selected, size_t passed, size_t failed)
 Report test cases; iterations of a test count as one case.
int Test::run_tests (const std::vector< Base * > &tests, const Options &options)
 Run all the tests with the supplied options.
int Test::run_tests_parallel (const std::vector< Base * > &tests, const Options &options)
 Run all the tests with the supplied options in parallel.
std::vector< Base * > Test::select_tests (const Options &options)
int Test::run_registered_tests (int argc, char *argv[])
std::ostream & operator<< (std::ostream &os, const Test::ind &i)

Variables

std::ostringstream Test::olog
 Stream used for logging.
Options Test::opt
 The options.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Test::ind & i )
related

Definition at line 640 of file test.cpp.