tst_QString: remove old HP aCC workaround

Change-Id: I3840d727dee443318644fffd15291b1d77dca2fc
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Thiago Macieira 2018-04-26 14:55:47 -07:00
parent e0b5ff4ad5
commit ff029a9ca8

View File

@ -324,10 +324,8 @@ public:
public slots:
void cleanup();
private slots:
#ifndef Q_CC_HPACC
void fromStdString();
void toStdString();
#endif
void check_QTextIOStream();
void check_QTextStream();
void check_QDataStream();
@ -4056,8 +4054,6 @@ void tst_QString::setRawData()
QVERIFY(cstr.data_ptr() != csd);
}
#ifndef Q_CC_HPACC
// This test crashes on HP-UX with aCC (not supported)
void tst_QString::fromStdString()
{
std::string stroustrup = "foo";
@ -4068,10 +4064,7 @@ void tst_QString::fromStdString()
QString qtnull = QString::fromStdString( stdnull );
QCOMPARE( qtnull.size(), int(stdnull.size()) );
}
#endif
#ifndef Q_CC_HPACC
// This test crashes on HP-UX with aCC (not supported)
void tst_QString::toStdString()
{
QString nord = "foo";
@ -4088,7 +4081,6 @@ void tst_QString::toStdString()
std::string stdnull = qtnull.toStdString();
QCOMPARE( int(stdnull.size()), qtnull.size() );
}
#endif
void tst_QString::utf8()
{