add QDir test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-03 03:16:27 +00:00
parent be63c5b251
commit 5788b5091c
43 changed files with 1769 additions and 0 deletions

View file

@ -0,0 +1,4 @@
katie_test(tst_qdir
${CMAKE_CURRENT_SOURCE_DIR}/tst_qdir.cpp
${CMAKE_CURRENT_SOURCE_DIR}/qdir.qrc
)

View file

5
tests/auto/qdir/qdir.qrc Normal file
View file

@ -0,0 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/tst_qdir/">
<file>resources/entryList/</file>
</qresource>
</RCC>

View file

@ -0,0 +1 @@
mostly empty

View file

@ -0,0 +1 @@
mostly empty

View file

@ -0,0 +1 @@
this is just so QDir has something to dive into.

View file

@ -0,0 +1,13 @@
# /home/smil3y/qt/./tests/auto/qdir/testdir/dir/Makefile: generated by configure
#
# WARNING: This makefile will be replaced with a real makefile.
# All changes made to this file will be lost.
first_target: first
QMAKE = "/home/smil3y/qt/bin/qmake"
all clean install qmake first Makefile: FORCE
$(QMAKE) -spec /home/smil3y/qt/mkspecs/linux-g++ -o "/home/smil3y/qt/./tests/auto/qdir/testdir/dir" "/home/smil3y/qt/tests/auto/qdir/testdir/dir/qdir.pro"
cd "/home/smil3y/qt/./tests/auto/qdir/testdir/dir"
$(MAKE) $@
FORCE:

View file

@ -0,0 +1,2 @@

View file

@ -0,0 +1,42 @@
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

View file

View file

@ -0,0 +1,42 @@
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

View file

View file

1649
tests/auto/qdir/tst_qdir.cpp Normal file

File diff suppressed because it is too large Load diff

0
tests/auto/qdir/types/a Normal file
View file

View file

@ -0,0 +1 @@
a

View file

@ -0,0 +1 @@
aa

View file

@ -0,0 +1 @@
aaa

0
tests/auto/qdir/types/b Normal file
View file

View file

@ -0,0 +1 @@
aaaaaa

View file

@ -0,0 +1 @@
aaaa

View file

@ -0,0 +1 @@
aaaaa

0
tests/auto/qdir/types/c Normal file
View file

View file

@ -0,0 +1 @@
aaaaaaaaa

View file

@ -0,0 +1 @@
aaaaaaaa

View file

@ -0,0 +1 @@
aaaaaaa

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file