mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 16:25:27 +08:00
qt 6.5.1 original
This commit is contained in:
9
tests/auto/corelib/serialization/qtextstream/BLACKLIST
Normal file
9
tests/auto/corelib/serialization/qtextstream/BLACKLIST
Normal file
@ -0,0 +1,9 @@
|
||||
[stillOpenWhenAtEnd]
|
||||
windows-7sp1
|
||||
# QTBUG-87410
|
||||
[readStdin]
|
||||
android
|
||||
[readAllFromStdin]
|
||||
android
|
||||
[readLineFromStdin]
|
||||
android
|
@ -0,0 +1,7 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
add_subdirectory(test)
|
||||
add_subdirectory(stdinProcess)
|
||||
add_subdirectory(readAllStdinProcess)
|
||||
add_subdirectory(readLineStdinProcess)
|
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource prefix="/tst_textstream/">
|
||||
<file>resources/big_endian/</file>
|
||||
<file>resources/little_endian/</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource prefix="/">
|
||||
<file>rfc3261.txt</file>
|
||||
<file>task113817.txt</file>
|
||||
<file>tst_qtextstream.cpp</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## readAllStdinProcess Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(readAllStdinProcess
|
||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qtextstream/readAllStdinProcess"
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
|
||||
#include <QtCore/QTextStream>
|
||||
#include <QtCore/QString>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
fprintf(stderr, "%s\n", QTextStream(stdin).readAll().toLatin1().constData());
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## readLineStdinProcess Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(readLineStdinProcess
|
||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qtextstream/readLineStdinProcess"
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
@ -0,0 +1,22 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtCore/QTextStream>
|
||||
#include <QtCore/QString>
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
QCoreApplication a(argc, argv);
|
||||
QTextStream qin(stdin);
|
||||
QTextStream qerr(stderr);
|
||||
QString line;
|
||||
do {
|
||||
line = qin.readLine();
|
||||
if (!line.isNull())
|
||||
qerr << line << Qt::flush;
|
||||
} while (!line.isNull());
|
||||
return 0;
|
||||
}
|
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
@ -0,0 +1 @@
|
||||
cjacka ckha cka ckah ckac kahckadhcbkgdk vkzdfbvajef vkahv
|
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
@ -0,0 +1 @@
|
||||
cjacka ckha cka ckah ckac kahckadhcbkgdk vkzdfbvajef vkahv
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
@ -0,0 +1 @@
|
||||
cjacka ckha cka ckah ckac kahckadhcbkgdk vkzdfbvajef vkahv
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
A
|
@ -0,0 +1 @@
|
||||
B
|
@ -0,0 +1 @@
|
||||
Z
|
@ -0,0 +1 @@
|
||||
z
|
@ -0,0 +1 @@
|
||||
@
|
@ -0,0 +1 @@
|
||||
A
|
@ -0,0 +1 @@
|
||||
B
|
@ -0,0 +1 @@
|
||||
Z
|
@ -0,0 +1 @@
|
||||
z
|
@ -0,0 +1 @@
|
||||
@
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
A
|
@ -0,0 +1 @@
|
||||
B
|
@ -0,0 +1 @@
|
||||
Z
|
@ -0,0 +1 @@
|
||||
z
|
@ -0,0 +1 @@
|
||||
@
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
@ -0,0 +1 @@
|
||||
cjacka ckha cka ckah ckac kahckadhcbkgdk vkzdfbvajef vkahv
|
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
@ -0,0 +1 @@
|
||||
cjacka ckha cka ckah ckac kahckadhcbkgdk vkzdfbvajef vkahv
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user