Functions | Variables
unit1606.c File Reference
#include "curlcheck.h"
#include "speedcheck.h"
#include "urldata.h"
Include dependency graph for unit1606.c:

Go to the source code of this file.

Functions

UNITTEST_START fail_unless (runawhile(41, 41, 40, 0)==41,"wrong low speed timeout")
 
 fail_unless (runawhile(21, 21, 20, 0)==21,"wrong low speed timeout")
 
 fail_unless (runawhile(60, 60, 40, 0)==60,"wrong log speed timeout")
 
 fail_unless (runawhile(50, 50, 40, 0)==50,"wrong log speed timeout")
 
 fail_unless (runawhile(40, 40, 40, 0)==99,"should not time out")
 
 fail_unless (runawhile(10, 50, 100, 2)==36,"bad timeout")
 
static int runawhile (long time_limit, long speed_limit, curl_off_t speed, int dec)
 
static CURLcode unit_setup (void)
 
static void unit_stop (void)
 

Variables

static CURLeasy
 

Function Documentation

UNITTEST_START fail_unless ( runawhile(41, 41, 40, 0)  = =41,
"wrong low speed timeout  
)
fail_unless ( runawhile(21, 21, 20, 0)  = =21,
"wrong low speed timeout  
)
fail_unless ( runawhile(60, 60, 40, 0)  = =60,
"wrong log speed timeout  
)
fail_unless ( runawhile(50, 50, 40, 0)  = =50,
"wrong log speed timeout  
)
fail_unless ( runawhile(40, 40, 40, 0)  = =99,
"should not time out"   
)
fail_unless ( runawhile(10, 50, 100, 2)  = =36,
"bad timeout  
)
static int runawhile ( long  time_limit,
long  speed_limit,
curl_off_t  speed,
int  dec 
)
static

Definition at line 46 of file unit1606.c.

static CURLcode unit_setup ( void  )
static

Definition at line 29 of file unit1606.c.

static void unit_stop ( void  )
static

Definition at line 40 of file unit1606.c.

Variable Documentation

CURL* easy
static

Definition at line 27 of file unit1606.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17