CppEphem
Public Member Functions | Private Attributes | List of all members
test_CEObservation Class Reference

Defines tests for CEObservation

Definition at line 27 of file test_CEObservation.h.

Public Member Functions

virtual bool runtests (void)
 Run tests. More...
 
bool test_cache (void)
 Tests accessing and updating of cached parameters. More...
 
 test_CEObservation ()
 Default constructor. More...
 
bool test_constructor (void)
 Tests constructing a CEObservation object. More...
 
bool test_obj_return (void)
 Tests accessing underlying observer, date, and object classes. More...
 
virtual ~test_CEObservation ()
 Destructor. More...
 

Private Attributes

CEBody base_body_
 
CEDate base_date_
 
CEObservation base_obs_
 
CEObserver base_observer_
 

#include <test_CEObservation.h>

Inheritance diagram for test_CEObservation:
Inheritance graph
[legend]
Collaboration diagram for test_CEObservation:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ test_CEObservation()

test_CEObservation::test_CEObservation ( )

Default constructor.

Definition at line 35 of file test_CEObservation.cpp.

◆ ~test_CEObservation()

test_CEObservation::~test_CEObservation ( )
virtual

Destructor.

Definition at line 61 of file test_CEObservation.cpp.

Member Function Documentation

◆ runtests()

bool test_CEObservation::runtests ( void  )
virtual

Run tests.

Returns
whether or not all tests succeeded

Definition at line 70 of file test_CEObservation.cpp.

◆ test_cache()

bool test_CEObservation::test_cache ( void  )

Tests accessing and updating of cached parameters.

Returns
Status of tests

Definition at line 155 of file test_CEObservation.cpp.

◆ test_constructor()

bool test_CEObservation::test_constructor ( void  )

Tests constructing a CEObservation object.

Returns
Status of tests

Definition at line 87 of file test_CEObservation.cpp.

◆ test_obj_return()

bool test_CEObservation::test_obj_return ( void  )

Tests accessing underlying observer, date, and object classes.

Returns
Status of tests

Definition at line 121 of file test_CEObservation.cpp.

Member Data Documentation

◆ base_body_

CEBody test_CEObservation::base_body_
private

Definition at line 62 of file test_CEObservation.h.

◆ base_date_

CEDate test_CEObservation::base_date_
private

Definition at line 63 of file test_CEObservation.h.

◆ base_obs_

CEObservation test_CEObservation::base_obs_
private

Definition at line 65 of file test_CEObservation.h.

◆ base_observer_

CEObserver test_CEObservation::base_observer_
private

Definition at line 64 of file test_CEObservation.h.


The documentation for this class was generated from the following files: