summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qhttp/tst_qhttp.cpp8
-rw-r--r--tests/auto/qxmlschema/tst_qxmlschema.cpp24
-rw-r--r--tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp12
3 files changed, 22 insertions, 22 deletions
diff --git a/tests/auto/qhttp/tst_qhttp.cpp b/tests/auto/qhttp/tst_qhttp.cpp
index 0f2d257..e996cb0 100644
--- a/tests/auto/qhttp/tst_qhttp.cpp
+++ b/tests/auto/qhttp/tst_qhttp.cpp
@@ -737,13 +737,13 @@ void tst_QHttp::proxy_data()
QTest::addColumn<QString>("proxypass");
QTest::newRow("qt-test-server") << QtNetworkSettings::serverName() << 3128
- << QString::fromLatin1("www.qtsoftware.com") << QString::fromLatin1("/")
+ << QString::fromLatin1("qt.nokia.com") << QString::fromLatin1("/")
<< QString::fromLatin1("") << QString::fromLatin1("");
QTest::newRow("qt-test-server pct") << QtNetworkSettings::serverName() << 3128
- << QString::fromLatin1("www.qtsoftware.com") << QString::fromLatin1("/%64eveloper")
+ << QString::fromLatin1("qt.nokia.com") << QString::fromLatin1("/%64eveloper")
<< QString::fromLatin1("") << QString::fromLatin1("");
QTest::newRow("qt-test-server-basic") << QtNetworkSettings::serverName() << 3129
- << QString::fromLatin1("www.qtsoftware.com") << QString::fromLatin1("/")
+ << QString::fromLatin1("qt.nokia.com") << QString::fromLatin1("/")
<< QString::fromLatin1("qsockstest") << QString::fromLatin1("password");
#if 0
@@ -751,7 +751,7 @@ void tst_QHttp::proxy_data()
// the tst_QHttp class is too strict to handle the byte counts sent by dataSendProgress
// So don't run this test:
QTest::newRow("qt-test-server-ntlm") << QtNetworkSettings::serverName() << 3130
- << QString::fromLatin1("www.qtsoftware.com") << QString::fromLatin1("/")
+ << QString::fromLatin1("qt.nokia.com") << QString::fromLatin1("/")
<< QString::fromLatin1("qsockstest") << QString::fromLatin1("password");
#endif
}
diff --git a/tests/auto/qxmlschema/tst_qxmlschema.cpp b/tests/auto/qxmlschema/tst_qxmlschema.cpp
index 33978e8..f0008c8 100644
--- a/tests/auto/qxmlschema/tst_qxmlschema.cpp
+++ b/tests/auto/qxmlschema/tst_qxmlschema.cpp
@@ -152,13 +152,13 @@ void tst_QXmlSchema::copyMutationTest() const
const QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
- const QUrl documentUri("http://www.qtsoftware.com/xmlschematest");
+ const QUrl documentUri("http://qt.nokia.com/xmlschematest");
schema1.load(data, documentUri);
QVERIFY(schema2.isValid() != schema1.isValid());
@@ -176,13 +176,13 @@ void tst_QXmlSchema::documentUri() const
const QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
- const QUrl documentUri("http://www.qtsoftware.com/xmlschematest");
+ const QUrl documentUri("http://qt.nokia.com/xmlschematest");
QXmlSchema schema;
schema.load(data, documentUri);
@@ -213,8 +213,8 @@ void tst_QXmlSchema::loadSchemaDeviceSuccess() const
QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
@@ -231,8 +231,8 @@ void tst_QXmlSchema::loadSchemaDeviceFail() const
QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
@@ -249,8 +249,8 @@ void tst_QXmlSchema::loadSchemaDataSuccess() const
const QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
diff --git a/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp b/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
index 0f15bc8..c1bf0f2 100644
--- a/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
+++ b/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
@@ -62,14 +62,14 @@ static QXmlSchema createValidSchema()
const QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
" <xsd:element name=\"myRoot\" type=\"xsd:string\"/>"
"</xsd:schema>" );
- const QUrl documentUri("http://www.qtsoftware.com/xmlschematest");
+ const QUrl documentUri("http://qt.nokia.com/xmlschematest");
QXmlSchema schema;
schema.load(data, documentUri);
@@ -206,7 +206,7 @@ void tst_QXmlSchemaValidator::loadInstanceDeviceSuccess() const
{
const QXmlSchema schema(createValidSchema());
- QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QBuffer buffer(&data);
buffer.open(QIODevice::ReadOnly);
@@ -218,7 +218,7 @@ void tst_QXmlSchemaValidator::loadInstanceDeviceFail() const
{
const QXmlSchema schema(createValidSchema());
- QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QBuffer buffer(&data);
// a closed device can not be loaded
@@ -230,7 +230,7 @@ void tst_QXmlSchemaValidator::loadInstanceDataSuccess() const
{
const QXmlSchema schema(createValidSchema());
- const QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ const QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QXmlSchemaValidator validator(schema);
QVERIFY(validator.validate(data));