Updraft  1.0
Open source glider flight visualisation tool.
Updraft::Igc::Test::TestIgc Class Reference

A few very basic tests for the igc parser. More...

#include <testigc.h>

Collaboration diagram for Updraft::Igc::Test::TestIgc:

List of all members.

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

Detailed Description

A few very basic tests for the igc parser.

All of them are expected to pass.


Member Function Documentation

Loads a test file before running all the other tests.

Loads a test file.

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.

Reads a manually crafted IGC file and verifies that values from H records are as expected.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines