Classes | Macros | Functions
cpp/common/timer_test.cc File Reference
#include "src/core/lib/iomgr/timer.h"
#include <gtest/gtest.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/timer_manager.h"
#include "test/core/util/test_config.h"
Include dependency graph for cpp/common/timer_test.cc:

Go to the source code of this file.

Classes

class  TimerTest
 

Macros

#define MAYBE_SKIP_TEST
 

Functions

int main (int argc, char **argv)
 
 TEST_F (TimerTest, CancelSomeTimers)
 
 TEST_F (TimerTest, DISABLED_CancelNextTimer)
 
 TEST_F (TimerTest, DISABLED_CancelRace)
 
 TEST_F (TimerTest, DISABLED_TimerNotCanceled)
 
 TEST_F (TimerTest, MultipleTimersExpire)
 
 TEST_F (TimerTest, NoTimers)
 
 TEST_F (TimerTest, OneTimerExpires)
 

Macro Definition Documentation

◆ MAYBE_SKIP_TEST

#define MAYBE_SKIP_TEST
Value:
do { \
if (do_not_test_) { \
return; \
} \
} while (0)

Definition at line 39 of file cpp/common/timer_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 243 of file cpp/common/timer_test.cc.

◆ TEST_F() [1/7]

TEST_F ( TimerTest  ,
CancelSomeTimers   
)

Definition at line 138 of file cpp/common/timer_test.cc.

◆ TEST_F() [2/7]

TEST_F ( TimerTest  ,
DISABLED_CancelNextTimer   
)

Definition at line 212 of file cpp/common/timer_test.cc.

◆ TEST_F() [3/7]

TEST_F ( TimerTest  ,
DISABLED_CancelRace   
)

Definition at line 188 of file cpp/common/timer_test.cc.

◆ TEST_F() [4/7]

TEST_F ( TimerTest  ,
DISABLED_TimerNotCanceled   
)

Definition at line 176 of file cpp/common/timer_test.cc.

◆ TEST_F() [5/7]

TEST_F ( TimerTest  ,
MultipleTimersExpire   
)

Definition at line 108 of file cpp/common/timer_test.cc.

◆ TEST_F() [6/7]

TEST_F ( TimerTest  ,
NoTimers   
)

Definition at line 71 of file cpp/common/timer_test.cc.

◆ TEST_F() [7/7]

TEST_F ( TimerTest  ,
OneTimerExpires   
)

Definition at line 83 of file cpp/common/timer_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:35