comma_list_tests.cpp File Reference

#include <stdlib.h>
#include <iostream>
#include "comma_list.h"
Include dependency graph for comma_list_tests.cpp:

Go to the source code of this file.

Defines

#define check(clist, val, result)

Functions

int main ()

Detailed Description

Remarks:
Copyright 2003 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Definition in file comma_list_tests.cpp.


Define Documentation

#define check ( clist,
val,
result   ) 
Value:
if (clist.match(val) != result) { \
        cerr << "\"" << #val << "\" matched with " #clist \
             << " did not return " #result << endl; \
        exit(EXIT_FAILURE); \
    }

Definition at line 19 of file comma_list_tests.cpp.

Referenced by main(), and oprof_start::setup_unit_masks().


Function Documentation

int main ( void   ) 

Definition at line 26 of file comma_list_tests.cpp.

References check, and comma_list< T >::set().

Here is the call graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1