TwiceAsNice  2019-02-18
Classes | Namespaces | Typedefs | Functions
PowerMeterServiceWorkerTest.cc File Reference
#include <boost/test/unit_test.hpp>
#include <string>
#include <set>
#include <map>
#include <Nice/Application.h>
#include <Nice/Property.h>
#include <Nice/Property/Joint.h>
#include "PowerMeterServiceWorker.hpp"
Include dependency graph for PowerMeterServiceWorkerTest.cc:

Classes

class  mpia::DummyNiceApplication
 
class  mpia::PowerMeterDeviceFake
 
class  mpia::TestablePowerMeterServiceWorker
 
struct  Fixture
 

Namespaces

 mpia
 

Typedefs

typedef IceUtil::Handle< PowerMeterDeviceFakempia::PowerMeterDeviceFakePtr
 
typedef IceUtil::Handle< TestablePowerMeterServiceWorkermpia::TestablePowerMeterServiceWorkerPtr
 

Functions

 BOOST_FIXTURE_TEST_SUITE (PowerMeterServiceWorkers, Fixture)
 
 BOOST_AUTO_TEST_CASE (ShouldHaveSimpleCreation)
 
 BOOST_AUTO_TEST_CASE (ShouldInsertWorkIntervalPropertyWhenConstructed)
 
 BOOST_AUTO_TEST_CASE (ShouldKeepDevicesUntouchedWhenConstructed)
 
 BOOST_AUTO_TEST_CASE (ShouldInvokeInitAndOpenForEachDeviceWhenInitialized)
 
 BOOST_AUTO_TEST_CASE (ShouldDeinitAndCloseEachDeviceWhenResetted)
 
 BOOST_AUTO_TEST_CASE (ShouldActivateDeviceWhenActivated)
 
 BOOST_AUTO_TEST_CASE (ShouldDeactivateDeviceWhenDeactivated)
 
 BOOST_AUTO_TEST_CASE (ShouldMeasurePowerFromEachDeviceWhenWorking)
 
 BOOST_AUTO_TEST_CASE (ShouldCheckForReachabilityWhenWorking)
 
 BOOST_AUTO_TEST_CASE (ShouldConsiderPropertyWhenSleepingInIdle)
 
 BOOST_AUTO_TEST_SUITE_END ()
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/10]

BOOST_AUTO_TEST_CASE ( ShouldHaveSimpleCreation  )

◆ BOOST_AUTO_TEST_CASE() [2/10]

BOOST_AUTO_TEST_CASE ( ShouldInsertWorkIntervalPropertyWhenConstructed  )

◆ BOOST_AUTO_TEST_CASE() [3/10]

BOOST_AUTO_TEST_CASE ( ShouldKeepDevicesUntouchedWhenConstructed  )

◆ BOOST_AUTO_TEST_CASE() [4/10]

BOOST_AUTO_TEST_CASE ( ShouldInvokeInitAndOpenForEachDeviceWhenInitialized  )

◆ BOOST_AUTO_TEST_CASE() [5/10]

BOOST_AUTO_TEST_CASE ( ShouldDeinitAndCloseEachDeviceWhenResetted  )

◆ BOOST_AUTO_TEST_CASE() [6/10]

BOOST_AUTO_TEST_CASE ( ShouldActivateDeviceWhenActivated  )

◆ BOOST_AUTO_TEST_CASE() [7/10]

BOOST_AUTO_TEST_CASE ( ShouldDeactivateDeviceWhenDeactivated  )

◆ BOOST_AUTO_TEST_CASE() [8/10]

BOOST_AUTO_TEST_CASE ( ShouldMeasurePowerFromEachDeviceWhenWorking  )

◆ BOOST_AUTO_TEST_CASE() [9/10]

BOOST_AUTO_TEST_CASE ( ShouldCheckForReachabilityWhenWorking  )

◆ BOOST_AUTO_TEST_CASE() [10/10]

BOOST_AUTO_TEST_CASE ( ShouldConsiderPropertyWhenSleepingInIdle  )

◆ BOOST_AUTO_TEST_SUITE_END()

BOOST_AUTO_TEST_SUITE_END ( )

◆ BOOST_FIXTURE_TEST_SUITE()

BOOST_FIXTURE_TEST_SUITE ( PowerMeterServiceWorkers  ,
Fixture   
)