mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-11 13:08:40 -04:00
Coding style fixes.
This commit is contained in:
parent
ef3d7b7772
commit
5daf0853c9
7 changed files with 15 additions and 14 deletions
|
@ -55,7 +55,8 @@ void TestArgumentParser::testFilename()
|
|||
|
||||
void TestArgumentParser::testMultipleArguments()
|
||||
{
|
||||
parse(QStringList() << "--config" << "myconfig.ini" << "--filename" << "myfilename" << "--password" << "mypassword");
|
||||
parse(QStringList() << "--config" << "myconfig.ini" << "--filename" << "myfilename"
|
||||
<< "--password" << "mypassword");
|
||||
|
||||
QCOMPARE(argumentMap.size(), 3);
|
||||
QCOMPARE(argumentMap.value("config"), QString("myconfig.ini"));
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#define KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#ifndef KEEPASSX_TESTARGUMENTPARSER_H
|
||||
#define KEEPASSX_TESTARGUMENTPARSER_H
|
||||
|
||||
#include <QHash>
|
||||
#include <QObject>
|
||||
|
@ -37,7 +37,6 @@ private:
|
|||
void parse(const QStringList& arguments);
|
||||
|
||||
QHash<QString, QString> argumentMap;
|
||||
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#endif // KEEPASSX_TESTARGUMENTPARSER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue