AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros
gtest-spi.h File Reference
#include "gtest/gtest.h"
Include dependency graph for gtest-spi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::ScopedFakeTestPartResultReporter
 
class  testing::internal::SingleFailureChecker
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define EXPECT_FATAL_FAILURE(statement, substr)
 
#define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr)
 
#define EXPECT_NONFATAL_FAILURE(statement, substr)
 
#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr)
 

Macro Definition Documentation

◆ EXPECT_FATAL_FAILURE

#define EXPECT_FATAL_FAILURE (   statement,
  substr 
)
Value:
do { \
class GTestExpectFatalFailureHelper {\
public:\
static void Execute() { statement; }\
};\
&gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
{\
INTERCEPT_ONLY_CURRENT_THREAD, &gtest_failures);\
GTestExpectFatalFailureHelper::Execute();\
}\
Definition: gtest-test-part.h:54
bool AlwaysFalse()
Definition: gtest-internal.h:736
Definition: gtest-test-part.h:126
Definition: gtest-spi.h:96

◆ EXPECT_FATAL_FAILURE_ON_ALL_THREADS

#define EXPECT_FATAL_FAILURE_ON_ALL_THREADS (   statement,
  substr 
)
Value:
do { \
class GTestExpectFatalFailureHelper {\
public:\
static void Execute() { statement; }\
};\
&gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
{\
INTERCEPT_ALL_THREADS, &gtest_failures);\
GTestExpectFatalFailureHelper::Execute();\
}\
Definition: gtest-test-part.h:54
bool AlwaysFalse()
Definition: gtest-internal.h:736
Definition: gtest-test-part.h:126
Definition: gtest-spi.h:96

◆ EXPECT_NONFATAL_FAILURE

#define EXPECT_NONFATAL_FAILURE (   statement,
  substr 
)
Value:
do {\
(substr));\
{\
INTERCEPT_ONLY_CURRENT_THREAD, &gtest_failures);\
if (::testing::internal::AlwaysTrue()) { statement; }\
}\
GTEST_API_ bool AlwaysTrue()
bool AlwaysFalse()
Definition: gtest-internal.h:736
Definition: gtest-test-part.h:53
Definition: gtest-test-part.h:126
Definition: gtest-spi.h:96

◆ EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS

#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS (   statement,
  substr 
)
Value:
do {\
(substr));\
{\
&gtest_failures);\
if (::testing::internal::AlwaysTrue()) { statement; }\
}\
GTEST_API_ bool AlwaysTrue()
bool AlwaysFalse()
Definition: gtest-internal.h:736
Definition: gtest-test-part.h:53
Definition: gtest-test-part.h:126
Definition: gtest-spi.h:96

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