libabigail
Classes | Namespaces | Typedefs | Functions
test-read-common.h File Reference

This file declares the common functionality for tests in CTF and DWARF readers, it declares abstractions for `act` test stage. More...

#include <string>
#include "abg-ir.h"
#include "abg-corpus.h"
#include "abg-workers.h"
#include "abg-writer.h"
#include "test-utils.h"
#include "abg-tools-utils.h"
Include dependency graph for test-read-common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  InOutSpec
 This is an aggregate that specifies where a test shall get its input from, and where it shall write its output to. More...
 
struct  options
 An abstraction for valid test options. More...
 
struct  test_task
 The task that performs the tests. More...
 

Namespaces

 abigail
 Toplevel namespace for libabigail.
 

Typedefs

typedef test_task *(* create_new_test) (const InOutSpec *s, string &a_out_abi_base, string &a_in_elf_base, string &a_in_abi_base)
 A convenience typedef for a callback to create_new_test instances. More...
 
typedef shared_ptr< test_task > test_task_sptr
 

Functions

void display_usage (const string &prog_name, ostream &out)
 Write the usage message to out stream object. More...
 
bool parse_command_line (int argc, char *argv[], options &opts)
 Parse and process test options. More...
 
bool run_tests (const size_t num_tests, const InOutSpec *specs, const options &opts, create_new_test new_test)
 The main entry point to execute the testsuite. More...
 

Detailed Description

This file declares the common functionality for tests in CTF and DWARF readers, it declares abstractions for `act` test stage.

Definition in file test-read-common.h.