Functions
exceptions.cpp File Reference

Unit test for ecl exceptions. More...

#include <cstdio>
#include <iostream>
#include <ecl/config/ecl.hpp>
#include "../../include/ecl/exceptions/exception.hpp"
#include "../../include/ecl/exceptions/data_exception.hpp"
#include "../../include/ecl/exceptions/macros.hpp"
#include "../../include/ecl/exceptions/standard_exception.hpp"
Include dependency graph for exceptions.cpp:

Go to the source code of this file.

Functions

void f (int i) ecl_debug_throw_decl(StandardException)
int main (int argc, char **argv)

Detailed Description

Unit test for ecl exceptions.

Can't really gtest these, so this is more of a coverage test per se as well as an example of its usage.

See also:
Exceptions Guide.
Date:
April, 2009

Definition in file exceptions.cpp.


Function Documentation

void f ( int  i)

Definition at line 42 of file exceptions.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 55 of file exceptions.cpp.



ecl_exceptions
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:05