Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
aleph_exceptions_test.cc File Reference

The exceptions of aleph-exceptions.H, deprecated, work as before until the header goes in 8.0.0. More...

#include <gtest/gtest.h>
#include <stdexcept>
#include <string>
#include <aleph-exceptions.H>
Include dependency graph for aleph_exceptions_test.cc:

Go to the source code of this file.

Macros

#define EXPECT_THE_EXCEPTION(E, category)    expect_the_exception<E>(#E, #category)
 

Functions

 TEST (AlephExceptions, EachIsAnAlephExceptionWithItsCategory)
 
 TEST (AlephExceptions, DefineAlephExceptionDefinesOne)
 

Detailed Description

The exceptions of aleph-exceptions.H, deprecated, work as before until the header goes in 8.0.0.

Definition in file aleph_exceptions_test.cc.

Macro Definition Documentation

◆ EXPECT_THE_EXCEPTION

#define EXPECT_THE_EXCEPTION (   E,
  category 
)     expect_the_exception<E>(#E, #category)

Definition at line 83 of file aleph_exceptions_test.cc.

Function Documentation

◆ TEST() [1/2]

TEST ( AlephExceptions  ,
DefineAlephExceptionDefinesOne   
)

Definition at line 116 of file aleph_exceptions_test.cc.

References ALEPHTHROW, and EXPECT_THE_EXCEPTION.

◆ TEST() [2/2]

TEST ( AlephExceptions  ,
EachIsAnAlephExceptionWithItsCategory   
)

Definition at line 89 of file aleph_exceptions_test.cc.

References EXPECT_THE_EXCEPTION.