Doc: Fixing typo
Fix typos I was able to find in `tests/auto' directory. Change-Id: Id0bfcc18301381ac8b1ca8d5af17bd926e5913d4 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
parent
264272fb88
commit
c3313fdd1c
@ -195,7 +195,7 @@ void tst_QSize::expandedTo_data()
|
||||
QTest::newRow("data0") << QSize(10,12) << QSize(6,4) << QSize(10,12);
|
||||
QTest::newRow("data1") << QSize(0,0) << QSize(6,4) << QSize(6,4);
|
||||
// This should pick the highest of w,h components independently of each other,
|
||||
// thus the result dont have to be equal to neither input1 nor input2.
|
||||
// thus the results don't have to be equal to neither input1 nor input2.
|
||||
QTest::newRow("data3") << QSize(6,4) << QSize(4,6) << QSize(6,6);
|
||||
}
|
||||
|
||||
@ -217,7 +217,7 @@ void tst_QSize::boundedTo_data()
|
||||
QTest::newRow("data0") << QSize(10,12) << QSize(6,4) << QSize(6,4);
|
||||
QTest::newRow("data1") << QSize(0,0) << QSize(6,4) << QSize(0,0);
|
||||
// This should pick the lowest of w,h components independently of each other,
|
||||
// thus the result dont have to be equal to neither input1 nor input2.
|
||||
// thus the results don't have to be equal to neither input1 nor input2.
|
||||
QTest::newRow("data3") << QSize(6,4) << QSize(4,6) << QSize(4,4);
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,7 @@ void tst_QSizeF::expandedTo_data() {
|
||||
QTest::newRow("data0") << QSizeF(10.4, 12.8) << QSizeF(6.6, 4.4) << QSizeF(10.4, 12.8);
|
||||
QTest::newRow("data1") << QSizeF(0.0, 0.0) << QSizeF(6.6, 4.4) << QSizeF(6.6, 4.4);
|
||||
// This should pick the highest of w,h components independently of each other,
|
||||
// thus the result dont have to be equal to neither input1 nor input2.
|
||||
// thus the result don't have to be equal to neither input1 nor input2.
|
||||
QTest::newRow("data3") << QSizeF(6.6, 4.4) << QSizeF(4.4, 6.6) << QSizeF(6.6, 6.6);
|
||||
}
|
||||
|
||||
@ -147,7 +147,7 @@ void tst_QSizeF::boundedTo_data() {
|
||||
QTest::newRow("data0") << QSizeF(10.4, 12.8) << QSizeF(6.6, 4.4) << QSizeF(6.6, 4.4);
|
||||
QTest::newRow("data1") << QSizeF(0.0, 0.0) << QSizeF(6.6, 4.4) << QSizeF(0.0, 0.0);
|
||||
// This should pick the lowest of w,h components independently of each other,
|
||||
// thus the result dont have to be equal to neither input1 nor input2.
|
||||
// thus the result don't have to be equal to neither input1 nor input2.
|
||||
QTest::newRow("data3") << QSizeF(6.6, 4.4) << QSizeF(4.4, 6.6) << QSizeF(4.4, 4.4);
|
||||
}
|
||||
|
||||
|
@ -4722,7 +4722,7 @@ void tst_QString::compare_data()
|
||||
QTest::newRow("data8") << upper << lower << -1 << 0;
|
||||
|
||||
// embedded nulls
|
||||
// These dont work as of now. Its OK that these dont work since \0 is not a valid unicode
|
||||
// These don't work as of now. It's OK that these don't work since \0 is not a valid unicode
|
||||
/*QTest::newRow("data9") << QString(QByteArray("\0", 1)) << QString(QByteArray("\0", 1)) << 0 << 0;
|
||||
QTest::newRow("data10") << QString(QByteArray("\0", 1)) << QString("") << 1 << 1;
|
||||
QTest::newRow("data11") << QString("") << QString(QByteArray("\0", 1)) << -1 << -1;
|
||||
|
@ -812,7 +812,7 @@ void tst_QStringRef::compare_data()
|
||||
QTest::newRow("data8") << upper << lower << -1 << 0;
|
||||
|
||||
// embedded nulls
|
||||
// These dont work as of now. Its OK that these dont work since \0 is not a valid unicode
|
||||
// These don't work as of now. It's OK that these don't work since \0 is not a valid unicode
|
||||
/*QTest::newRow("data9") << QString(QByteArray("\0", 1)) << QString(QByteArray("\0", 1)) << 0 << 0;
|
||||
QTest::newRow("data10") << QString(QByteArray("\0", 1)) << QString("") << 1 << 1;
|
||||
QTest::newRow("data11") << QString("") << QString(QByteArray("\0", 1)) << -1 << -1;
|
||||
|
@ -868,7 +868,7 @@ void tst_QTextDocumentFragment::unorderedListEnumeration()
|
||||
|
||||
void tst_QTextDocumentFragment::resetHasBlockAfterClosedBlockTags()
|
||||
{
|
||||
// when closing tags we have to make sure hasBlock in import() gets resetted
|
||||
// when closing tags we have to make sure hasBlock in import() gets reset
|
||||
const char html[] = "<body><table><tr><td><td><p></table><p></body>";
|
||||
setHtml(QString::fromLatin1(html));
|
||||
QVERIFY(!doc->isEmpty());
|
||||
|
@ -3703,7 +3703,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
|
||||
|
||||
|
||||
/* These requests allow control to move from the simulated CPU to the
|
||||
real CPU, calling an arbitary function.
|
||||
real CPU, calling an arbitrary function.
|
||||
|
||||
Note that the current ThreadId is inserted as the first argument.
|
||||
So this call:
|
||||
|
@ -1787,7 +1787,7 @@ void tst_QSslSocket::disconnectFromHostWhenConnecting()
|
||||
QVERIFY(socket->isOpen());
|
||||
QCOMPARE(socket->bytesToWrite(), qint64(0));
|
||||
|
||||
// dont forget to login
|
||||
// don't forget to login
|
||||
QCOMPARE((int) socket->write("USER ftptest\r\n"), 14);
|
||||
|
||||
}
|
||||
@ -1829,7 +1829,7 @@ void tst_QSslSocket::resetProxy()
|
||||
socket.connectToHostEncrypted(QtNetworkSettings::serverName(), 443);
|
||||
QVERIFY(! socket.waitForConnected(10000));
|
||||
|
||||
// dont forget to login
|
||||
// don't forget to login
|
||||
QCOMPARE((int) socket.write("USER ftptest\r\n"), 14);
|
||||
QCOMPARE((int) socket.write("PASS password\r\n"), 15);
|
||||
|
||||
|
@ -565,7 +565,7 @@ bool atWrapper::loadConfig( QString path )
|
||||
{
|
||||
qDebug() << "Loading config file from ... " << path;
|
||||
configPath = path;
|
||||
//If there is no config file, dont proceed;
|
||||
//If there is no config file, don't proceed;
|
||||
if ( !QFile::exists( path ) )
|
||||
{
|
||||
return false;
|
||||
|
@ -455,7 +455,7 @@ void tst_QMessageBox::staticSourceCompat()
|
||||
QCOMPARE(ret, 1);
|
||||
QCOMPARE(keyToSend, -1);
|
||||
|
||||
if (0) { // dont run these tests since the dialog wont close!
|
||||
if (0) { // don't run these tests since the dialog won't close!
|
||||
keyToSend = Qt::Key_Escape;
|
||||
sendKeySoon();
|
||||
ret = QMessageBox::information(0, "title", "text", "Yes", "No", QString(), 1);
|
||||
|
@ -2522,7 +2522,7 @@ void tst_QWizard::task161658_alignments()
|
||||
|
||||
QWizardPage page;
|
||||
page.setTitle("Title");
|
||||
page.setSubTitle("SUBTITLE#: The subtitle bust be alligned with the rest of the widget");
|
||||
page.setSubTitle("SUBTITLE#: The subtitle bust be aligned with the rest of the widget");
|
||||
|
||||
QLabel label1("Field:");
|
||||
QLineEdit lineEdit1;
|
||||
|
@ -528,7 +528,7 @@ void tst_QSortFilterProxyModel::insertRows_data()
|
||||
<< "Three")
|
||||
<< 2;
|
||||
|
||||
QTest::newRow("insert one row in the begining")
|
||||
QTest::newRow("insert one row in the beginning")
|
||||
<< (QStringList()
|
||||
<< "Two"
|
||||
<< "Three"
|
||||
|
@ -3852,7 +3852,7 @@ public:
|
||||
QItemSelectionModel *oldModel = view->selectionModel();
|
||||
if (oldModel != m_selectionModel)
|
||||
delete oldModel;
|
||||
view->setModel(this); // this creates a new selection model for the view, but we dont want it either ...
|
||||
view->setModel(this); // this creates a new selection model for the view, but we don't want it either ...
|
||||
oldModel = view->selectionModel();
|
||||
view->setSelectionModel(m_selectionModel);
|
||||
delete oldModel;
|
||||
|
@ -154,7 +154,7 @@ void tst_QAbstractSpinBox::task228728_cssselector()
|
||||
{
|
||||
//QAbstractSpinBox does some call to stylehint into his constructor.
|
||||
//so while the stylesheet want to access property, it should not crash
|
||||
qApp->setStyleSheet("[alignement=\"1\"], [text=\"foo\"] { color:black; }" );
|
||||
qApp->setStyleSheet("[alignment=\"1\"], [text=\"foo\"] { color:black; }" );
|
||||
QSpinBox box;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user