|
ifw-daq
1.0.0
IFW Data Acquisition modules
|
Unit tests for json handling. More...
#include <gtest/gtest.h>#include <gmock/gmock.h>#include <nlohmann/json.hpp>#include <ostream>#include <daq/fits/json.hpp>Go to the source code of this file.
Classes | |
| class | TestKeyword< Type > |
Note that test cases must use TypeParam and cannot declare templated aliases. More... | |
Typedefs | |
| using | Types = ::testing::Types< ValueKeyword, EsoKeyword > |
Functions | |
| TYPED_TEST_CASE (TestKeyword, Types) | |
| TYPED_TEST (TestKeyword, Construction) | |
| TYPED_TEST (TestKeyword, OptionalComment) | |
| TYPED_TEST (TestKeyword, ConstructFromString) | |
| Test that construction of keyword from a C string is stored as std::string and not a bool, which is the implicitly converted type for the variant construction otherwise. More... | |
| TYPED_TEST (TestKeyword, Equality) | |
| TYPED_TEST (TestKeyword, Ordering) | |
| TYPED_TEST (TestKeyword, OstreamOperator) | |
| TEST (TestKeywordCombinations, Ordering) | |
| TEST (TestKeywordCombinations, NameEquals) | |
| TEST (KeywordVector, UpdateKeywords) | |
Unit tests for json handling.
Definition in file testKeyword.cpp.
| using Types = ::testing::Types<ValueKeyword, EsoKeyword> |
Definition at line 25 of file testKeyword.cpp.
| TEST | ( | KeywordVector | , |
| UpdateKeywords | |||
| ) |
Definition at line 156 of file testKeyword.cpp.
| TEST | ( | TestKeywordCombinations | , |
| NameEquals | |||
| ) |
Definition at line 144 of file testKeyword.cpp.
| TEST | ( | TestKeywordCombinations | , |
| Ordering | |||
| ) |
Definition at line 133 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| ConstructFromString | |||
| ) |
Test that construction of keyword from a C string is stored as std::string and not a bool, which is the implicitly converted type for the variant construction otherwise.
Definition at line 62 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| Construction | |||
| ) |
Definition at line 28 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| Equality | |||
| ) |
Definition at line 70 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| OptionalComment | |||
| ) |
Definition at line 51 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| Ordering | |||
| ) |
Definition at line 83 of file testKeyword.cpp.
| TYPED_TEST | ( | TestKeyword | , |
| OstreamOperator | |||
| ) |
Definition at line 94 of file testKeyword.cpp.
| TYPED_TEST_CASE | ( | TestKeyword | , |
| Types | |||
| ) |