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
bfbb4ad2
Commit
bfbb4ad2
authored
Feb 11, 2023
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-organize flow operator unit test suites
parent
c03cd963
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
33 additions
and
26 deletions
+33
-26
libcaf_core/CMakeLists.txt
libcaf_core/CMakeLists.txt
+10
-10
libcaf_core/test/flow/op/buffer.cpp
libcaf_core/test/flow/op/buffer.cpp
+3
-2
libcaf_core/test/flow/op/concat.cpp
libcaf_core/test/flow/op/concat.cpp
+1
-1
libcaf_core/test/flow/op/defer.cpp
libcaf_core/test/flow/op/defer.cpp
+3
-2
libcaf_core/test/flow/op/empty.cpp
libcaf_core/test/flow/op/empty.cpp
+3
-2
libcaf_core/test/flow/op/fail.cpp
libcaf_core/test/flow/op/fail.cpp
+1
-1
libcaf_core/test/flow/op/interval.cpp
libcaf_core/test/flow/op/interval.cpp
+3
-2
libcaf_core/test/flow/op/merge.cpp
libcaf_core/test/flow/op/merge.cpp
+1
-1
libcaf_core/test/flow/op/never.cpp
libcaf_core/test/flow/op/never.cpp
+3
-2
libcaf_core/test/flow/op/prefix_and_tail.cpp
libcaf_core/test/flow/op/prefix_and_tail.cpp
+2
-1
libcaf_core/test/flow/op/zip_with.cpp
libcaf_core/test/flow/op/zip_with.cpp
+3
-2
No files found.
libcaf_core/CMakeLists.txt
View file @
bfbb4ad2
...
@@ -278,27 +278,27 @@ caf_add_component(
...
@@ -278,27 +278,27 @@ caf_add_component(
dynamic_spawn
dynamic_spawn
error
error
expected
expected
flow.buffer
flow.concat
flow.concat_map
flow.concat_map
flow.defer
flow.empty
flow.fail
flow.flat_map
flow.flat_map
flow.for_each
flow.for_each
flow.generation
flow.generation
flow.interval
flow.item_publisher
flow.item_publisher
flow.merge
flow.mixed
flow.mixed
flow.never
flow.observe_on
flow.observe_on
flow.op.buffer
flow.op.cell
flow.op.cell
flow.op.concat
flow.op.defer
flow.op.empty
flow.op.fail
flow.op.interval
flow.op.mcast
flow.op.mcast
flow.prefix_and_tail
flow.op.merge
flow.op.never
flow.op.prefix_and_tail
flow.op.zip_with
flow.publish
flow.publish
flow.single
flow.single
flow.zip_with
function_view
function_view
handles
handles
hash.fnv
hash.fnv
...
...
libcaf_core/test/flow/buffer.cpp
→
libcaf_core/test/flow/
op/
buffer.cpp
View file @
bfbb4ad2
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.buffer
#define CAF_SUITE flow.
op.
buffer
#include "caf/flow/o
bservable
.hpp"
#include "caf/flow/o
p/buffer
.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/coordinator.hpp"
#include "caf/flow/coordinator.hpp"
#include "caf/flow/item_publisher.hpp"
#include "caf/flow/item_publisher.hpp"
#include "caf/flow/observable.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/observer.hpp"
#include "caf/flow/observer.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
...
...
libcaf_core/test/flow/concat.cpp
→
libcaf_core/test/flow/
op/
concat.cpp
View file @
bfbb4ad2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.concat
#define CAF_SUITE flow.
op.
concat
#include "caf/flow/op/concat.hpp"
#include "caf/flow/op/concat.hpp"
...
...
libcaf_core/test/flow/defer.cpp
→
libcaf_core/test/flow/
op/
defer.cpp
View file @
bfbb4ad2
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.defer
#define CAF_SUITE flow.
op.
defer
#include "caf/flow/o
bservable_build
er.hpp"
#include "caf/flow/o
p/def
er.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
using
namespace
caf
;
using
namespace
caf
;
...
...
libcaf_core/test/flow/empty.cpp
→
libcaf_core/test/flow/
op/
empty.cpp
View file @
bfbb4ad2
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.empty
#define CAF_SUITE flow.
op.
empty
#include "caf/flow/o
bservable_builder
.hpp"
#include "caf/flow/o
p/empty
.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
using
namespace
caf
;
using
namespace
caf
;
...
...
libcaf_core/test/flow/fail.cpp
→
libcaf_core/test/flow/
op/
fail.cpp
View file @
bfbb4ad2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.fail
#define CAF_SUITE flow.
op.
fail
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/observable_builder.hpp"
...
...
libcaf_core/test/flow/interval.cpp
→
libcaf_core/test/flow/
op/
interval.cpp
View file @
bfbb4ad2
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.interval
#define CAF_SUITE flow.
op.
interval
#include "caf/flow/o
bservable_builder
.hpp"
#include "caf/flow/o
p/interval
.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
using
namespace
std
::
literals
;
using
namespace
std
::
literals
;
...
...
libcaf_core/test/flow/merge.cpp
→
libcaf_core/test/flow/
op/
merge.cpp
View file @
bfbb4ad2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.merge
#define CAF_SUITE flow.
op.
merge
#include "caf/flow/op/merge.hpp"
#include "caf/flow/op/merge.hpp"
...
...
libcaf_core/test/flow/never.cpp
→
libcaf_core/test/flow/
op/
never.cpp
View file @
bfbb4ad2
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.never
#define CAF_SUITE flow.
op.
never
#include "caf/flow/o
bservable_build
er.hpp"
#include "caf/flow/o
p/nev
er.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
using
namespace
caf
;
using
namespace
caf
;
...
...
libcaf_core/test/flow/prefix_and_tail.cpp
→
libcaf_core/test/flow/
op/
prefix_and_tail.cpp
View file @
bfbb4ad2
...
@@ -4,13 +4,14 @@
...
@@ -4,13 +4,14 @@
#define CAF_SUITE flow.prefix_and_tail
#define CAF_SUITE flow.prefix_and_tail
#include "caf/flow/o
bservable
.hpp"
#include "caf/flow/o
p/prefix_and_tail
.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include <memory>
#include <memory>
#include "caf/flow/coordinator.hpp"
#include "caf/flow/coordinator.hpp"
#include "caf/flow/observable.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/observer.hpp"
#include "caf/flow/observer.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
...
...
libcaf_core/test/flow/zip_with.cpp
→
libcaf_core/test/flow/
op/
zip_with.cpp
View file @
bfbb4ad2
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
// the main distribution directory for license terms and copyright or visit
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE flow.zip_with
#define CAF_SUITE flow.
op.
zip_with
#include "caf/flow/o
bservable_builder
.hpp"
#include "caf/flow/o
p/zip_with
.hpp"
#include "core-test.hpp"
#include "core-test.hpp"
#include "caf/flow/observable_builder.hpp"
#include "caf/flow/scoped_coordinator.hpp"
#include "caf/flow/scoped_coordinator.hpp"
using
namespace
caf
;
using
namespace
caf
;
...
...
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