massive refactoring

This commit is contained in:
2017-05-05 17:55:52 +03:00
parent 6e62ceaac7
commit d0c96ce829
152 changed files with 3041 additions and 3219 deletions

View File

@ -49,14 +49,14 @@ void TestAbstractFormatter::test_type()
formatter->setStrType(type);
QCOMPARE(formatter->strType(), type);
formatter->setStrType(QString("NoFormat"));
formatter->setStrType("NoFormat");
QCOMPARE(formatter->strType(), QString("NoFormat"));
}
void TestAbstractFormatter::test_copy()
{
AWNoFormatter *newFormatter = formatter->copy(QString("/dev/null"), 1);
AWNoFormatter *newFormatter = formatter->copy("/dev/null", 1);
QCOMPARE(newFormatter->type(), formatter->type());
QCOMPARE(newFormatter->name(), formatter->name());