AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Functions | Variables
ServerDisconnectIntegrationTest.cpp File Reference
#include <chrono>
#include <fstream>
#include <thread>
#include <gtest/gtest.h>
#include <ACL/AVSConnectionManager.h>
#include <ACL/Transport/HTTP2TransportFactory.h>
#include <ACL/Transport/PostConnectSequencerFactory.h>
#include <AVSCommon/AVS/Initialization/AlexaClientSDKInit.h>
#include <AVSCommon/AVS/MessageRequest.h>
#include <AVSCommon/Utils/LibcurlUtils/LibcurlHTTP2ConnectionFactory.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/RequiresShutdown.h>
#include <ContextManager/ContextManager.h>
#include <SynchronizeStateSender/SynchronizeStateSenderFactory.h>
#include "Integration/AuthDelegateTestContext.h"
#include "Integration/AuthObserver.h"
#include "Integration/ConnectionStatusObserver.h"
#include "Integration/JsonHeader.h"
#include "Integration/ObservableMessageRequest.h"
#include "Integration/SDKTestContext.h"
Include dependency graph for ServerDisconnectIntegrationTest.cpp:

Classes

class  alexaClientSDK::integration::test::AVSCommunication
 
class  alexaClientSDK::integration::test::ServerDisconnectIntegrationTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::integration
 
 alexaClientSDK::integration::test
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::integration::test::TAG ("ServerDisconnectIntegrationTest")
 String to identify log entries originating from this file. More...
 
 alexaClientSDK::integration::test::TEST_F (ServerDisconnectIntegrationTest, DISABLED_test_sendEvent)
 
int main (int argc, char **argv)
 

Variables

static const int alexaClientSDK::integration::test::TIMEOUT_FOR_SEND_IN_SECONDS = 10
 The time to wait for expected message status on sending the message. More...
 
static std::string alexaClientSDK::integration::test::g_configPath
 Path to the AlexaClientSDKConfig.json file (from command line arguments). More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

AlexaClientSDK 1.26.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0