DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
testExceptionHandling.hpp File Reference
#include <exception>
#include <iostream>
#include <sstream>
#include <string>
#include <common-utils/errors.hpp>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

 GTEST_TEST (testExceptionHandling, thisIsHowWeWouldCatchAndHandleAStdException)
 
 GTEST_TEST (testExceptionHandling, thisIsHowWeWouldCatchAndHandleAFatalException)
 
 GTEST_TEST (testExceptionHandling, fatalErrorsAreHandledByTerminating)
 
 GTEST_TEST (testExceptionHandling, derivedExceptionClassIsCaughtByParentClass)
 

Function Documentation

◆ GTEST_TEST() [1/4]

GTEST_TEST ( testExceptionHandling ,
thisIsHowWeWouldCatchAndHandleAStdException  )

◆ GTEST_TEST() [2/4]

GTEST_TEST ( testExceptionHandling ,
thisIsHowWeWouldCatchAndHandleAFatalException  )

◆ GTEST_TEST() [3/4]

GTEST_TEST ( testExceptionHandling ,
fatalErrorsAreHandledByTerminating  )

◆ GTEST_TEST() [4/4]

GTEST_TEST ( testExceptionHandling ,
derivedExceptionClassIsCaughtByParentClass  )