RDK Documentation (Open Sourced RDK Components)
AampcliSmokeTest.h
Go to the documentation of this file.
1 /*
2  * If not stated otherwise in this file or this component's license file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2022 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 /**
21  * @file AampcliSmokeTest.h
22  * @brief AampcliSmokeTest header file
23  */
24 
25 #ifndef AAMPCLISMOKETEST_H
26 #define AAMPCLISMOKETEST_H
27 
28 #include "priv_aamp.h"
29 #include "AampcliCommandHandler.h"
30 
31 class SmokeTest : public Command {
32 
33  public:
34 
35  static std::map<std::string, std::string> smokeTestUrls;
36  void vodTune(const char *stream);
37  void liveTune(const char *stream);
38  void loadSmokeTestUrls();
39  bool createTestFilePath(std::string &filePath);
40  bool execute(char *cmd, PlayerInstanceAAMP *playerInstanceAamp);
41 };
42 
43 #endif // AAMPCLISMOKETEST_H
PlayerInstanceAAMP
Player interface class for the JS pluggin.
Definition: main_aamp.h:692
SmokeTest
Definition: AampcliSmokeTest.h:31
priv_aamp.h
Private functions and types used internally by AAMP.
AampcliCommandHandler.h
AampcliCommandHandler header file.
Command
Definition: AampcliCommandHandler.h:35