|
ifw-daq
1.0.0
IFW Data Acquisition modules
|
Unit tests for json handling. More...
#include <gtest/gtest.h>#include <nlohmann/json.hpp>#include <ostream>#include <daq/fits/json.hpp>Go to the source code of this file.
Classes | |
| class | TestJson |
Functions | |
| TEST_F (TestJson, ParseInvalidJsonThrowsNlohmannException) | |
| TEST_F (TestJson, ParseValueKeywords) | |
| TEST_F (TestJson, ParseEsoKeywords) | |
| TEST_F (TestJson, ParseOptionalKeywordComment) | |
| TEST_F (TestJson, ParseEmptyArray) | |
| TEST_F (TestJson, ParseFailsIfNotAnArray) | |
| TEST_F (TestJson, ParseFailsIfNotAnObjectInArray) | |
| TEST_F (TestJson, ParseFailsIfObjectMissTypeProperty) | |
| TEST_F (TestJson, ParseFailsIfObjectHasUnknownTypeProperty) | |
| TEST_F (TestJson, ParseFailsIfTypeIsNotString) | |
| TEST_F (TestJson, ParseFailsIfObjectMissNameProperty) | |
| TEST_F (TestJson, ParseFailsIfObjectMissValue) | |
| TEST_F (TestJson, ParseFailsIfObjectHasUnsupportedValueType) | |
| TEST_F (TestJson, ParseFailsIfNameIsNotString) | |
| TEST_F (TestJson, ParseFailsIfObjectHasCommentThatIsNotString) | |
Unit tests for json handling.
Definition in file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseEmptyArray | |||
| ) |
Definition at line 239 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseEsoKeywords | |||
| ) |
Definition at line 116 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfNameIsNotString | |||
| ) |
Definition at line 354 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfNotAnArray | |||
| ) |
Definition at line 248 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfNotAnObjectInArray | |||
| ) |
Definition at line 260 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectHasCommentThatIsNotString | |||
| ) |
Definition at line 368 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectHasUnknownTypeProperty | |||
| ) |
Definition at line 286 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectHasUnsupportedValueType | |||
| ) |
Definition at line 340 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectMissNameProperty | |||
| ) |
Definition at line 314 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectMissTypeProperty | |||
| ) |
Definition at line 273 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfObjectMissValue | |||
| ) |
Definition at line 327 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseFailsIfTypeIsNotString | |||
| ) |
Definition at line 300 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseInvalidJsonThrowsNlohmannException | |||
| ) |
Definition at line 21 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseOptionalKeywordComment | |||
| ) |
Definition at line 204 of file testJson.cpp.
| TEST_F | ( | TestJson | , |
| ParseValueKeywords | |||
| ) |
Definition at line 37 of file testJson.cpp.