#include <boost/test/unit_test.hpp>
#include <ExecutionFrame.hpp>
Go to the source code of this file.
◆ BOOST_AUTO_TEST_CASE()
BOOST_AUTO_TEST_CASE |
( |
NextExecutionFrameTest |
| ) |
|
Definition at line 17 of file ExecutionFrameTest.cpp.
References BOOST_CHECK(), ExecutionFrame::ExecuteWorkloads(), and ExecutionFrame::SetNextExecutionFrame().
28 auto nextExecutionFrameB = executionFrameB.
ExecuteWorkloads(&executionFrameA);
29 auto nextExecutionFrameC = executionFrameC.
ExecuteWorkloads(&executionFrameB);
31 BOOST_CHECK_EQUAL(nextExecutionFrameA, &executionFrameB);
32 BOOST_CHECK_EQUAL(nextExecutionFrameB, &executionFrameC);
36 BOOST_CHECK_NE(nextExecutionFrameA, &executionFrameC);
BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)
IExecutionFrame * ExecuteWorkloads(IExecutionFrame *previousFrame) override
void SetNextExecutionFrame(IExecutionFrame *nextExecutionFrame)