AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Static Public Member Functions | Friends | List of all members
testing::UnitTest Class Reference

#include <gtest.h>

Public Member Functions

int Run () GTEST_MUST_USE_RESULT_
 
const char * original_working_dir () const
 
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
int random_seed () const
 
int successful_test_case_count () const
 
int failed_test_case_count () const
 
int total_test_case_count () const
 
int test_case_to_run_count () const
 
int successful_test_count () const
 
int failed_test_count () const
 
int reportable_disabled_test_count () const
 
int disabled_test_count () const
 
int reportable_test_count () const
 
int total_test_count () const
 
int test_to_run_count () const
 
TimeInMillis start_timestamp () const
 
TimeInMillis elapsed_time () const
 
bool Passed () const
 
bool Failed () const
 
const TestCaseGetTestCase (int i) const
 
const TestResultad_hoc_test_result () const
 
TestEventListenerslisteners ()
 

Static Public Member Functions

static UnitTestGetInstance ()
 

Friends

EnvironmentAddGlobalTestEnvironment (Environment *env)
 
internal::UnitTestImpl * internal::GetUnitTestImpl ()
 
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 

Member Function Documentation

◆ ad_hoc_test_result()

const TestResult& testing::UnitTest::ad_hoc_test_result ( ) const

◆ current_test_case()

const TestCase* testing::UnitTest::current_test_case ( ) const

◆ current_test_info()

const TestInfo* testing::UnitTest::current_test_info ( ) const

◆ disabled_test_count()

int testing::UnitTest::disabled_test_count ( ) const

◆ elapsed_time()

TimeInMillis testing::UnitTest::elapsed_time ( ) const

◆ Failed()

bool testing::UnitTest::Failed ( ) const

◆ failed_test_case_count()

int testing::UnitTest::failed_test_case_count ( ) const

◆ failed_test_count()

int testing::UnitTest::failed_test_count ( ) const

◆ GetInstance()

static UnitTest* testing::UnitTest::GetInstance ( )
static

◆ GetTestCase()

const TestCase* testing::UnitTest::GetTestCase ( int  i) const

◆ listeners()

TestEventListeners& testing::UnitTest::listeners ( )

◆ original_working_dir()

const char* testing::UnitTest::original_working_dir ( ) const

◆ Passed()

bool testing::UnitTest::Passed ( ) const

◆ random_seed()

int testing::UnitTest::random_seed ( ) const

◆ reportable_disabled_test_count()

int testing::UnitTest::reportable_disabled_test_count ( ) const

◆ reportable_test_count()

int testing::UnitTest::reportable_test_count ( ) const

◆ Run()

int testing::UnitTest::Run ( )

◆ start_timestamp()

TimeInMillis testing::UnitTest::start_timestamp ( ) const

◆ successful_test_case_count()

int testing::UnitTest::successful_test_case_count ( ) const

◆ successful_test_count()

int testing::UnitTest::successful_test_count ( ) const

◆ test_case_to_run_count()

int testing::UnitTest::test_case_to_run_count ( ) const

◆ test_to_run_count()

int testing::UnitTest::test_to_run_count ( ) const

◆ total_test_case_count()

int testing::UnitTest::total_test_case_count ( ) const

◆ total_test_count()

int testing::UnitTest::total_test_count ( ) const

Friends And Related Function Documentation

◆ AddGlobalTestEnvironment

Environment* AddGlobalTestEnvironment ( Environment env)
friend

◆ internal::GetUnitTestImpl

internal::UnitTestImpl* internal::GetUnitTestImpl ( )
friend

◆ internal::ReportFailureInUnknownLocation

void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend

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