Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Merge requests
!8
F files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
F files
f-files
into
main
Overview
0
Commits
20
Pipelines
15
Changes
5
Merged
Henrik tom Wörden
requested to merge
f-files
into
main
3 years ago
Overview
0
Commits
20
Pipelines
15
Changes
5
Expand
0
0
Merge request reports
Viewing commit
9f6eea51
Prev
Next
Show latest version
5 files
+
44
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
9f6eea51
STY: ws changes
· 9f6eea51
Henrik tom Wörden
authored
3 years ago
test/caosdb_test_utility.h
+
10
−
10
Options
@@ -33,16 +33,16 @@
*/
#define EXPECT_THROW_MESSAGE(statement, exeption_type, message) \
EXPECT_THROW( \
try { statement; } catch (const exeption_type &e) {
\
EXPECT_EQ(std::string(e.what()), message);
\
throw;
\
},
\
exeption_type)
try { statement; } catch (const exeption_type &e) { \
EXPECT_EQ(std::string(e.what()), message); \
throw; \
},
\
exeption_type)
#define ASSERT_THROW_MESSAGE(statement, exeption_type, message) \
ASSERT_THROW( \
try { statement; } catch (const exeption_type &e) {
\
ASSERT_EQ(std::string(e.what()), message);
\
throw;
\
},
\
exeption_type)
try { statement; } catch (const exeption_type &e) { \
ASSERT_EQ(std::string(e.what()), message); \
throw; \
},
\
exeption_type)
#endif
Loading