From 771dd6f9abe29c1d24c5ea8f0e7ca949bc24f84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 14 Apr 2016 01:23:54 +0200 Subject: NOISSUE reorganize unit tests to be placed next to the code they test. Nuke more dead tests. --- tests/tst_filematchers.cpp | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 tests/tst_filematchers.cpp (limited to 'tests/tst_filematchers.cpp') diff --git a/tests/tst_filematchers.cpp b/tests/tst_filematchers.cpp deleted file mode 100644 index 36286070..00000000 --- a/tests/tst_filematchers.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include "TestUtil.h" - -class IniFileTest : public QObject -{ - Q_OBJECT -private -slots: - - void test_FSTree() - { - /* - QTest::addColumn("through"); - - QTest::newRow("unix path") << "/abc/def/ghi/jkl"; - QTest::newRow("windows path") << "C:\\Program files\\terrible\\name\\of something\\"; - QTest::newRow("Plain text") << "Lorem ipsum dolor sit amet."; - QTest::newRow("Escape sequences") << "Lorem\n\t\n\\n\\tAAZ\nipsum dolor\n\nsit amet."; - QTest::newRow("Escape sequences 2") << "\"\n\n\""; - */ - } - void test_Regexp() - { - /* - QFETCH(QString, through); - - QString there = INIFile::escape(through); - QString back = INIFile::unescape(there); - - QCOMPARE(back, through); - */ - } -}; - -QTEST_GUILESS_MAIN(IniFileTest) - -#include "tst_filematchers.moc" -- cgit v1.2.3