Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestHttpRangeUtils.cpp File Reference
#include "utils/HttpRangeUtils.h"
#include <gtest/gtest.h>

Macros

#define RANGES_START   "bytes="
 

Functions

 TEST (TestHttpRange, FirstPosition)
 
 TEST (TestHttpRange, LastPosition)
 
 TEST (TestHttpRange, Length)
 
 TEST (TestHttpRange, IsValid)
 
 TEST (TestHttpRange, Ctor)
 
 TEST (TestHttpResponseRange, SetData)
 
 TEST (TestHttpRanges, Ctor)
 
 TEST (TestHttpRanges, GetAll)
 
 TEST (TestHttpRanges, GetIndex)
 
 TEST (TestHttpRanges, GetFirst)
 
 TEST (TestHttpRanges, GetLast)
 
 TEST (TestHttpRanges, Size)
 
 TEST (TestHttpRanges, GetFirstPosition)
 
 TEST (TestHttpRanges, GetLastPosition)
 
 TEST (TestHttpRanges, GetLength)
 
 TEST (TestHttpRanges, GetTotalRange)
 
 TEST (TestHttpRanges, Add)
 
 TEST (TestHttpRanges, Remove)
 
 TEST (TestHttpRanges, Clear)
 
 TEST (TestHttpRanges, ParseInvalid)
 
 TEST (TestHttpRanges, ParseStartOnly)
 
 TEST (TestHttpRanges, ParseFromEnd)
 
 TEST (TestHttpRanges, ParseSingle)
 
 TEST (TestHttpRanges, ParseMulti)
 
 TEST (TestHttpRanges, ParseOrderedNotOverlapping)
 
 TEST (TestHttpRanges, ParseOrderedBackToBack)
 
 TEST (TestHttpRanges, ParseOrderedOverlapping)
 
 TEST (TestHttpRanges, ParseUnorderedNotOverlapping)
 
 TEST (TestHttpRanges, ParseUnorderedBackToBack)
 
 TEST (TestHttpRanges, ParseUnorderedOverlapping)
 

Macro Definition Documentation

◆ RANGES_START

#define RANGES_START   "bytes="

Function Documentation

◆ TEST() [1/30]

TEST ( TestHttpRange ,
Ctor  )

◆ TEST() [2/30]

TEST ( TestHttpRange ,
FirstPosition  )

◆ TEST() [3/30]

TEST ( TestHttpRange ,
IsValid  )

◆ TEST() [4/30]

TEST ( TestHttpRange ,
LastPosition  )

◆ TEST() [5/30]

TEST ( TestHttpRange ,
Length  )

◆ TEST() [6/30]

TEST ( TestHttpRanges ,
Add  )

◆ TEST() [7/30]

TEST ( TestHttpRanges ,
Clear  )

◆ TEST() [8/30]

TEST ( TestHttpRanges ,
Ctor  )

◆ TEST() [9/30]

TEST ( TestHttpRanges ,
GetAll  )

◆ TEST() [10/30]

TEST ( TestHttpRanges ,
GetFirst  )

◆ TEST() [11/30]

TEST ( TestHttpRanges ,
GetFirstPosition  )

◆ TEST() [12/30]

TEST ( TestHttpRanges ,
GetIndex  )

◆ TEST() [13/30]

TEST ( TestHttpRanges ,
GetLast  )

◆ TEST() [14/30]

TEST ( TestHttpRanges ,
GetLastPosition  )

◆ TEST() [15/30]

TEST ( TestHttpRanges ,
GetLength  )

◆ TEST() [16/30]

TEST ( TestHttpRanges ,
GetTotalRange  )

◆ TEST() [17/30]

TEST ( TestHttpRanges ,
ParseFromEnd  )

◆ TEST() [18/30]

TEST ( TestHttpRanges ,
ParseInvalid  )

◆ TEST() [19/30]

TEST ( TestHttpRanges ,
ParseMulti  )

◆ TEST() [20/30]

TEST ( TestHttpRanges ,
ParseOrderedBackToBack  )

◆ TEST() [21/30]

TEST ( TestHttpRanges ,
ParseOrderedNotOverlapping  )

◆ TEST() [22/30]

TEST ( TestHttpRanges ,
ParseOrderedOverlapping  )

◆ TEST() [23/30]

TEST ( TestHttpRanges ,
ParseSingle  )

◆ TEST() [24/30]

TEST ( TestHttpRanges ,
ParseStartOnly  )

◆ TEST() [25/30]

TEST ( TestHttpRanges ,
ParseUnorderedBackToBack  )

◆ TEST() [26/30]

TEST ( TestHttpRanges ,
ParseUnorderedNotOverlapping  )

◆ TEST() [27/30]

TEST ( TestHttpRanges ,
ParseUnorderedOverlapping  )

◆ TEST() [28/30]

TEST ( TestHttpRanges ,
Remove  )

◆ TEST() [29/30]

TEST ( TestHttpRanges ,
Size  )

◆ TEST() [30/30]

TEST ( TestHttpResponseRange ,
SetData  )