1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[PACtest] qupzilla.com is now on own VPS

This commit is contained in:
nowrep 2014-02-17 20:18:10 +01:00
parent b9bdb99ee8
commit ed99915bff

View File

@ -135,9 +135,9 @@ void PacTest::isInNetTest_data()
QTest::newRow("doc2-3") << "128.94.249.79" << "198.95.0.0" << "255.255.0.0" << false; QTest::newRow("doc2-3") << "128.94.249.79" << "198.95.0.0" << "255.255.0.0" << false;
QTest::newRow("doc2-3") << "23.94.249.79" << "198.95.0.0" << "255.255.0.0" << false; QTest::newRow("doc2-3") << "23.94.249.79" << "198.95.0.0" << "255.255.0.0" << false;
// is true if the IP address of host matches 85.118.128.* (qupzilla.com) // is true if the IP address of host matches 46.36.35.* (qupzilla.com)
// if host is passed as hostname, the function needs to resolve it // if host is passed as hostname, the function needs to resolve it
QTest::newRow("resolve1") << "qupzilla.com" << "85.118.128.38" << "255.255.255.0" << true; QTest::newRow("resolve1") << "qupzilla.com" << "46.36.35.38" << "255.255.255.0" << true;
QTest::newRow("resolve1-2") << "yahoo.com" << "173.194.70.0" << "255.255.255.0" << false; QTest::newRow("resolve1-2") << "yahoo.com" << "173.194.70.0" << "255.255.255.0" << false;
QTest::newRow("resolve1-3") << "netscape.com" << "173.194.70.0" << "255.255.255.0" << false; QTest::newRow("resolve1-3") << "netscape.com" << "173.194.70.0" << "255.255.255.0" << false;
QTest::newRow("resolve1-4") << "mozilla.com" << "173.194.70.0" << "255.255.255.0" << false; QTest::newRow("resolve1-4") << "mozilla.com" << "173.194.70.0" << "255.255.255.0" << false;
@ -160,7 +160,7 @@ void PacTest::dnsResolveTest_data()
QTest::addColumn<QString>("result"); QTest::addColumn<QString>("result");
QTest::newRow("localhost") << "localhost" << ""; QTest::newRow("localhost") << "localhost" << "";
QTest::newRow("qz") << "qupzilla.com" << "85.118.128.38"; // This may change... QTest::newRow("qz") << "qupzilla.com" << "46.36.35.106"; // This may change...
} }
void PacTest::dnsResolveTest() void PacTest::dnsResolveTest()