|
void | SetUp () override |
| Setup the test harness for running the test. More...
|
|
void | TearDown () override |
| Clean up the test harness after running the test. More...
|
|
Test harness for DiscoveryEventSender
class.
◆ SetUp()
void alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::SetUp |
( |
| ) |
|
|
override |
Setup the test harness for running the test.
◆ TearDown()
void alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::TearDown |
( |
| ) |
|
|
override |
Clean up the test harness after running the test.
◆ validateCallsToAuthDelegate()
void alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::validateCallsToAuthDelegate |
( |
const std::shared_ptr< DiscoveryEventSenderInterface > & |
discoveryEventSender, |
|
|
bool |
expectAuthFailure = false |
|
) |
| |
|
protected |
Validates if the expected methods get called on the auth delegate.
- Parameters
-
discoveryEventSender | The DiscoveryEventSenderInterface to observe authdelegate. |
expectAuthFailure | True if a call to onAuthFailure() is expected, else false. |
◆ m_discoveryEventSender
◆ m_mockAuthDelegate
std::shared_ptr<MockAuthDelegate> alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::m_mockAuthDelegate |
|
protected |
The instance of the AuthDelegate
used in the tests.
◆ m_mockDiscoveryStatusObserver
std::shared_ptr<MockDiscoveryStatusObserver> alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::m_mockDiscoveryStatusObserver |
|
protected |
The instance of the DiscoveryObserverStatusInterface
used in the tests.
◆ m_mockMessageSender
std::shared_ptr<MockMessageSender> alexaClientSDK::capabilitiesDelegate::test::DiscoveryEventSenderTest::m_mockMessageSender |
|
protected |
The mock MessageSenderInterface
used in the tests.
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0