equal
deleted
inserted
replaced
37 ** |
37 ** |
38 ** $QT_END_LICENSE$ |
38 ** $QT_END_LICENSE$ |
39 ** |
39 ** |
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
|
42 |
|
43 // SCENARIO 3 |
|
44 // this is the "no harm done" version. Only operator% is active, |
|
45 // with NO_CAST * _not_ defined |
|
46 #define P % |
|
47 #undef QT_USE_FAST_OPERATOR_PLUS |
|
48 #undef QT_USE_FAST_CONCATENATION |
|
49 #undef QT_NO_CAST_FROM_ASCII |
|
50 #undef QT_NO_CAST_TO_ASCII |
|
51 |
|
52 |
|
53 #include <QtTest/QtTest> |
|
54 |
|
55 //TESTED_CLASS=QStringBuilder |
|
56 //TESTED_FILES=qstringbuilder.cpp |
|
57 |
|
58 #define LITERAL "some literal" |
|
59 |
|
60 void runScenario(); // Defined in stringbuilder.cpp #included below. |
|
61 |
|
62 class tst_QStringBuilder3 : public QObject |
|
63 { |
|
64 Q_OBJECT |
|
65 |
|
66 private slots: |
|
67 void scenario() { runScenario(); } |
|
68 }; |
|
69 |
42 #include "../qstringbuilder1/stringbuilder.cpp" |
70 #include "../qstringbuilder1/stringbuilder.cpp" |
|
71 #include "tst_qstringbuilder3.moc" |
|
72 |
|
73 QTEST_APPLESS_MAIN(tst_QStringBuilder3) |