mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-09-02 21:59:55 +00:00
clang-tidy warning fixes
This commit is contained in:
@ -31,10 +31,9 @@ void TestExtScript::initTestCase()
|
||||
|
||||
extScript = new ExtScript(nullptr);
|
||||
extScript->setInterval(1);
|
||||
extScript->setExecutable(randomString);
|
||||
extScript->setExecutable(QString("echo %1").arg(randomString));
|
||||
extScript->setNumber(0);
|
||||
extScript->setRedirect(ExtScript::Redirect::stderr2stdout);
|
||||
extScript->setPrefix("echo");
|
||||
|
||||
extScript->run();
|
||||
}
|
||||
@ -50,9 +49,8 @@ void TestExtScript::test_values()
|
||||
{
|
||||
QCOMPARE(extScript->interval(), 1);
|
||||
QCOMPARE(extScript->number(), 0);
|
||||
QCOMPARE(extScript->executable(), randomString);
|
||||
QCOMPARE(extScript->executable(), QString("echo %1").arg(randomString));
|
||||
QCOMPARE(extScript->strRedirect(), QString("stderr2stdout"));
|
||||
QCOMPARE(extScript->prefix(), QString("echo"));
|
||||
}
|
||||
|
||||
|
||||
@ -97,7 +95,6 @@ void TestExtScript::test_copy()
|
||||
QCOMPARE(newExtScript->interval(), extScript->interval());
|
||||
QCOMPARE(newExtScript->executable(), extScript->executable());
|
||||
QCOMPARE(newExtScript->strRedirect(), extScript->strRedirect());
|
||||
QCOMPARE(newExtScript->prefix(), extScript->prefix());
|
||||
QCOMPARE(newExtScript->filters(), extScript->filters());
|
||||
QCOMPARE(newExtScript->number(), 1);
|
||||
|
||||
|
Reference in New Issue
Block a user