Remove obsolete code from QVariant test.

Change-Id: If609ddbef7002cb48f4459efd8f2c6edb02c8677
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Jason McDonald 2011-11-18 16:25:42 +10:00 committed by Qt by Nokia
parent 30266d8015
commit 4d73b7bbcd
1 changed files with 0 additions and 2 deletions

View File

@ -614,7 +614,6 @@ void tst_QVariant::toInt_data()
bytearray[1] = 'e';
bytearray[2] = 's';
bytearray[3] = 't';
// bytearray[4] = '\0';
QTest::newRow( "QByteArray1" ) << QVariant( bytearray ) << 0 << false;
bytearray[0] = '4';
bytearray[1] = '5';
@ -628,7 +627,6 @@ void tst_QVariant::toInt()
QFETCH( QVariant, value );
QFETCH( int, result );
QFETCH( bool, valueOK );
// QEXPECT_FAIL("QByteArray", "Expected to not yet be able to convert QByteArray to int", Abort);
QVERIFY( value.isValid() == value.canConvert( QVariant::Int ) );
bool ok;
int i = value.toInt( &ok );