All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions
Qtilities::Testing::TestExporting Class Reference

Allows testing of the exporting capabilities of Qtilities classes. More...

#include <TestExporting.h>

Inheritance diagram for Qtilities::Testing::TestExporting:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int execTest (int argc=0, char **argv=0)
 Function which will be called when the test must be executed on the testable object.
QObject * objectBase ()
 Returns the QObject* base of the interface.
const QObject * objectBase () const
 Returns a const QObject* base of the interface.
QString testName () const
 Provide a name for your test.

Detailed Description

Allows testing of the exporting capabilities of Qtilities classes.

We always test against the latest version of Qtilities. The goal is to support writing out and reading back of all previous export versions. Thus is acheived by setting the read and write versions to the same previous version.


Member Function Documentation

const QObject* Qtilities::Testing::TestExporting::objectBase ( ) const
inlinevirtual

Returns a const QObject* base of the interface.

This function can be used in const methods, but make sure that you don't modify things that should stay const. An example where this is used is when we want to get a property on an object in a const method. This is a const operation.

Implements Qtilities::Core::Interfaces::IObjectBase.



Qtilities : Reference Documentation Back to top Copyright © 2009-2013, Jaco Naudé