forked from snakster/cpp.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEventStreamTestQ.cpp
More file actions
29 lines (21 loc) · 1.03 KB
/
EventStreamTestQ.cpp
File metadata and controls
29 lines (21 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Sebastian Jeckel 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "EventStreamTest.h"
#include "TestUtil.h"
#include "react/engine/PulsecountEngine.h"
#include "react/engine/ToposortEngine.h"
#include "react/engine/SubtreeEngine.h"
///////////////////////////////////////////////////////////////////////////////////////////////////
namespace {
using namespace react;
using P1 = DomainParams<sequential_concurrent,ToposortEngine>;
using P2 = DomainParams<parallel_concurrent,ToposortEngine>;
using P3 = DomainParams<parallel_concurrent,PulsecountEngine>;
using P4 = DomainParams<parallel_concurrent,SubtreeEngine>;
INSTANTIATE_TYPED_TEST_CASE_P(SeqToposortQ, EventStreamTest, P1);
INSTANTIATE_TYPED_TEST_CASE_P(ParToposortQ, EventStreamTest, P2);
INSTANTIATE_TYPED_TEST_CASE_P(PulsecountQ, EventStreamTest, P3);
INSTANTIATE_TYPED_TEST_CASE_P(SubtreeQ, EventStreamTest, P4);
} // ~namespace