Pact C++ Consumer DSL  0.0.7
DSL to support writing consumer tests in C++
Public Member Functions | List of all members
pact_consumer::MockServerHandle Class Reference

#include <consumer.h>

Public Member Functions

 MockServerHandle (PactHandle)
 
 ~MockServerHandle ()
 
bool started_ok () const
 
std::string get_url () const
 
int32_t get_port () const
 

Detailed Description

Mock server handle to the mock server started for the test

Constructor & Destructor Documentation

◆ MockServerHandle()

pact_consumer::MockServerHandle::MockServerHandle ( PactHandle  pact)

◆ ~MockServerHandle()

pact_consumer::MockServerHandle::~MockServerHandle ( )

Member Function Documentation

◆ get_port()

int32_t pact_consumer::MockServerHandle::get_port ( ) const

The port the mock server is running on

◆ get_url()

std::string pact_consumer::MockServerHandle::get_url ( ) const

The URL to the mock server

◆ started_ok()

bool pact_consumer::MockServerHandle::started_ok ( ) const

Indicates the mock server was started ok


The documentation for this class was generated from the following files: