Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestPVREpgFields.cpp File Reference
#include "JSONRPCTestUtils.h"
#include "ServiceDescription.h"
#include "interfaces/json-rpc/PVREpgFields.h"
#include "utils/Variant.h"
#include <set>
#include <string>
#include <gtest/gtest.h>

Functions

 TEST (TestPVREpgFields, TranslateEpgCastGivesEveryEntryARoleAndAnOrder)
 
 TEST (TestPVREpgFields, TranslateEpgCastKeepsAnOnlyEntryAtOrderZero)
 
 TEST (TestPVREpgFields, TranslateEpgCastOfNothingIsAnEmptyArray)
 
 TEST (TestPVREpgFields, TranslateEpgCastSkipsEmptyNames)
 
 TEST_F (TestPVRBroadcastFields, EveryFieldTheSchemaOffersIsAnswered)
 

Function Documentation

◆ TEST() [1/4]

TEST ( TestPVREpgFields ,
TranslateEpgCastGivesEveryEntryARoleAndAnOrder  )

◆ TEST() [2/4]

TEST ( TestPVREpgFields ,
TranslateEpgCastKeepsAnOnlyEntryAtOrderZero  )

◆ TEST() [3/4]

TEST ( TestPVREpgFields ,
TranslateEpgCastOfNothingIsAnEmptyArray  )

◆ TEST() [4/4]

TEST ( TestPVREpgFields ,
TranslateEpgCastSkipsEmptyNames  )

◆ TEST_F()

TEST_F ( TestPVRBroadcastFields ,
EveryFieldTheSchemaOffersIsAnswered  )

The schema enum and BroadcastFields() must agree exactly; an empty set on either side is a lookup failure, not agreement.