Commit 8249c722 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Qt by Nokia
Browse files

QDeclarative tests: Introduce base class for data tests.


In tests/auto/shared/util.* replace macros/find functions by
a base class QDeclarativeDataTest with accessors for the
data directory helper functions to create URLs from it.

The class relies on QFINDTESTDATA, which is the standard
way of locating test data. Using the class should reduce
the number of calls to QFileInfo.exists(), etc significantly.

In addition, provide utility functions for messages.

Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>

Change-Id: Id2beacb157922ee9412f9e45cf9695cec1f8379a
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 3c211558
No related merge requests found
Showing with 392 additions and 391 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment