AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions
ManufactoryTest.cpp File Reference
#include <memory>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "acsdkManufactory/Component.h"
#include "acsdkManufactory/ComponentAccumulator.h"
#include "acsdkManufactory/Manufactory.h"
#include "acsdkManufactory/OptionalImport.h"
Include dependency graph for ManufactoryTest.cpp:

Classes

class  alexaClientSDK::acsdkManufactory::test::ManufactoryTest
 
class  alexaClientSDK::acsdkManufactory::test::InterfaceA
 
class  alexaClientSDK::acsdkManufactory::test::InterfaceB
 
class  alexaClientSDK::acsdkManufactory::test::InterfaceAB
 
class  alexaClientSDK::acsdkManufactory::test::AB
 
struct  alexaClientSDK::acsdkManufactory::test::Annotation1
 Type used to annotate (i.e. distinguish instances of) another type. More...
 
struct  alexaClientSDK::acsdkManufactory::test::Annotation2
 Type used to annotate (i.e. distinguish instances of) another type. More...
 
struct  alexaClientSDK::acsdkManufactory::test::Annotation3
 Type used to annotate (i.e. distinguish instances of) another type. More...
 
struct  alexaClientSDK::acsdkManufactory::test::Annotation4
 Type used to annotate (i.e. distinguish instances of) another type. More...
 
class  alexaClientSDK::acsdkManufactory::test::ABSubclass< X >
 
class  alexaClientSDK::acsdkManufactory::test::Dependency
 
struct  alexaClientSDK::acsdkManufactory::test::Type1
 

Namespaces

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

Functions

unique_ptr< InterfaceA > alexaClientSDK::acsdkManufactory::test::createUniqueA ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_manufactureUnique)
 
shared_ptr< InterfaceAB > alexaClientSDK::acsdkManufactory::test::createSharedAB ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_manufactureShared)
 
shared_ptr< InterfaceA > alexaClientSDK::acsdkManufactory::test::createAFromAB (const shared_ptr< InterfaceAB > &ab)
 
shared_ptr< InterfaceB > alexaClientSDK::acsdkManufactory::test::createBFromAB (const shared_ptr< InterfaceAB > &ab)
 
shared_ptr< InterfaceAB > alexaClientSDK::acsdkManufactory::test::createAB ()
 
Component< shared_ptr< InterfaceA >, shared_ptr< InterfaceB > > alexaClientSDK::acsdkManufactory::test::getABComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_multipleInhertance)
 
Annotated< Annotation1, InterfaceAB > alexaClientSDK::acsdkManufactory::test::createAB1 (const Annotated< Annotation3, InterfaceAB > &ab3)
 
Annotated< Annotation2, InterfaceAB > alexaClientSDK::acsdkManufactory::test::createAB2 ()
 
Annotated< Annotation3, InterfaceAB > alexaClientSDK::acsdkManufactory::test::createAB3 (const Annotated< Annotation2, InterfaceAB > &ab2)
 
Component< Annotated< Annotation1, InterfaceAB >, Annotated< Annotation2, InterfaceAB >, Import< Annotated< Annotation3, InterfaceAB > > > alexaClientSDK::acsdkManufactory::test::getComponent12 ()
 
Component< Annotated< Annotation3, InterfaceAB > > alexaClientSDK::acsdkManufactory::test::getComponent3 ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_annotatedManufacture)
 
Component< shared_ptr< InterfaceAB > > alexaClientSDK::acsdkManufactory::test::getRetainedABComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_retainedManufacture)
 
Annotated< Annotation1, InterfaceAB > alexaClientSDK::acsdkManufactory::test::createRetainedAB1 ()
 
Annotated< Annotation2, InterfaceAB > alexaClientSDK::acsdkManufactory::test::createRequiredAB2 (const Annotated< Annotation1, InterfaceAB > &ab1)
 
Component< Annotated< Annotation1, InterfaceAB > > alexaClientSDK::acsdkManufactory::test::getRequiredComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_requiredManufacture)
 
template<int X>
static shared_ptr< ABSubclass< X > > alexaClientSDK::acsdkManufactory::test::createABSubclass ()
 
Component< shared_ptr< ABSubclass< 1 > >, shared_ptr< ABSubclass< 2 > >, shared_ptr< ABSubclass< 3 > > > alexaClientSDK::acsdkManufactory::test::getPrimaryTestComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_primeManufacture)
 
template<int X, typename... Dependencies>
function< shared_ptr< ABSubclass< X > >Dependencies...)> alexaClientSDK::acsdkManufactory::test::getFunctionFactory ()
 
Component< shared_ptr< ABSubclass< 1 > >, shared_ptr< ABSubclass< 2 > >, shared_ptr< ABSubclass< 3 > >, shared_ptr< ABSubclass< 4 > > > alexaClientSDK::acsdkManufactory::test::getFunctionTestComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_functionManufacture)
 
template<typename Annotation , typename... Dependencies>
function< Annotated< Annotation, AB >Dependencies...)> alexaClientSDK::acsdkManufactory::test::getAnnotatedFunctionFactory ()
 
Component< Annotated< Annotation1, AB >, Annotated< Annotation2, AB >, Annotated< Annotation3, AB >, Annotated< Annotation4, AB >, Annotated< Annotation2, AB > > alexaClientSDK::acsdkManufactory::test::getAnnotatedFunctionTestComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_anotatedFunctionManufacture)
 
shared_ptr< InterfaceA > alexaClientSDK::acsdkManufactory::test::createCyclicA (const shared_ptr< InterfaceB > &)
 
shared_ptr< InterfaceB > alexaClientSDK::acsdkManufactory::test::createCyclicB (const shared_ptr< InterfaceA > &)
 
Component< shared_ptr< InterfaceA >, shared_ptr< InterfaceB > > alexaClientSDK::acsdkManufactory::test::getCyclicComponent ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_checkCyclicDependencies)
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_subManufactory)
 
Component< shared_ptr< Type1 >, OptionalImport< shared_ptr< Dependency > > > alexaClientSDK::acsdkManufactory::test::getOptional ()
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_missingOptionalImportUsesEmptyObject)
 
 alexaClientSDK::acsdkManufactory::test::TEST_F (ManufactoryTest, test_withOptionalImportUsesProvidedImplementation)
 

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