qtmobility/tests/auto/qversitreader/tst_qversitreader.h
changeset 8 71781823f776
parent 5 453da2cfceef
child 11 06b8e2af4411
equal deleted inserted replaced
5:453da2cfceef 8:71781823f776
    77 class tst_QVersitReader : public QObject
    77 class tst_QVersitReader : public QObject
    78 {
    78 {
    79      Q_OBJECT
    79      Q_OBJECT
    80 
    80 
    81 private slots: // Tests
    81 private slots: // Tests
    82 
       
    83     void init();
    82     void init();
    84     void cleanup();
    83     void cleanup();
    85 
    84 
    86     void testDevice();
    85     void testDevice();
    87     void testDefaultCodec();
    86     void testDefaultCodec();
    88     void testReading();
    87     void testReading();
    89     void testResult();
    88     void testResult();
    90     void testSetVersionFromProperty();
    89     void testSetVersionFromProperty();
    91     void testParseNextVersitPropertyVCard21();
    90     void testParseNextVersitProperty();
    92     void testParseNextVersitPropertyVCard30();
    91     void testParseNextVersitProperty_data();
    93     void testParseVersitDocument();
    92     void testParseVersitDocument();
    94     void testParseVersitDocument_data();
    93     void testParseVersitDocument_data();
    95     void testDecodeQuotedPrintable();
    94     void testDecodeQuotedPrintable();
    96     void testDecodeQuotedPrintable_data();
    95     void testDecodeQuotedPrintable_data();
    97     void testParamName();
    96     void testParamName();
   107     void testByteArrayInput();
   106     void testByteArrayInput();
   108     void testRemoveBackSlashEscaping();
   107     void testRemoveBackSlashEscaping();
   109 
   108 
   110 private: // Data
   109 private: // Data
   111     QVersitReader* mReader;
   110     QVersitReader* mReader;
       
   111 #ifdef QT_BUILD_INTERNAL
   112     QVersitReaderPrivate* mReaderPrivate;
   112     QVersitReaderPrivate* mReaderPrivate;
       
   113 #endif
   113     QBuffer* mInputDevice;
   114     QBuffer* mInputDevice;
   114     QTextCodec* mAsciiCodec;
   115     QTextCodec* mAsciiCodec;
   115     SignalCatcher* mSignalCatcher;
   116     SignalCatcher* mSignalCatcher;
   116 };
   117 };
   117 
   118