httpmockserver
Classes | Namespaces
mock_holder.h File Reference
#include <memory>
#include <stdexcept>
#include <type_traits>
#include "mock_server.h"
Include dependency graph for mock_holder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  httpmock::MockServerHolder
 

Namespaces

 httpmock
 

Detailed Description

Provides MockServerHolder class, having interface required by the httpmock::TestEnvironment class. This holder is suitable to pass running instance of a MockServer into the TestEnvironment. This is not possible directly using MockServer itself, as it does not allow copy/move operations.