tsm 0.1.0
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
test_hsm.cpp File Reference
#include "tsm.h"
#include <catch2/catch_test_macros.hpp>
#include <iostream>
Include dependency graph for test_hsm.cpp:

Classes

struct  SwitchHsmContext
 
struct  SwitchHsmContext::Toggle
 
struct  SwitchHsmContext::Off
 
struct  SwitchHsmContext::On
 
struct  SwitchHsmContextWithActions
 
struct  SwitchHsmContextWithActions::Off
 
struct  SwitchHsmContextWithActions::On
 
struct  SwitchHsmContextWithActions::Toggle
 
struct  TrafficLight::LightContext::G1
 
struct  TrafficLight::LightContext::Y1
 
struct  TrafficLight::LightContext::G2
 
struct  TrafficLight::LightContext::Y2
 
struct  TrafficLight::EmergencyOverrideContext::BaseHandle
 
struct  TrafficLight::EmergencyOverrideContext::G1
 
struct  TrafficLight::EmergencyOverrideContext::Y1
 
struct  TrafficLight::EmergencyOverrideContext::G2
 
struct  TrafficLight::EmergencyOverrideContext::Y2
 
struct  TrafficLight::TrafficLightHsmContext::EmergencySwitchOn
 
struct  TrafficLight::TrafficLightHsmContext::EmergencySwitchOff
 
struct  CityStreet::Broadway
 
struct  TrafficLightAG::LightContext
 
struct  TrafficLightAG::LightContext::G1
 
struct  TrafficLightAG::LightContext::Y1
 
struct  TrafficLightAG::LightContext::G2
 
struct  TrafficLightAG::LightContext::Y2
 

Namespaces

namespace  TrafficLight
 
namespace  CityStreet
 
namespace  TrafficLightAG
 

Typedefs

using SwitchHsm = make_hsm_t< SwitchHsmContext >
 
using SwitchHsmWithActions = make_hsm_t< SwitchHsmContextWithActions >
 

Functions

 TEST_CASE ("SwitchHsm")
 
 TEST_CASE ("SwitchHsmWithActions")
 
 TEST_CASE ("TrafficLight")
 
 TEST_CASE ("TrafficLight with walk pressed")
 
 TEST_CASE ("TrafficLightHsm")
 
 TEST_CASE ("CityStreet")
 
 TEST_CASE ("Test SingleThreadedExecutionPolicy")
 
 TEST_CASE ("Test ThreadedExecutionPolicy")
 
 TEST_CASE ("Test RealtimeExecutionPolicy")
 
 TEST_CASE ("Test PeriodicExecutionPolicy")
 
 TEST_CASE ("TrafficLightAG")
 

Typedef Documentation

◆ SwitchHsm

◆ SwitchHsmWithActions

Function Documentation

◆ TEST_CASE() [1/11]

TEST_CASE ( "CityStreet"  )

◆ TEST_CASE() [2/11]

TEST_CASE ( "SwitchHsm"  )

◆ TEST_CASE() [3/11]

TEST_CASE ( "SwitchHsmWithActions"  )

◆ TEST_CASE() [4/11]

TEST_CASE ( "Test PeriodicExecutionPolicy"  )

◆ TEST_CASE() [5/11]

TEST_CASE ( "Test RealtimeExecutionPolicy"  )

◆ TEST_CASE() [6/11]

TEST_CASE ( "Test SingleThreadedExecutionPolicy"  )

◆ TEST_CASE() [7/11]

TEST_CASE ( "Test ThreadedExecutionPolicy"  )

◆ TEST_CASE() [8/11]

TEST_CASE ( "TrafficLight with walk pressed"  )

◆ TEST_CASE() [9/11]

TEST_CASE ( "TrafficLight"  )

◆ TEST_CASE() [10/11]

TEST_CASE ( "TrafficLightAG"  )

◆ TEST_CASE() [11/11]

TEST_CASE ( "TrafficLightHsm"  )