mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add basic utest for config directive
This commit is contained in:
parent
6f743a2fe8
commit
9b6c22644d
2 changed files with 242 additions and 0 deletions
|
@ -31,4 +31,15 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <string>
|
||||
|
||||
#include <srs_app_config.hpp>
|
||||
|
||||
class MockSrsConfigBuffer : public _srs_internal::SrsConfigBuffer
|
||||
{
|
||||
public:
|
||||
MockSrsConfigBuffer(std::string buf);
|
||||
virtual ~MockSrsConfigBuffer();
|
||||
public:
|
||||
virtual int fullfill(const char* filename);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue