Instrument Neutral Distributed Interface INDI  2.0.2
Classes | Functions
test_celestrondriver.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <stdarg.h>
#include <math.h>
#include <stdint.h>
#include <libnova/julian_day.h>
#include "indilogger.h"
#include "celestrondriver.h"

Go to the source code of this file.

Classes

class  MockCelestronDriver
 

Functions

 MATCHER_P2 (MemEq, buf, n, "")
 
 TEST (CelestronDriverTest, set_simulation)
 
 TEST (CelestronDriverTest, echoCommand)
 
 TEST (CelestronDriverTest, syncCommand)
 
 TEST (CelestronDriverTest, gotoCommands)
 
 TEST (CelestronDriverTest, getCoordsCommands)
 
 TEST (CelestronDriverTest, slewingCommands)
 
 TEST (CelestronDriverTest, getVersionCommands)
 
 TEST (CelestronDriverTest, setDateTime)
 
 TEST (CelestronDriverTest, setLocation)
 
 TEST (CelestronDriverTest, hibernate)
 
 TEST (CelestronDriverTest, trimDecAngle)
 
 TEST (CelestronDriverTest, dd2nex)
 
 TEST (CelestronDriverTest, dd2pnex)
 
 TEST (CelestronDriverTest, nex2dd)
 
 TEST (CelestronDriverTest, pnex2dd)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 291 of file test_celestrondriver.cpp.

◆ MATCHER_P2()

MATCHER_P2 ( MemEq  ,
buf  ,
,
""   
)

Definition at line 17 of file test_celestrondriver.cpp.

◆ TEST() [1/15]

TEST ( CelestronDriverTest  ,
dd2nex   
)

Definition at line 248 of file test_celestrondriver.cpp.

◆ TEST() [2/15]

TEST ( CelestronDriverTest  ,
dd2pnex   
)

Definition at line 260 of file test_celestrondriver.cpp.

◆ TEST() [3/15]

TEST ( CelestronDriverTest  ,
echoCommand   
)

Definition at line 75 of file test_celestrondriver.cpp.

◆ TEST() [4/15]

TEST ( CelestronDriverTest  ,
getCoordsCommands   
)

Definition at line 114 of file test_celestrondriver.cpp.

◆ TEST() [5/15]

TEST ( CelestronDriverTest  ,
getVersionCommands   
)

Definition at line 150 of file test_celestrondriver.cpp.

◆ TEST() [6/15]

TEST ( CelestronDriverTest  ,
gotoCommands   
)

Definition at line 96 of file test_celestrondriver.cpp.

◆ TEST() [7/15]

TEST ( CelestronDriverTest  ,
hibernate   
)

Definition at line 204 of file test_celestrondriver.cpp.

◆ TEST() [8/15]

TEST ( CelestronDriverTest  ,
nex2dd   
)

Definition at line 272 of file test_celestrondriver.cpp.

◆ TEST() [9/15]

TEST ( CelestronDriverTest  ,
pnex2dd   
)

Definition at line 281 of file test_celestrondriver.cpp.

◆ TEST() [10/15]

TEST ( CelestronDriverTest  ,
set_simulation   
)

Definition at line 65 of file test_celestrondriver.cpp.

◆ TEST() [11/15]

TEST ( CelestronDriverTest  ,
setDateTime   
)

Definition at line 176 of file test_celestrondriver.cpp.

◆ TEST() [12/15]

TEST ( CelestronDriverTest  ,
setLocation   
)

Definition at line 194 of file test_celestrondriver.cpp.

◆ TEST() [13/15]

TEST ( CelestronDriverTest  ,
slewingCommands   
)

Definition at line 144 of file test_celestrondriver.cpp.

◆ TEST() [14/15]

TEST ( CelestronDriverTest  ,
syncCommand   
)

Definition at line 84 of file test_celestrondriver.cpp.

◆ TEST() [15/15]

TEST ( CelestronDriverTest  ,
trimDecAngle   
)

Definition at line 226 of file test_celestrondriver.cpp.