Instrument Neutral Distributed Interface INDI 2.2.5
test_dome_shutter_park_policy.cpp File Reference
#include <gtest/gtest.h>
#include <cstdlib>
#include <string>
#include <unistd.h>
#include <vector>
#include "indidome.h"
#include "indidevapi.h"
#include "indilogger.h"

Go to the source code of this file.

Functions

 TEST_F (DomeShutterParkPolicyTest, parkClosesShutterBeforeParking)
 Park.
 TEST_F (DomeShutterParkPolicyTest, parkStaysBusyUntilShutterClosesAfterRotation)
 TEST_F (DomeShutterParkPolicyTest, parkStaysBusyUntilRotationEndsAfterShutter)
 TEST_F (DomeShutterParkPolicyTest, parkReportedThroughDomeStateAlsoWaitsForShutter)
 TEST_F (DomeShutterParkPolicyTest, shutterReportedOnlyThroughPropertyCompletesPark)
 TEST_F (DomeShutterParkPolicyTest, parkCompletingImmediatelyStillWaitsForShutter)
 TEST_F (DomeShutterParkPolicyTest, shutterErrorFailsParkAndParkCanBeRetried)
 TEST_F (DomeShutterParkPolicyTest, shutterCommandFailureFailsParkWithoutMovingDome)
 TEST_F (DomeShutterParkPolicyTest, shutterKnownClosedIsNotClosedAgain)
 TEST_F (DomeShutterParkPolicyTest, defaultShutterPropertyIsNotTrustedAsClosed)
 TEST_F (DomeShutterParkPolicyTest, policyOffDoesNotTouchShutter)
 TEST_F (DomeShutterParkPolicyTest, driverHandlingPolicyIsLeftAlone)
 TEST_F (DomeShutterParkPolicyTest, manualOpenDuringParkStopsWaitingForShutter)
 TEST_F (DomeShutterParkPolicyTest, abortWhileWaitingForShutterAllowsNewPark)
 TEST_F (DomeShutterParkPolicyTest, failedAbortWhileWaitingForShutterAllowsNewPark)
 TEST_F (DomeShutterParkPolicyTest, unparkOpensShutterAfterUnparking)
 UnPark.
 TEST_F (DomeShutterParkPolicyTest, unparkStaysBusyUntilShutterOpens)
 TEST_F (DomeShutterParkPolicyTest, unparkStaysBusyUntilMotionEndsAfterShutter)
 TEST_F (DomeShutterParkPolicyTest, failedUnparkNeverOpensShutter)
 TEST_F (DomeShutterParkPolicyTest, shutterFailingToOpenUnparksWithAlert)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 462 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [1/20]

TEST_F ( DomeShutterParkPolicyTest ,
abortWhileWaitingForShutterAllowsNewPark  )

Definition at line 368 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [2/20]

TEST_F ( DomeShutterParkPolicyTest ,
defaultShutterPropertyIsNotTrustedAsClosed  )

Definition at line 324 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [3/20]

TEST_F ( DomeShutterParkPolicyTest ,
driverHandlingPolicyIsLeftAlone  )

Definition at line 345 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [4/20]

TEST_F ( DomeShutterParkPolicyTest ,
failedAbortWhileWaitingForShutterAllowsNewPark  )

Definition at line 385 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [5/20]

TEST_F ( DomeShutterParkPolicyTest ,
failedUnparkNeverOpensShutter  )

Definition at line 440 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [6/20]

TEST_F ( DomeShutterParkPolicyTest ,
manualOpenDuringParkStopsWaitingForShutter  )

Definition at line 356 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [7/20]

TEST_F ( DomeShutterParkPolicyTest ,
parkClosesShutterBeforeParking  )

Park.

Definition at line 201 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [8/20]

TEST_F ( DomeShutterParkPolicyTest ,
parkCompletingImmediatelyStillWaitsForShutter  )

Definition at line 268 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [9/20]

TEST_F ( DomeShutterParkPolicyTest ,
parkReportedThroughDomeStateAlsoWaitsForShutter  )

Definition at line 239 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [10/20]

TEST_F ( DomeShutterParkPolicyTest ,
parkStaysBusyUntilRotationEndsAfterShutter  )

Definition at line 224 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [11/20]

TEST_F ( DomeShutterParkPolicyTest ,
parkStaysBusyUntilShutterClosesAfterRotation  )

Definition at line 209 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [12/20]

TEST_F ( DomeShutterParkPolicyTest ,
policyOffDoesNotTouchShutter  )

Definition at line 333 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [13/20]

TEST_F ( DomeShutterParkPolicyTest ,
shutterCommandFailureFailsParkWithoutMovingDome  )

Definition at line 298 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [14/20]

TEST_F ( DomeShutterParkPolicyTest ,
shutterErrorFailsParkAndParkCanBeRetried  )

Definition at line 282 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [15/20]

TEST_F ( DomeShutterParkPolicyTest ,
shutterFailingToOpenUnparksWithAlert  )

Definition at line 451 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [16/20]

TEST_F ( DomeShutterParkPolicyTest ,
shutterKnownClosedIsNotClosedAgain  )

Definition at line 309 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [17/20]

TEST_F ( DomeShutterParkPolicyTest ,
shutterReportedOnlyThroughPropertyCompletesPark  )

Definition at line 255 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [18/20]

TEST_F ( DomeShutterParkPolicyTest ,
unparkOpensShutterAfterUnparking  )

UnPark.

Definition at line 404 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [19/20]

TEST_F ( DomeShutterParkPolicyTest ,
unparkStaysBusyUntilMotionEndsAfterShutter  )

Definition at line 427 of file test_dome_shutter_park_policy.cpp.

◆ TEST_F() [20/20]

TEST_F ( DomeShutterParkPolicyTest ,
unparkStaysBusyUntilShutterOpens  )

Definition at line 412 of file test_dome_shutter_park_policy.cpp.