TwiceAsNice  2019-02-18
Classes | Namespaces | Typedefs | Functions
WebSocketTest.cc File Reference
#include <boost/shared_ptr.hpp>
#include <boost/test/unit_test.hpp>
#include "WuT/WebSocket/WebSocketImpl.h"
#include "WuT/WebSocket/WebSocketException.h"
Include dependency graph for WebSocketTest.cc:

Classes

class  test::FakeWutSocket
 
struct  Fixture
 

Namespaces

 test
 

Typedefs

typedef boost::shared_ptr< FakeWutSockettest::FakeWutSocketPtr
 

Functions

 BOOST_FIXTURE_TEST_SUITE (WebSockets, Fixture)
 
 BOOST_AUTO_TEST_CASE (SocketExceptionMesssage)
 
 BOOST_AUTO_TEST_CASE (ShouldBeConstructable)
 
 BOOST_AUTO_TEST_CASE (ShouldNotBeConstructableWhenConnectionFails)
 
 BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenDataTransmissionFails)
 
 BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenDataReceptionFails)
 
 BOOST_AUTO_TEST_CASE (ShouldSucceedWhenNetworkCommunicationSucceeds)
 
 BOOST_AUTO_TEST_CASE (ShouldRetrieveActiveOutputStatus)
 
 BOOST_AUTO_TEST_CASE (ShouldRetrieveInactiveOutputStatus)
 
 BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenReceivingWrongResponse)
 
 BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenReceivingInvalidState)
 
 BOOST_AUTO_TEST_CASE (ShouldHaveUsableNullObject)
 
 BOOST_AUTO_TEST_SUITE_END ()
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/11]

BOOST_AUTO_TEST_CASE ( SocketExceptionMesssage  )

◆ BOOST_AUTO_TEST_CASE() [2/11]

BOOST_AUTO_TEST_CASE ( ShouldBeConstructable  )

◆ BOOST_AUTO_TEST_CASE() [3/11]

BOOST_AUTO_TEST_CASE ( ShouldNotBeConstructableWhenConnectionFails  )

◆ BOOST_AUTO_TEST_CASE() [4/11]

BOOST_AUTO_TEST_CASE ( ShouldThrowExceptionWhenDataTransmissionFails  )

◆ BOOST_AUTO_TEST_CASE() [5/11]

BOOST_AUTO_TEST_CASE ( ShouldThrowExceptionWhenDataReceptionFails  )

◆ BOOST_AUTO_TEST_CASE() [6/11]

BOOST_AUTO_TEST_CASE ( ShouldSucceedWhenNetworkCommunicationSucceeds  )

◆ BOOST_AUTO_TEST_CASE() [7/11]

BOOST_AUTO_TEST_CASE ( ShouldRetrieveActiveOutputStatus  )

◆ BOOST_AUTO_TEST_CASE() [8/11]

BOOST_AUTO_TEST_CASE ( ShouldRetrieveInactiveOutputStatus  )

◆ BOOST_AUTO_TEST_CASE() [9/11]

BOOST_AUTO_TEST_CASE ( ShouldThrowExceptionWhenReceivingWrongResponse  )

◆ BOOST_AUTO_TEST_CASE() [10/11]

BOOST_AUTO_TEST_CASE ( ShouldThrowExceptionWhenReceivingInvalidState  )

◆ BOOST_AUTO_TEST_CASE() [11/11]

BOOST_AUTO_TEST_CASE ( ShouldHaveUsableNullObject  )

◆ BOOST_AUTO_TEST_SUITE_END()

BOOST_AUTO_TEST_SUITE_END ( )

◆ BOOST_FIXTURE_TEST_SUITE()

BOOST_FIXTURE_TEST_SUITE ( WebSockets  ,
Fixture   
)