mirror of
https://github.com/overte-org/overte.git
synced 2025-06-25 22:49:34 +02:00
Minor clean-up.
This commit is contained in:
parent
6121d7022c
commit
8e3f2d3601
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ void AWSInterface::createWebPageFromResults(const QString& testResults,
|
||||||
void AWSInterface::extractTestFailuresFromZippedFolder() {
|
void AWSInterface::extractTestFailuresFromZippedFolder() {
|
||||||
// For a test results zip file called `D:/tt/TestResults--2018-10-02_16-54-11(9426)[DESKTOP-PMKNLSQ].zip`
|
// For a test results zip file called `D:/tt/TestResults--2018-10-02_16-54-11(9426)[DESKTOP-PMKNLSQ].zip`
|
||||||
// the folder will be called `TestResults--2018-10-02_16-54-11(9426)[DESKTOP-PMKNLSQ]`
|
// the folder will be called `TestResults--2018-10-02_16-54-11(9426)[DESKTOP-PMKNLSQ]`
|
||||||
// and, this folder will be in the workign directory
|
// and, this folder will be in the working directory
|
||||||
QStringList parts =_testResults.split('/');
|
QStringList parts =_testResults.split('/');
|
||||||
QString zipFolderName = _snapshotDirectory + "/" + parts[parts.length() - 1].split('.')[0];
|
QString zipFolderName = _snapshotDirectory + "/" + parts[parts.length() - 1].split('.')[0];
|
||||||
if (QDir(zipFolderName).exists()) {
|
if (QDir(zipFolderName).exists()) {
|
||||||
|
|
|
@ -26,7 +26,7 @@ public:
|
||||||
explicit AWSInterface(QObject* parent = 0);
|
explicit AWSInterface(QObject* parent = 0);
|
||||||
|
|
||||||
void createWebPageFromResults(const QString& testResults,
|
void createWebPageFromResults(const QString& testResults,
|
||||||
const QString& testDirectory,
|
const QString& snapshotDirectory,
|
||||||
QCheckBox* updateAWSCheckBox,
|
QCheckBox* updateAWSCheckBox,
|
||||||
QLineEdit* urlLineEdit);
|
QLineEdit* urlLineEdit);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue