Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DataCSV_test Class Reference

Description

Test:
Document and verify a data table component to maintain measurement data series, backed by CSV storage.
See also
data.hpp
csv.hpp
Statistic_test

Definition at line 77 of file data-csv-test.cpp.

Private Member Functions

void run (Arg)
 
void simpleUsage ()
 
void verify_rowHandling ()
 
void verify_CSV_Format ()
 
void verify_persistentDataFile ()
 
void demonnstrate_CSV_Notation ()
 

Member Function Documentation

◆ run()

void run ( Arg  )
inlineprivate

Definition at line 80 of file data-csv-test.cpp.

References DataCSV_test::demonnstrate_CSV_Notation(), DataCSV_test::simpleUsage(), DataCSV_test::verify_CSV_Format(), DataCSV_test::verify_persistentDataFile(), and DataCSV_test::verify_rowHandling().

+ Here is the call graph for this function:

◆ simpleUsage()

void simpleUsage ( )
inlineprivate
Test:
add rows and data to a table without filename.

Definition at line 92 of file data-csv-test.cpp.

Referenced by DataCSV_test::run().

+ Here is the caller graph for this function:

◆ verify_rowHandling()

void verify_rowHandling ( )
inlineprivate

Definition at line 126 of file data-csv-test.cpp.

References lib::meta::forEach(), and VERIFY_ERROR.

Referenced by DataCSV_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verify_CSV_Format()

void verify_CSV_Format ( )
inlineprivate
Test:
validate the simple CSV conversion functions used by DataTable

Definition at line 217 of file data-csv-test.cpp.

References lib::stat::appendCsvField(), util::showComplete(), util::showDecimal(), util::toString(), and VERIFY_FAIL.

Referenced by DataCSV_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verify_persistentDataFile()

void verify_persistentDataFile ( )
inlineprivate
Test:
verify a table backed by persistent CSV data

Definition at line 292 of file data-csv-test.cpp.

References TempDir::makeFile().

Referenced by DataCSV_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ demonnstrate_CSV_Notation()

void demonnstrate_CSV_Notation ( )
inlineprivate
Test:
simplified notation of inline CSV data for tests

Definition at line 341 of file data-csv-test.cpp.

Referenced by DataCSV_test::run().

+ Here is the caller graph for this function:
+ Inheritance diagram for DataCSV_test:
+ Collaboration diagram for DataCSV_test:

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