qtmobility/tests/auto/qgeosatelliteinfo/tst_qgeosatelliteinfo.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
   306     void removeAttribute_data()
   306     void removeAttribute_data()
   307     {
   307     {
   308         attribute_data();
   308         attribute_data();
   309     }
   309     }
   310 
   310 
       
   311     void datastream()
       
   312     {
       
   313         QFETCH(QGeoSatelliteInfo, info);
       
   314 
       
   315         QByteArray ba;
       
   316         QDataStream out(&ba, QIODevice::WriteOnly);
       
   317         out << info;
       
   318 
       
   319         QDataStream in(&ba, QIODevice::ReadOnly);
       
   320         QGeoSatelliteInfo inInfo;
       
   321         in >> inInfo;
       
   322         QCOMPARE(inInfo, info);
       
   323     }
       
   324 
       
   325     void datastream_data()
       
   326     {
       
   327         addTestData_update();
       
   328     }
       
   329 
   311     void debug()
   330     void debug()
   312     {
   331     {
   313         QFETCH(QGeoSatelliteInfo, info);
   332         QFETCH(QGeoSatelliteInfo, info);
   314         QFETCH(QByteArray, debugString);
   333         QFETCH(QByteArray, debugString);
   315 
   334