Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
3283051e
Commit
3283051e
authored
Feb 01, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete test
parent
3c5d82f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
libcaf_core/test/config_option_set.cpp
libcaf_core/test/config_option_set.cpp
+0
-14
No files found.
libcaf_core/test/config_option_set.cpp
View file @
3283051e
...
@@ -101,20 +101,6 @@ CAF_TEST(parse with ref syncing) {
...
@@ -101,20 +101,6 @@ CAF_TEST(parse with ref syncing) {
CAF_CHECK_EQUAL
(
get
<
int
>
(
cfg
,
"foo.i"
),
42
);
CAF_CHECK_EQUAL
(
get
<
int
>
(
cfg
,
"foo.i"
),
42
);
}
}
CAF_TEST
(
drop
global
)
{
opts
.
add
<
int
>
(
"value"
,
"some value"
).
add
<
bool
>
(
"help"
,
"print help text"
);
CAF_MESSAGE
(
"test long option with argument"
);
settings
cfg
;
auto
res
=
opts
.
parse
(
cfg
,
{
"--value=42"
});
CAF_CHECK_EQUAL
(
res
.
first
,
pec
::
success
);
CAF_CHECK_EQUAL
(
get_if
<
int
>
(
&
cfg
,
"value"
),
42
);
CAF_MESSAGE
(
"test long option flag"
);
cfg
.
clear
();
res
=
opts
.
parse
(
cfg
,
{
"--help"
});
CAF_CHECK_EQUAL
(
res
.
first
,
pec
::
success
);
CAF_CHECK_EQUAL
(
get_or
(
cfg
,
"help"
,
false
),
true
);
}
CAF_TEST
(
atom
parameters
)
{
CAF_TEST
(
atom
parameters
)
{
opts
.
add
<
atom_value
>
(
"value,v"
,
"some value"
);
opts
.
add
<
atom_value
>
(
"value,v"
,
"some value"
);
CAF_MESSAGE
(
"test atom option without quotes"
);
CAF_MESSAGE
(
"test atom option without quotes"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment