JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Data Structures | Typedefs | Functions
NumberAggregatorTest.cpp File Reference
#include <gtest/gtest.h>
#include <joda/query/aggregation/NumberAggregator.h>
#include <joda/query/values/AtomProvider.h>
#include <joda/query/values/IValueProvider.h>
#include <joda/query/values/PointerProvider.h>
#include <cmath>
#include <numeric>
Include dependency graph for NumberAggregatorTest.cpp:

Data Structures

class  NumberAggregatorTest< T >
 

Typedefs

using AggregatorFuncTypes = testing::Types< joda::query::MinAggregatorFunc, joda::query::MaxAggregatorFunc, joda::query::SumAggregatorFunc, joda::query::AverageAggregatorFunc >
 

Functions

 TYPED_TEST_CASE (NumberAggregatorTest, AggregatorFuncTypes)
 
 TYPED_TEST (NumberAggregatorTest, Construct)
 
 TYPED_TEST (NumberAggregatorTest, TooFewParams)
 
 TYPED_TEST (NumberAggregatorTest, SecondParamWrongTypeParams)
 
 TYPED_TEST (NumberAggregatorTest, SecondParamCorrectTypeParams_true)
 
 TYPED_TEST (NumberAggregatorTest, SecondParamCorrectTypeParams_false)
 
 TYPED_TEST (NumberAggregatorTest, TooManyParams)
 
 TYPED_TEST (NumberAggregatorTest, Duplicate)
 
 TYPED_TEST (NumberAggregatorTest, Name)
 
 TYPED_TEST (NumberAggregatorTest, NullTest)
 
 TYPED_TEST (NumberAggregatorTest, TestResults)
 

Typedef Documentation

◆ AggregatorFuncTypes

Function Documentation

◆ TYPED_TEST() [1/10]

TYPED_TEST ( NumberAggregatorTest  ,
Construct   
)

◆ TYPED_TEST() [2/10]

TYPED_TEST ( NumberAggregatorTest  ,
Duplicate   
)

◆ TYPED_TEST() [3/10]

TYPED_TEST ( NumberAggregatorTest  ,
Name   
)

◆ TYPED_TEST() [4/10]

TYPED_TEST ( NumberAggregatorTest  ,
NullTest   
)

◆ TYPED_TEST() [5/10]

TYPED_TEST ( NumberAggregatorTest  ,
SecondParamCorrectTypeParams_false   
)

◆ TYPED_TEST() [6/10]

TYPED_TEST ( NumberAggregatorTest  ,
SecondParamCorrectTypeParams_true   
)

◆ TYPED_TEST() [7/10]

TYPED_TEST ( NumberAggregatorTest  ,
SecondParamWrongTypeParams   
)

◆ TYPED_TEST() [8/10]

TYPED_TEST ( NumberAggregatorTest  ,
TestResults   
)

◆ TYPED_TEST() [9/10]

TYPED_TEST ( NumberAggregatorTest  ,
TooFewParams   
)

◆ TYPED_TEST() [10/10]

TYPED_TEST ( NumberAggregatorTest  ,
TooManyParams   
)

◆ TYPED_TEST_CASE()

TYPED_TEST_CASE ( NumberAggregatorTest  ,
AggregatorFuncTypes   
)