AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
M3UParserTest.cpp File Reference
#include <string>
#include <gtest/gtest.h>
#include "PlaylistParser/M3UParser.h"
Include dependency graph for M3UParserTest.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::playlistParser
 
 alexaClientSDK::playlistParser::test
 

Functions

void alexaClientSDK::playlistParser::test::matchEncryptionInfo (const EncryptionInfo &lhs, const EncryptionInfo &rhs)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyNoMethod)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyMethodNone)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyMissingKeyURL)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyUnknownMethod)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyURLClosingQuote)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyValidURL)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyValidInitVector)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseMediaSequence)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseMediaSequenceNoSpace)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseEmptyMediaSequence)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseManySpacesMediaSequence)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseInvalidMediaSequence)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseKeyEncryptionInfo)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseByteRange)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseByteRangeMissingColon)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseByteRangeMissingAt)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseByteRangeNonDecimal)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_hLSParseByteRange)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseMAPMissingURL)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseMAPValidURL)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_parseMAPValidByteRange)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_hLSParseMAP)
 
 alexaClientSDK::playlistParser::test::TEST (M3UParserTest, test_masterPlaylist)
 

Variables

static const auto alexaClientSDK::playlistParser::test::noEncryption = EncryptionInfo()
 Default encryption info (EncryptionInfo::Method::NONE). More...
 
static const ByteRange alexaClientSDK::playlistParser::test::defaultByteRange {0, 0}
 Default byte range. More...
 
static const std::string alexaClientSDK::playlistParser::test::EXT_M3U_HEADER = "#EXTM3U\n"
 Header for HLS playlist. More...
 
static const std::string alexaClientSDK::playlistParser::test::MEDIA_URL = "https://www.amazon.com/audio.aac"
 Test media URL. More...
 
static const std::string alexaClientSDK::playlistParser::test::PLAYLIST_URL = "https://www.amazon.com/playlist.m3u8"
 Test HLS playlist URL. More...
 
static const std::string alexaClientSDK::playlistParser::test::MASTER_PLAYLIST_URL = "https://www.amazon.com/master-playlist.m3u8"
 Test master playlist URL. More...
 

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0