Instrument Neutral Distributed Interface INDI 2.2.5
test_eq500xdriver.cpp File Reference
#include <stdarg.h>
#include <cmath>
#include <memory>
#include <cstring>
#include <termios.h>
#include <unistd.h>
#include <cassert>
#include <libnova/sidereal_time.h>
#include <libnova/transform.h>
#include "lx200generic.h"
#include "eq500x.h"
#include "indicom.h"
#include "indilogger.h"
#include "lx200driver.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>

Go to the source code of this file.

Classes

class  MockEQ500XDriver

Functions

 TEST (EQ500XDriverTest, test_LSTSync)
 TEST (EQ500XDriverTest, test_MechanicalPoint_Equality)
 TEST (EQ500XDriverTest, test_MechanicalPoint_RA_distance)
 TEST (EQ500XDriverTest, test_MechanicalPoint_PierFlip)
 TEST (EQ500XDriverTest, test_Stability_RA_Conversions)
 TEST (EQ500XDriverTest, test_Stability_DEC_Conversions)
 TEST (EQ500XDriverTest, test_NormalPointing_RA_Conversions)
 TEST (EQ500XDriverTest, test_BeyondPolePointing_RA_Conversions)
 TEST (EQ500XDriverTest, test_MechanicalPoint_Sky_DEC_Conversion)
 TEST (EQ500XDriverTest, test_DEC_Conversions)
 TEST (EQ500XDriverTest, test_Sync)
 TEST (EQ500XDriverTest, test_Goto_NoMovement)
 TEST (EQ500XDriverTest, test_Goto_AbortMovement)
 TEST (EQ500XDriverTest, test_Goto_SouthMovement)
 TEST (EQ500XDriverTest, test_Goto_NorthMovement)
 TEST (EQ500XDriverTest, test_Goto_EastMovement)
 TEST (EQ500XDriverTest, test_Goto_WestMovement)
 TEST (EQ500XDriverTest, test_RestoreSlewRateOnAbort)
 TEST (EQ500XDriverTest, test_RestoreSlewRateAfterGoto)
 TEST (EQ500XDriverTest, test_RestoreSlewRateAfterInterruptingGoto)
int main (int argc, char **argv)

Variables

char _me [] = "MockEQ500XDriver"
char * me = _me

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 853 of file test_eq500xdriver.cpp.

◆ TEST() [1/20]

TEST ( EQ500XDriverTest ,
test_BeyondPolePointing_RA_Conversions  )

Definition at line 335 of file test_eq500xdriver.cpp.

◆ TEST() [2/20]

TEST ( EQ500XDriverTest ,
test_DEC_Conversions  )

Definition at line 473 of file test_eq500xdriver.cpp.

◆ TEST() [3/20]

TEST ( EQ500XDriverTest ,
test_Goto_AbortMovement  )

Definition at line 667 of file test_eq500xdriver.cpp.

◆ TEST() [4/20]

TEST ( EQ500XDriverTest ,
test_Goto_EastMovement  )

Definition at line 733 of file test_eq500xdriver.cpp.

◆ TEST() [5/20]

TEST ( EQ500XDriverTest ,
test_Goto_NoMovement  )

Definition at line 646 of file test_eq500xdriver.cpp.

◆ TEST() [6/20]

TEST ( EQ500XDriverTest ,
test_Goto_NorthMovement  )

Definition at line 711 of file test_eq500xdriver.cpp.

◆ TEST() [7/20]

TEST ( EQ500XDriverTest ,
test_Goto_SouthMovement  )

Definition at line 689 of file test_eq500xdriver.cpp.

◆ TEST() [8/20]

TEST ( EQ500XDriverTest ,
test_Goto_WestMovement  )

Definition at line 755 of file test_eq500xdriver.cpp.

◆ TEST() [9/20]

TEST ( EQ500XDriverTest ,
test_LSTSync  )

Definition at line 113 of file test_eq500xdriver.cpp.

◆ TEST() [10/20]

TEST ( EQ500XDriverTest ,
test_MechanicalPoint_Equality  )

Definition at line 137 of file test_eq500xdriver.cpp.

◆ TEST() [11/20]

TEST ( EQ500XDriverTest ,
test_MechanicalPoint_PierFlip  )

Definition at line 193 of file test_eq500xdriver.cpp.

◆ TEST() [12/20]

TEST ( EQ500XDriverTest ,
test_MechanicalPoint_RA_distance  )

Definition at line 167 of file test_eq500xdriver.cpp.

◆ TEST() [13/20]

TEST ( EQ500XDriverTest ,
test_MechanicalPoint_Sky_DEC_Conversion  )

Definition at line 390 of file test_eq500xdriver.cpp.

◆ TEST() [14/20]

TEST ( EQ500XDriverTest ,
test_NormalPointing_RA_Conversions  )

Definition at line 299 of file test_eq500xdriver.cpp.

◆ TEST() [15/20]

TEST ( EQ500XDriverTest ,
test_RestoreSlewRateAfterGoto  )

Definition at line 796 of file test_eq500xdriver.cpp.

◆ TEST() [16/20]

TEST ( EQ500XDriverTest ,
test_RestoreSlewRateAfterInterruptingGoto  )

Definition at line 820 of file test_eq500xdriver.cpp.

◆ TEST() [17/20]

TEST ( EQ500XDriverTest ,
test_RestoreSlewRateOnAbort  )

Definition at line 777 of file test_eq500xdriver.cpp.

◆ TEST() [18/20]

TEST ( EQ500XDriverTest ,
test_Stability_DEC_Conversions  )

Definition at line 263 of file test_eq500xdriver.cpp.

◆ TEST() [19/20]

TEST ( EQ500XDriverTest ,
test_Stability_RA_Conversions  )

Definition at line 235 of file test_eq500xdriver.cpp.

◆ TEST() [20/20]

TEST ( EQ500XDriverTest ,
test_Sync  )

Definition at line 583 of file test_eq500xdriver.cpp.

Variable Documentation

◆ _me

char _me[] = "MockEQ500XDriver"

Definition at line 25 of file test_eq500xdriver.cpp.

◆ me

char* me = _me

Definition at line 26 of file test_eq500xdriver.cpp.