Instrument Neutral Distributed Interface INDI  1.9.5
Classes | Functions | Variables
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 825 of file test_eq500xdriver.cpp.

◆ TEST() [1/20]

TEST ( EQ500XDriverTest  ,
test_BeyondPolePointing_RA_Conversions   
)

Definition at line 307 of file test_eq500xdriver.cpp.

◆ TEST() [2/20]

TEST ( EQ500XDriverTest  ,
test_DEC_Conversions   
)

Definition at line 445 of file test_eq500xdriver.cpp.

◆ TEST() [3/20]

TEST ( EQ500XDriverTest  ,
test_Goto_AbortMovement   
)

Definition at line 639 of file test_eq500xdriver.cpp.

◆ TEST() [4/20]

TEST ( EQ500XDriverTest  ,
test_Goto_EastMovement   
)

Definition at line 705 of file test_eq500xdriver.cpp.

◆ TEST() [5/20]

TEST ( EQ500XDriverTest  ,
test_Goto_NoMovement   
)

Definition at line 618 of file test_eq500xdriver.cpp.

◆ TEST() [6/20]

TEST ( EQ500XDriverTest  ,
test_Goto_NorthMovement   
)

Definition at line 683 of file test_eq500xdriver.cpp.

◆ TEST() [7/20]

TEST ( EQ500XDriverTest  ,
test_Goto_SouthMovement   
)

Definition at line 661 of file test_eq500xdriver.cpp.

◆ TEST() [8/20]

TEST ( EQ500XDriverTest  ,
test_Goto_WestMovement   
)

Definition at line 727 of file test_eq500xdriver.cpp.

◆ TEST() [9/20]

TEST ( EQ500XDriverTest  ,
test_LSTSync   
)

Definition at line 85 of file test_eq500xdriver.cpp.

◆ TEST() [10/20]

TEST ( EQ500XDriverTest  ,
test_MechanicalPoint_Equality   
)

Definition at line 109 of file test_eq500xdriver.cpp.

◆ TEST() [11/20]

TEST ( EQ500XDriverTest  ,
test_MechanicalPoint_PierFlip   
)

Definition at line 165 of file test_eq500xdriver.cpp.

◆ TEST() [12/20]

TEST ( EQ500XDriverTest  ,
test_MechanicalPoint_RA_distance   
)

Definition at line 139 of file test_eq500xdriver.cpp.

◆ TEST() [13/20]

TEST ( EQ500XDriverTest  ,
test_MechanicalPoint_Sky_DEC_Conversion   
)

Definition at line 362 of file test_eq500xdriver.cpp.

◆ TEST() [14/20]

TEST ( EQ500XDriverTest  ,
test_NormalPointing_RA_Conversions   
)

Definition at line 271 of file test_eq500xdriver.cpp.

◆ TEST() [15/20]

TEST ( EQ500XDriverTest  ,
test_RestoreSlewRateAfterGoto   
)

Definition at line 768 of file test_eq500xdriver.cpp.

◆ TEST() [16/20]

TEST ( EQ500XDriverTest  ,
test_RestoreSlewRateAfterInterruptingGoto   
)

Definition at line 792 of file test_eq500xdriver.cpp.

◆ TEST() [17/20]

TEST ( EQ500XDriverTest  ,
test_RestoreSlewRateOnAbort   
)

Definition at line 749 of file test_eq500xdriver.cpp.

◆ TEST() [18/20]

TEST ( EQ500XDriverTest  ,
test_Stability_DEC_Conversions   
)

Definition at line 235 of file test_eq500xdriver.cpp.

◆ TEST() [19/20]

TEST ( EQ500XDriverTest  ,
test_Stability_RA_Conversions   
)

Definition at line 207 of file test_eq500xdriver.cpp.

◆ TEST() [20/20]

TEST ( EQ500XDriverTest  ,
test_Sync   
)

Definition at line 555 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.