Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestURIUtils.cpp File Reference
#include "ServiceBroker.h"
#include "URL.h"
#include "filesystem/MultiPathDirectory.h"
#include "settings/AdvancedSettings.h"
#include "settings/SettingsComponent.h"
#include "utils/URIUtils.h"
#include <utility>
#include <gtest/gtest.h>

Classes

class  TestURIUtils
 

Functions

 TEST_F (TestURIUtils, PathHasParent)
 
 TEST_F (TestURIUtils, GetDirectory)
 
 TEST_F (TestURIUtils, GetExtension)
 
 TEST_F (TestURIUtils, HasExtension)
 
 TEST_F (TestURIUtils, GetFileName)
 
 TEST_F (TestURIUtils, RemoveExtension)
 
 TEST_F (TestURIUtils, ReplaceExtension)
 
 TEST_F (TestURIUtils, Split)
 
 TEST_F (TestURIUtils, SplitPath)
 
 TEST_F (TestURIUtils, SplitPathLocal)
 
 TEST_F (TestURIUtils, GetCommonPath)
 
 TEST_F (TestURIUtils, GetParentPath)
 
 TEST_F (TestURIUtils, GetBasePath)
 
 TEST_F (TestURIUtils, SubstitutePath)
 
 TEST_F (TestURIUtils, IsAddonsPath)
 
 TEST_F (TestURIUtils, IsSourcesPath)
 
 TEST_F (TestURIUtils, IsCDDA)
 
 TEST_F (TestURIUtils, IsDOSPath)
 
 TEST_F (TestURIUtils, IsDVD)
 
 TEST_F (TestURIUtils, IsFTP)
 
 TEST_F (TestURIUtils, IsHD)
 
 TEST_F (TestURIUtils, IsInArchive)
 
 TEST_F (TestURIUtils, IsInRAR)
 
 TEST_F (TestURIUtils, IsInternetStream)
 
 TEST_F (TestURIUtils, IsInZIP)
 
 TEST_F (TestURIUtils, IsISO9660)
 
 TEST_F (TestURIUtils, IsLiveTV)
 
 TEST_F (TestURIUtils, IsPVRRadioChannel)
 
 TEST_F (TestURIUtils, IsMultiPath)
 
 TEST_F (TestURIUtils, IsMusicDb)
 
 TEST_F (TestURIUtils, IsNfs)
 
 TEST_F (TestURIUtils, IsOnDVD)
 
 TEST_F (TestURIUtils, IsOnLAN)
 
 TEST_F (TestURIUtils, IsPlugin)
 
 TEST_F (TestURIUtils, IsScript)
 
 TEST_F (TestURIUtils, IsRAR)
 
 TEST_F (TestURIUtils, IsRemote)
 
 TEST_F (TestURIUtils, IsSmb)
 
 TEST_F (TestURIUtils, IsSpecial)
 
 TEST_F (TestURIUtils, IsStack)
 
 TEST_F (TestURIUtils, IsUPnP)
 
 TEST_F (TestURIUtils, IsURL)
 
 TEST_F (TestURIUtils, IsVideoDb)
 
 TEST_F (TestURIUtils, IsZIP)
 
 TEST_F (TestURIUtils, IsBlurayPath)
 
 TEST_F (TestURIUtils, AddSlashAtEnd)
 
 TEST_F (TestURIUtils, HasSlashAtEnd)
 
 TEST_F (TestURIUtils, RemoveSlashAtEnd)
 
 TEST_F (TestURIUtils, CreateArchivePath)
 
 TEST_F (TestURIUtils, AddFileToFolder)
 
 TEST_F (TestURIUtils, HasParentInHostname)
 
 TEST_F (TestURIUtils, HasEncodedHostname)
 
 TEST_F (TestURIUtils, HasEncodedFilename)
 
 TEST_F (TestURIUtils, GetRealPath)
 
 TEST_F (TestURIUtils, UpdateUrlEncoding)
 
 TEST_F (TestURIUtils, ContainersEncodeHostnamePaths)
 

Function Documentation

◆ TEST_F() [1/56]

TEST_F ( TestURIUtils  ,
AddFileToFolder   
)

◆ TEST_F() [2/56]

TEST_F ( TestURIUtils  ,
AddSlashAtEnd   
)

◆ TEST_F() [3/56]

TEST_F ( TestURIUtils  ,
ContainersEncodeHostnamePaths   
)

◆ TEST_F() [4/56]

TEST_F ( TestURIUtils  ,
CreateArchivePath   
)

◆ TEST_F() [5/56]

TEST_F ( TestURIUtils  ,
GetBasePath   
)

◆ TEST_F() [6/56]

TEST_F ( TestURIUtils  ,
GetCommonPath   
)

◆ TEST_F() [7/56]

TEST_F ( TestURIUtils  ,
GetDirectory   
)

◆ TEST_F() [8/56]

TEST_F ( TestURIUtils  ,
GetExtension   
)

◆ TEST_F() [9/56]

TEST_F ( TestURIUtils  ,
GetFileName   
)

◆ TEST_F() [10/56]

