Ananas Library
0.9.5
|
#include <atests.h>
Static Public Member Functions | |
static QMap< QString, QString > | readConfig (const QString &cfg_name, const QString &log_name=QString::null) |
static bool | writeConfig (const QString &cfg_name, QMap< QString, QString > cfg, const QString &log_name=QString::null) |
static void | print2log (const QString &log_name, const QString &test_name, const QString &status, const QString &text="") |
static void | printline2log (const QString &log_name) |
static QString | parseCommandLine (int argc, char **argv, const QString requestedParam) |
Class contain static functions for test utilites
|
static |
Find parament in command line.
argc | - parametr command line count |
argv | - command line paraments |
requestedParam | - param for search |
|
static |
Writes text to log.
log_name | - Full path to logfile |
test_name | - Test name |
status | - OK, ERROR or SKIP |
text | - Comment |
Referenced by writeConfig().
|
static |
Writes line in log with name log_name
log_name | - logfile name |
|
static |
Reads config into QMap object.
conf_name | - configfile name |
log_name | - logfile name |
References aLog::print().
|
static |
Writes config.
conf_name | - configfile name |
log_name | - logfile name |
References aLog::print(), and print2log().