|
|
@ -602,7 +602,11 @@ class Script: public QObject { |
|
|
|
xml::Node testcase("testcase"); |
|
|
|
xml::Node testcase("testcase"); |
|
|
|
try { |
|
|
|
try { |
|
|
|
testcase.attr("classname") = |
|
|
|
testcase.attr("classname") = |
|
|
|
xmlattr(_testclass.size()?_testclass:"file: "+(*cmd)->file(), true) |
|
|
|
xmlattr(_testclass.size() |
|
|
|
|
|
|
|
?_testclass |
|
|
|
|
|
|
|
:"file."+(*cmd)->file() |
|
|
|
|
|
|
|
.replace(QRegularExpression(".wt$"), "") |
|
|
|
|
|
|
|
.replace(".", "-"), true) |
|
|
|
.toStdString(); |
|
|
|
.toStdString(); |
|
|
|
testcase.attr("name") =
|
|
|
|
testcase.attr("name") =
|
|
|
|
xmlattr(QString("%1: %2") |
|
|
|
xmlattr(QString("%1: %2") |
|
|
|