mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
add QDir test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
be63c5b251
commit
5788b5091c
43 changed files with 1769 additions and 0 deletions
4
tests/auto/qdir/CMakeLists.txt
Normal file
4
tests/auto/qdir/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
katie_test(tst_qdir
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tst_qdir.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/qdir.qrc
|
||||
)
|
0
tests/auto/qdir/entrylist/directory/dummy
Normal file
0
tests/auto/qdir/entrylist/directory/dummy
Normal file
0
tests/auto/qdir/entrylist/file
Normal file
0
tests/auto/qdir/entrylist/file
Normal file
5
tests/auto/qdir/qdir.qrc
Normal file
5
tests/auto/qdir/qdir.qrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource prefix="/tst_qdir/">
|
||||
<file>resources/entryList/</file>
|
||||
</qresource>
|
||||
</RCC>
|
0
tests/auto/qdir/resources/entryList/file1.data
Normal file
0
tests/auto/qdir/resources/entryList/file1.data
Normal file
0
tests/auto/qdir/resources/entryList/file2.data
Normal file
0
tests/auto/qdir/resources/entryList/file2.data
Normal file
0
tests/auto/qdir/resources/entryList/file3.data
Normal file
0
tests/auto/qdir/resources/entryList/file3.data
Normal file
0
tests/auto/qdir/resources/entryList/file4.nothing
Normal file
0
tests/auto/qdir/resources/entryList/file4.nothing
Normal file
1
tests/auto/qdir/searchdir/subdir1/picker.png
Normal file
1
tests/auto/qdir/searchdir/subdir1/picker.png
Normal file
|
@ -0,0 +1 @@
|
|||
mostly empty
|
1
tests/auto/qdir/searchdir/subdir2/picker.png
Normal file
1
tests/auto/qdir/searchdir/subdir2/picker.png
Normal file
|
@ -0,0 +1 @@
|
|||
mostly empty
|
1
tests/auto/qdir/testData/empty
Normal file
1
tests/auto/qdir/testData/empty
Normal file
|
@ -0,0 +1 @@
|
|||
this is just so QDir has something to dive into.
|
13
tests/auto/qdir/testdir/dir/Makefile
Normal file
13
tests/auto/qdir/testdir/dir/Makefile
Normal 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:
|
||||
|
2
tests/auto/qdir/testdir/dir/qdir.pro
Normal file
2
tests/auto/qdir/testdir/dir/qdir.pro
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
|
42
tests/auto/qdir/testdir/dir/qrc_qdir.cpp
Normal file
42
tests/auto/qdir/testdir/dir/qrc_qdir.cpp
Normal 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$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
|
0
tests/auto/qdir/testdir/dir/tmp/empty
Normal file
0
tests/auto/qdir/testdir/dir/tmp/empty
Normal file
42
tests/auto/qdir/testdir/dir/tst_qdir.cpp
Normal file
42
tests/auto/qdir/testdir/dir/tst_qdir.cpp
Normal 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$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
|
0
tests/auto/qdir/testdir/spaces/foo. bar
Normal file
0
tests/auto/qdir/testdir/spaces/foo. bar
Normal file
0
tests/auto/qdir/testdir/spaces/foo.bar
Normal file
0
tests/auto/qdir/testdir/spaces/foo.bar
Normal file
1649
tests/auto/qdir/tst_qdir.cpp
Normal 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
0
tests/auto/qdir/types/a
Normal file
1
tests/auto/qdir/types/a.a
Normal file
1
tests/auto/qdir/types/a.a
Normal file
|
@ -0,0 +1 @@
|
|||
a
|
1
tests/auto/qdir/types/a.b
Normal file
1
tests/auto/qdir/types/a.b
Normal file
|
@ -0,0 +1 @@
|
|||
aa
|
1
tests/auto/qdir/types/a.c
Normal file
1
tests/auto/qdir/types/a.c
Normal file
|
@ -0,0 +1 @@
|
|||
aaa
|
0
tests/auto/qdir/types/b
Normal file
0
tests/auto/qdir/types/b
Normal file
1
tests/auto/qdir/types/b.a
Normal file
1
tests/auto/qdir/types/b.a
Normal file
|
@ -0,0 +1 @@
|
|||
aaaaaa
|
1
tests/auto/qdir/types/b.b
Normal file
1
tests/auto/qdir/types/b.b
Normal file
|
@ -0,0 +1 @@
|
|||
aaaa
|
1
tests/auto/qdir/types/b.c
Normal file
1
tests/auto/qdir/types/b.c
Normal file
|
@ -0,0 +1 @@
|
|||
aaaaa
|
0
tests/auto/qdir/types/c
Normal file
0
tests/auto/qdir/types/c
Normal file
1
tests/auto/qdir/types/c.a
Normal file
1
tests/auto/qdir/types/c.a
Normal file
|
@ -0,0 +1 @@
|
|||
aaaaaaaaa
|
1
tests/auto/qdir/types/c.b
Normal file
1
tests/auto/qdir/types/c.b
Normal file
|
@ -0,0 +1 @@
|
|||
aaaaaaaa
|
1
tests/auto/qdir/types/c.c
Normal file
1
tests/auto/qdir/types/c.c
Normal file
|
@ -0,0 +1 @@
|
|||
aaaaaaa
|
0
tests/auto/qdir/types/d.a/dummy
Normal file
0
tests/auto/qdir/types/d.a/dummy
Normal file
0
tests/auto/qdir/types/d.b/dummy
Normal file
0
tests/auto/qdir/types/d.b/dummy
Normal file
0
tests/auto/qdir/types/d.c/dummy
Normal file
0
tests/auto/qdir/types/d.c/dummy
Normal file
0
tests/auto/qdir/types/d/dummy
Normal file
0
tests/auto/qdir/types/d/dummy
Normal file
0
tests/auto/qdir/types/e.a/dummy
Normal file
0
tests/auto/qdir/types/e.a/dummy
Normal file
0
tests/auto/qdir/types/e.b/dummy
Normal file
0
tests/auto/qdir/types/e.b/dummy
Normal file
0
tests/auto/qdir/types/e.c/dummy
Normal file
0
tests/auto/qdir/types/e.c/dummy
Normal file
0
tests/auto/qdir/types/e/dummy
Normal file
0
tests/auto/qdir/types/e/dummy
Normal file
0
tests/auto/qdir/types/f.a/dummy
Normal file
0
tests/auto/qdir/types/f.a/dummy
Normal file
0
tests/auto/qdir/types/f.b/dummy
Normal file
0
tests/auto/qdir/types/f.b/dummy
Normal file
0
tests/auto/qdir/types/f.c/dummy
Normal file
0
tests/auto/qdir/types/f.c/dummy
Normal file
0
tests/auto/qdir/types/f/dummy
Normal file
0
tests/auto/qdir/types/f/dummy
Normal file
Loading…
Add table
Reference in a new issue