Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestVideoUtils.cpp File Reference
#include "FileItem.h"
#include "Util.h"
#include "filesystem/Directory.h"
#include "platform/Filesystem.h"
#include "utils/FileUtils.h"
#include "utils/URIUtils.h"
#include "video/VideoUtils.h"
#include <array>
#include <fstream>
#include <gtest/gtest.h>

Classes

class  OpticalMediaPathTest
 

Typedefs

using OptDef = std::pair<std::string, bool>
 

Functions

 TEST_P (OpticalMediaPathTest, GetOpticalMediaPath)
 
 INSTANTIATE_TEST_SUITE_P (TestVideoUtils, OpticalMediaPathTest, testing::ValuesIn(mediapath_tests))
 

Variables

const auto mediapath_tests
 

Typedef Documentation

◆ OptDef

using OptDef = std::pair<std::string, bool>

Function Documentation

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( TestVideoUtils ,
OpticalMediaPathTest ,
testing::ValuesIn(mediapath_tests)  )

◆ TEST_P()

TEST_P ( OpticalMediaPathTest ,
GetOpticalMediaPath  )

Variable Documentation

◆ mediapath_tests

const auto mediapath_tests
Initial value:
= std::array{
OptDef{"VIDEO_TS.IFO", true}, OptDef{"VIDEO_TS/VIDEO_TS.IFO", true},
OptDef{"some.file", false},
}
std::pair< std::string, bool > OptDef
Definition TestVideoUtils.cpp:25