testEventLoop.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_TEST_EVENTLOOP_H
10 #define SQUID_SRC_TEST_EVENTLOOP_H
11 
12 #include "compat/cppunit.h"
13 
14 /*
15  * test the EventLoop implementation
16  */
17 
18 class testEventLoop : public CPPUNIT_NS::TestFixture
19 {
28 
29 protected:
30  void testCreate();
31  void testRunOnce();
32  void testEngineTimeout();
33  void testEngineErrors();
34  void testSetTimeService();
35  void testSetPrimaryEngine();
36  /* TODO:
37  * test that engine which errors a couple of times, then returns 0, then
38  * errors 10 times in a row triggers a fail on the 10th time around
39  */
40 };
41 
42 #endif
43 
CPPUNIT_TEST(testEngineTimeout)
CPPUNIT_TEST(testSetPrimaryEngine)
CPPUNIT_TEST(testSetTimeService)
void testEngineTimeout()
void testRunOnce()
void testSetTimeService()
CPPUNIT_TEST(testEngineErrors)
void testEngineErrors()
CPPUNIT_TEST_SUITE(testEventLoop)
CPPUNIT_TEST(testCreate)
void testSetPrimaryEngine()
CPPUNIT_TEST(testRunOnce)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors