Updraft
1.0
Open source glider flight visualisation tool.
|
A few very basic tests for the igc parser. More...
#include <testigc.h>
Private Slots | |
void | initTestCase () |
Loads a test file before running all the other tests. | |
void | testHRecords () |
Reads a manually crafted IGC file and verifies that values from H records are as expected. | |
void | testBRecords () |
Reads a manually crafted IGC file and tests B records are as expected. | |
void | testClean () |
Test that the clean method really deletes all information and empties the eventList. | |
Private Member Functions | |
void | loadTestFile () |
Loads a test file. | |
Private Attributes | |
Updraft::Igc::IgcFile | igc |
A few very basic tests for the igc parser.
All of them are expected to pass.
void Updraft::Igc::Test::TestIgc::initTestCase | ( | ) | [private, slot] |
Loads a test file before running all the other tests.
void Updraft::Igc::Test::TestIgc::loadTestFile | ( | ) | [private] |
Loads a test file.
void Updraft::Igc::Test::TestIgc::testBRecords | ( | ) | [private, slot] |
Reads a manually crafted IGC file and tests B records are as expected.
void Updraft::Igc::Test::TestIgc::testClean | ( | ) | [private, slot] |
Test that the clean method really deletes all information and empties the eventList.
Loads the test file again after checking everything.
void Updraft::Igc::Test::TestIgc::testHRecords | ( | ) | [private, slot] |
Reads a manually crafted IGC file and verifies that values from H records are as expected.