TwiceAsNice
2019-02-18
|
#include <boost/test/unit_test.hpp>
#include <stdexcept>
#include "PlinkPowerMeterImpl.hpp"
#include "PowerMeterException.hpp"
#include "SerialLineFake.hpp"
Classes | |
class | basda::gentec::TestablePlinkPowerMeterImpl |
struct | Fixture |
class | Fixture::ReadingFromSerialLineResult |
Namespaces | |
basda | |
class TestOpencvApp | |
basda::gentec | |
Functions | |
BOOST_FIXTURE_TEST_SUITE (PlinkPowerMeters, Fixture) | |
BOOST_AUTO_TEST_CASE (ShouldProvideValidMeasuredPowerAfterConstruction) | |
BOOST_AUTO_TEST_CASE (ShouldSetWavelengthTo532nm) | |
BOOST_AUTO_TEST_CASE (ShouldSetMaximumAnalogOutputPowerTo70Watt) | |
BOOST_AUTO_TEST_CASE (ShouldReadCurrentPower) | |
BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenNoAckArrivedWhileMeasuring) | |
BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenNoValidMeasurementArrives) | |
BOOST_AUTO_TEST_CASE (ShouldThrowExceptionWhenCommandIsNotTransferredCompletely) | |
BOOST_AUTO_TEST_CASE (ShouldReset) | |
BOOST_AUTO_TEST_CASE (ShouldReportAccessibility) | |
BOOST_AUTO_TEST_CASE (ShouldReportUnreachabilityWhenResponseIsMissing) | |
BOOST_AUTO_TEST_CASE (ShouldReportUnreachabilityInCaseOfException) | |
BOOST_AUTO_TEST_CASE (ShouldForwardExceptionsWhenReadingFromSerialLineFails) | |
BOOST_AUTO_TEST_CASE (ShouldForwardExceptionsWhenWritingFromSerialLineFails) | |
BOOST_AUTO_TEST_SUITE_END () | |
BOOST_AUTO_TEST_CASE | ( | ShouldProvideValidMeasuredPowerAfterConstruction | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldSetWavelengthTo532nm | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldSetMaximumAnalogOutputPowerTo70Watt | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldReadCurrentPower | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldThrowExceptionWhenNoAckArrivedWhileMeasuring | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldThrowExceptionWhenNoValidMeasurementArrives | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldThrowExceptionWhenCommandIsNotTransferredCompletely | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldReset | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldReportAccessibility | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldReportUnreachabilityWhenResponseIsMissing | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldReportUnreachabilityInCaseOfException | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldForwardExceptionsWhenReadingFromSerialLineFails | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldForwardExceptionsWhenWritingFromSerialLineFails | ) |
BOOST_AUTO_TEST_SUITE_END | ( | ) |
BOOST_FIXTURE_TEST_SUITE | ( | PlinkPowerMeters | , |
Fixture | |||
) |