openbsd-ports/databases/soprano/patches/patch-test_sopranoliteraltest_cpp
2010-06-16 13:42:24 +00:00

20 lines
1.3 KiB
Plaintext

$OpenBSD: patch-test_sopranoliteraltest_cpp,v 1.2 2010/06/16 13:42:24 espie Exp $
--- test/sopranoliteraltest.cpp.orig Fri May 1 15:39:20 2009
+++ test/sopranoliteraltest.cpp Fri May 28 22:44:58 2010
@@ -152,6 +152,7 @@ void SopranoLiteralTest::testToString_data()
QTest::newRow( "boolean-true (from constructor)" ) << LiteralValue( true ) << QString( "true" );
QTest::newRow( "binaryData (from constructor)" ) << LiteralValue( QByteArray( "Hello World" ) ) << QString::fromAscii( QByteArray( "Hello World" ).toBase64() );
+#if 0
QTest::newRow( "int (from operator=)" ) << ( LiteralValue() = (int)-17 ) << QString( "-17" );
QTest::newRow( "long (from operator=)" ) << ( LiteralValue() = (qlonglong)17927948235235LL ) << QString("17927948235235");
QTest::newRow( "unsignedInt (from operator=)" ) << ( LiteralValue() = (unsigned int)17 ) << QString( "17" );
@@ -165,6 +166,7 @@ void SopranoLiteralTest::testToString_data()
QTest::newRow( "boolean-false (from operator=)" ) << ( LiteralValue() = false ) << QString( "false" );
QTest::newRow( "boolean-true (from operator=)" ) << ( LiteralValue() = true ) << QString( "true" );
QTest::newRow( "binaryData (from operator=)" ) << ( LiteralValue() = QByteArray( "Hello World" ) ) << QString::fromAscii( QByteArray( "Hello World" ).toBase64() );
+#endif
}