TwiceAsNice
2019-02-18
|
#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"
Classes | |
class | mpia::DummyNiceApplication |
class | mpia::PowerMeterDeviceFake |
class | mpia::TestablePowerMeterServiceWorker |
struct | Fixture |
Namespaces | |
mpia | |
Typedefs | |
typedef IceUtil::Handle< PowerMeterDeviceFake > | mpia::PowerMeterDeviceFakePtr |
typedef IceUtil::Handle< TestablePowerMeterServiceWorker > | mpia::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 () | |
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 | ( | ) |
BOOST_FIXTURE_TEST_SUITE | ( | PowerMeterServiceWorkers | , |
Fixture | |||
) |