TEST_F ( TestURIUtils  ,
GetParentPath   
)

◆ TEST_F() [11/56]

TEST_F ( TestURIUtils  ,
GetRealPath   
)

◆ TEST_F() [12/56]

TEST_F ( TestURIUtils  ,
HasEncodedFilename   
)

◆ TEST_F() [13/56]

TEST_F ( TestURIUtils  ,
HasEncodedHostname   
)

◆ TEST_F() [14/56]

TEST_F ( TestURIUtils  ,
HasExtension   
)

◆ TEST_F() [15/56]

TEST_F ( TestURIUtils  ,
HasParentInHostname   
)

◆ TEST_F() [16/56]

TEST_F ( TestURIUtils  ,
HasSlashAtEnd   
)

◆ TEST_F() [17/56]

TEST_F ( TestURIUtils  ,
IsAddonsPath   
)

◆ TEST_F() [18/56]

TEST_F ( TestURIUtils  ,
IsBlurayPath   
)

◆ TEST_F() [19/56]

TEST_F ( TestURIUtils  ,
IsCDDA   
)

◆ TEST_F() [20/56]

TEST_F ( TestURIUtils  ,
IsDOSPath   
)

◆ TEST_F() [21/56]

TEST_F ( TestURIUtils  ,
IsDVD   
)

◆ TEST_F() [22/56]

TEST_F ( TestURIUtils  ,
IsFTP   
)

◆ TEST_F() [23/56]

TEST_F ( TestURIUtils  ,
IsHD   
)

◆ TEST_F() [24/56]

TEST_F ( TestURIUtils  ,
IsInArchive   
)

◆ TEST_F() [25/56]

TEST_F ( TestURIUtils  ,
IsInRAR   
)

◆ TEST_F() [26/56]

TEST_F ( TestURIUtils  ,
IsInternetStream   
)

◆ TEST_F() [27/56]

TEST_F ( TestURIUtils  ,
IsInZIP   
)

◆ TEST_F() [28/56]

TEST_F ( TestURIUtils  ,
IsISO9660   
)

◆ TEST_F() [29/56]

TEST_F ( TestURIUtils  ,
IsLiveTV   
)

◆ TEST_F() [30/56]

TEST_F ( TestURIUtils  ,
IsMultiPath   
)

◆ TEST_F() [31/56]

TEST_F ( TestURIUtils  ,
IsMusicDb   
)

◆ TEST_F() [32/56]

TEST_F ( TestURIUtils  ,
IsNfs   
)

◆ TEST_F() [33/56]

TEST_F ( TestURIUtils  ,
IsOnDVD   
)

◆ TEST_F() [34/56]

TEST_F ( TestURIUtils  ,
IsOnLAN   
)

◆ TEST_F() [35/56]

TEST_F ( TestURIUtils  ,
IsPlugin   
)

◆ TEST_F() [36/56]

TEST_F ( TestURIUtils  ,
IsPVRRadioChannel   
)

◆ TEST_F() [37/56]

TEST_F ( TestURIUtils  ,
IsRAR   
)

◆ TEST_F() [38/56]

TEST_F ( TestURIUtils  ,
IsRemote   
)

◆ TEST_F() [39/56]

TEST_F ( TestURIUtils  ,
IsScript   
)

◆ TEST_F() [40/56]

TEST_F ( TestURIUtils  ,
IsSmb   
)

◆ TEST_F() [41/56]

TEST_F ( TestURIUtils  ,
IsSourcesPath   
)

◆ TEST_F() [42/56]

TEST_F ( TestURIUtils  ,
IsSpecial   
)

◆ TEST_F() [43/56]

TEST_F ( TestURIUtils  ,
IsStack   
)

◆ TEST_F() [44/56]

TEST_F ( TestURIUtils  ,
IsUPnP   
)

◆ TEST_F() [45/56]

TEST_F ( TestURIUtils  ,
IsURL   
)

◆ TEST_F() [46/56]

TEST_F ( TestURIUtils  ,
IsVideoDb   
)

◆ TEST_F() [47/56]

TEST_F ( TestURIUtils  ,
IsZIP   
)

◆ TEST_F() [48/56]

TEST_F ( TestURIUtils  ,
PathHasParent   
)

◆ TEST_F() [49/56]

TEST_F ( TestURIUtils  ,
RemoveExtension   
)

◆ TEST_F() [50/56]

TEST_F ( TestURIUtils  ,
RemoveSlashAtEnd   
)

◆ TEST_F() [51/56]

TEST_F ( TestURIUtils  ,
ReplaceExtension   
)

◆ TEST_F() [52/56]

TEST_F ( TestURIUtils  ,
Split   
)

◆ TEST_F() [53/56]

TEST_F ( TestURIUtils  ,
SplitPath   
)

◆ TEST_F() [54/56]

TEST_F ( TestURIUtils  ,
SplitPathLocal   
)

◆ TEST_F() [55/56]

TEST_F ( TestURIUtils  ,
SubstitutePath   
)

◆ TEST_F() [56/56]

TEST_F ( TestURIUtils  ,
UpdateUrlEncoding   
)