#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.
|
| | GTEST_TEST (testExceptionHandling, thisIsHowWeWouldCatchAndHandleAStdException) |
| |
| | GTEST_TEST (testExceptionHandling, thisIsHowWeWouldCatchAndHandleAFatalException) |
| |
| | GTEST_TEST (testExceptionHandling, fatalErrorsAreHandledByTerminating) |
| |
| | GTEST_TEST (testExceptionHandling, derivedExceptionClassIsCaughtByParentClass) |
| |
◆ 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 | ) |