AusweisApp2/test/helper/MockActivationContext.cpp

27 lines
662 B
C++
Raw Normal View History

2017-07-03 09:30:10 +02:00
/*!
2019-05-22 10:08:38 +02:00
* \copyright Copyright (c) 2016-2019 Governikus GmbH & Co. KG, Germany
2017-07-03 09:30:10 +02:00
*/
#include "MockActivationContext.h"
using namespace governikus;
MockActivationContext::MockActivationContext(bool pProcessing, bool pAlreadyActive, bool pErroPage, bool pRedirect, const QString& pSendError)
: ActivationContext()
, mProcessingValue(pProcessing)
, mAlreadyActiveValue(pAlreadyActive)
, mErroPageValue(pErroPage)
, mRedirectValue(pRedirect)
, mErrorMessageOnSend(pSendError)
, mSendProcessingCalled(false)
, mSendAlreadyActiveCalled(false)
, mSendErroPageCalled(false)
, mSendRedirectCalled(false)
{
}
MockActivationContext::~MockActivationContext()
{
}