DebugEpg

DebugEpg ⇐ Class

Kind: global class
Extends: Class
Singleton:

DebugEpg()

Utility class to check an Epg View.

checkEpgConsistency(epg)

Check given epg view.

Kind: static method of DebugEpg

ParamTypeDescription
epgEpgView

the epg view to check

_logResult()

Log the check result.

Kind: static method of DebugEpg

_checkChannelData(epg)

Check the consistency of the programs currently loaded in channels data.

Kind: static method of DebugEpg

ParamTypeDescription
epgEpgView

the epg view to check

__checkProgramTimesForFrame(epgView, channelData, frameIndex, allPrograms, lastProgramOfPreviousFrame) ⇒ Object

Check specific frame of one channel.

Kind: static method of DebugEpg
Returns: Object - the last program of the checked frame

ParamTypeDescription
epgViewEpgView

the epg view

channelDataObject

the data of the channel to check

frameIndexnumber

the index of the frame to check

allProgramsObject

a map storing the ids of all programs previously checked

lastProgramOfPreviousFrameObject

the last program of the previous frame for this channel (if any)

__checkFramePrograms(channelData, frameIndex, allPrograms) ⇒ Object

Check the programs of the specific frame of a channel.

Kind: static method of DebugEpg
Returns: Object - object with firstProgram and lastProgram in the given frame

ParamTypeDescription
channelDataObject

the data of the channel to check

frameIndexnumber

the index of the frame to check

allProgramsObject

a map storing the ids of all programs previously checked

_checkTileViews(epgView)

Check consistency of the tile views rendered in the epg grid view.

Kind: static method of DebugEpg

ParamTypeDescription
epgViewEpgView

the epg view to check

__analyseChannelsTiles(epgView, channelData)

Check the tile views of given channel.

Kind: static method of DebugEpg

ParamTypeDescription
epgViewEpgView

the epg view

channelDataObject

the channel data