|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Tests for ChoreStore. More...
#include "chorestore.h"#include <QtCore/QCoreApplication>#include <QtCore/QTemporaryDir>#include <iostream>Classes | |
| class | anonymous_namespace{chorestore_test.cpp}::Checks |
| Counts the checks that fail, and prints each. More... | |
Functions | |
| void | anonymous_namespace{chorestore_test.cpp}::addAndRemove (Checks &check) |
| Adding gives each chore its own id, and removing takes the right one. | |
| void | anonymous_namespace{chorestore_test.cpp}::saveAndLoad (Checks &check) |
| What is saved is loaded back, done or not. | |
| void | anonymous_namespace{chorestore_test.cpp}::missingFile (Checks &check) |
| A missing file is an empty list. | |
| int | main (int argc, char **argv) |
| Runs the tests. | |
Tests for ChoreStore.
Prints each failure and exits with 1 if there was any.