Instrument Neutral Distributed Interface INDI 2.2.5
Classes | Typedefs | Functions
test_weatherflow.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "weatherflow.h"
#include <indijson.hpp>

Go to the source code of this file.

Classes

class  WeatherFlowTest
 

Typedefs

using json = nlohmann::json
 

Functions

 TEST_F (WeatherFlowTest, ParseValidStationResponse)
 
 TEST_F (WeatherFlowTest, ParseValidObservationsResponse)
 
 TEST_F (WeatherFlowTest, ParseAPIErrorResponse)
 
 TEST_F (WeatherFlowTest, HandleMalformedJSON)
 
 TEST_F (WeatherFlowTest, WeatherParameterRanges)
 
 TEST_F (WeatherFlowTest, RateLimiting)
 
 TEST_F (WeatherFlowTest, ExponentialBackoff)
 
 TEST_F (WeatherFlowTest, ConfigurationProperties)
 
 TEST_F (WeatherFlowTest, ConnectionState)
 
 TEST_F (WeatherFlowTest, WeatherParameterMapping)
 
 TEST_F (WeatherFlowTest, CriticalParameters)
 
int main (int argc, char **argv)
 

Typedef Documentation

◆ json

Definition at line 36 of file test_weatherflow.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 304 of file test_weatherflow.cpp.

◆ TEST_F() [1/11]

TEST_F ( WeatherFlowTest  ,
ConfigurationProperties   
)

Definition at line 236 of file test_weatherflow.cpp.

◆ TEST_F() [2/11]

TEST_F ( WeatherFlowTest  ,
ConnectionState   
)

Definition at line 247 of file test_weatherflow.cpp.

◆ TEST_F() [3/11]

TEST_F ( WeatherFlowTest  ,
CriticalParameters   
)

Definition at line 285 of file test_weatherflow.cpp.

◆ TEST_F() [4/11]

TEST_F ( WeatherFlowTest  ,
ExponentialBackoff   
)

Definition at line 224 of file test_weatherflow.cpp.

◆ TEST_F() [5/11]

TEST_F ( WeatherFlowTest  ,
HandleMalformedJSON   
)

Definition at line 136 of file test_weatherflow.cpp.

◆ TEST_F() [6/11]

TEST_F ( WeatherFlowTest  ,
ParseAPIErrorResponse   
)

Definition at line 120 of file test_weatherflow.cpp.

◆ TEST_F() [7/11]

TEST_F ( WeatherFlowTest  ,
ParseValidObservationsResponse   
)

Definition at line 88 of file test_weatherflow.cpp.

◆ TEST_F() [8/11]

TEST_F ( WeatherFlowTest  ,
ParseValidStationResponse   
)

Definition at line 55 of file test_weatherflow.cpp.

◆ TEST_F() [9/11]

TEST_F ( WeatherFlowTest  ,
RateLimiting   
)

Definition at line 202 of file test_weatherflow.cpp.

◆ TEST_F() [10/11]

TEST_F ( WeatherFlowTest  ,
WeatherParameterMapping   
)

Definition at line 260 of file test_weatherflow.cpp.

◆ TEST_F() [11/11]

TEST_F ( WeatherFlowTest  ,
WeatherParameterRanges   
)

Definition at line 176 of file test_weatherflow.cpp.