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
cb93aed4
Commit
cb93aed4
authored
Aug 31, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix time-dependent bug in uniform type unit test
parent
7ef94fef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
libcaf_io/test/uniform_type.cpp
libcaf_io/test/uniform_type.cpp
+5
-1
No files found.
libcaf_io/test/uniform_type.cpp
View file @
cb93aed4
...
...
@@ -150,6 +150,10 @@ CAF_TEST(test_uniform_type) {
CAF_CHECK
(
uti
!=
nullptr
);
CAF_CHECK
(
strcmp
(
uti
->
name
(),
"@atom"
)
==
0
);
}
auto
sptr
=
detail
::
singletons
::
get_uniform_type_info_map
();
// this kind of message is used during the initialization process of BASP;
// when compiling with logging enabled, this type ends up in the type info map
sptr
->
by_uniform_name
(
"@<>+@atom+@str"
);
using
detail
::
type_nr
;
// these types (and only those) are present if
// the uniform_type_info implementation is correct
...
...
@@ -179,6 +183,7 @@ CAF_TEST(test_uniform_type) {
// default announced types
{
"@<>"
,
0
},
{
"@<>+@atom"
,
0
},
{
"@<>+@atom+@str"
,
0
},
{
"@unit"
,
tnr
<
unit_t
>
()},
{
"@actor"
,
tnr
<
actor
>
()},
{
"@actorvec"
,
tnr
<
std
::
vector
<
actor
>>
()},
...
...
@@ -202,7 +207,6 @@ CAF_TEST(test_uniform_type) {
{
"@strvec"
,
tnr
<
std
::
vector
<
std
::
string
>>
()},
{
"@strset"
,
tnr
<
std
::
set
<
std
::
string
>>
()}
};
auto
sptr
=
detail
::
singletons
::
get_uniform_type_info_map
();
sptr
->
by_uniform_name
(
"@<>"
);
sptr
->
by_uniform_name
(
"@<>+@atom"
);
CAF_MESSAGE
(
"Added debug types"
);
...
...
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