#include <gtest/gtest.h>
#include <atomic>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <fcntl.h>
#include <map>
#include <mutex>
#include <pty.h>
#include <regex>
#include <string>
#include <termios.h>
#include <thread>
#include <unistd.h>
#include <vector>
#include "indilogger.h"
#include "drivers/telescope/lx200_OnStep.h"
Go to the source code of this file.
|
| | TEST (LX200OnStepTest, gotoToCurrentPositionIsAnswered) |
| | TEST (LX200OnStepTest, gotoWithoutPositionChangeIsAnswered) |
| | TEST (LX200OnStepTest, realSlewStaysBusyUntilOnStepReportsTracking) |
| | TEST (LX200OnStepTest, missedStatusReplyDuringGotoIsNotAnError) |
| | TEST (LX200OnStepTest, parkStaysBusyUntilOnStepReportsParked) |
| | TEST (LX200OnStepTest, failedParkIsReported) |
| | TEST (LX200OnStepTest, parkWithoutParkedStatusTimesOut) |
| | TEST (LX200OnStepTest, lostConnectionFailsPollAfterThreeMissedReplies) |
| | TEST (LX200OnStepTest, gotoStoppedAtLimitIsReported) |
| | TEST (LX200OnStepTest, gotoNotStartedAtLimitIsReported) |
| | TEST (LX200OnStepTest, idleWithoutGotoErrorIsNotAnError) |
| int | main (int argc, char **argv) |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ TEST() [1/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
failedParkIsReported | ) |
◆ TEST() [2/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
gotoNotStartedAtLimitIsReported | ) |
◆ TEST() [3/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
gotoStoppedAtLimitIsReported | ) |
◆ TEST() [4/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
gotoToCurrentPositionIsAnswered | ) |
◆ TEST() [5/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
gotoWithoutPositionChangeIsAnswered | ) |
◆ TEST() [6/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
idleWithoutGotoErrorIsNotAnError | ) |
◆ TEST() [7/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
lostConnectionFailsPollAfterThreeMissedReplies | ) |
◆ TEST() [8/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
missedStatusReplyDuringGotoIsNotAnError | ) |
◆ TEST() [9/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
parkStaysBusyUntilOnStepReportsParked | ) |
◆ TEST() [10/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
parkWithoutParkedStatusTimesOut | ) |
◆ TEST() [11/11]
| TEST |
( |
LX200OnStepTest | , |
|
|
realSlewStaysBusyUntilOnStepReportsTracking | ) |
◆ STATUS_IDLE
| const char* STATUS_IDLE = "nNpa/ET160" |
◆ STATUS_MERIDIAN_LIMIT
| const char* STATUS_MERIDIAN_LIMIT = "nNpa/ET167" |
◆ STATUS_PARK_FAILED
| const char* STATUS_PARK_FAILED = "nNFa/ET160" |
◆ STATUS_PARKED
| const char* STATUS_PARKED = "nNPa/ET160" |
◆ STATUS_PARKING
| const char* STATUS_PARKING = "nIa/ET160" |