1
0
Fork 0
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:
winlin 2014-07-20 15:27:05 +08:00
parent 6f743a2fe8
commit 9b6c22644d
2 changed files with 242 additions and 0 deletions

View file

@ -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