Pact C++ Consumer DSL
0.0.7
DSL to support writing consumer tests in C++
|
#include <consumer.h>
Public Member Functions | |
MockServerHandle (PactHandle) | |
~MockServerHandle () | |
bool | started_ok () const |
std::string | get_url () const |
int32_t | get_port () const |
Mock server handle to the mock server started for the test
pact_consumer::MockServerHandle::MockServerHandle | ( | PactHandle | pact | ) |
pact_consumer::MockServerHandle::~MockServerHandle | ( | ) |
int32_t pact_consumer::MockServerHandle::get_port | ( | ) | const |
The port the mock server is running on
std::string pact_consumer::MockServerHandle::get_url | ( | ) | const |
The URL to the mock server
bool pact_consumer::MockServerHandle::started_ok | ( | ) | const |
Indicates the mock server was started ok