~matttbe/ubuntu/raring/poppler/lp1072129

« back to all changes in this revision

Viewing changes to qt4/tests/check_attachments.cpp

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2011-12-05 17:23:02 UTC
  • mfrom: (1.7.1)
  • Revision ID: package-import@ubuntu.com-20111205172302-tmhrk7s9hikjsa79
Tags: 0.18.2-0ubuntu1
* New upstream version, bugs fixed in the new version (lp: #869850):
  - lines and graphics wrongly rendered (lp: #603929) (lp: #780169)
  - rendering issues on some documents (lp: #784154)
  - some pages are displayed blank (lp: #817626)
* debian/control, debian/rules:
  - updated for the libpoppler and libpoppler-glib soname changes
* drop patches included in the new version
* debian/libpoppler-glib-dev.install:
  - drop deprecated test-poppler-glib
* debian/rules: 
  - drop deprecated qt3 and abiword configure options

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
    Poppler::EmbeddedFile *embfile = fileList.at(0);
42
42
    QCOMPARE( embfile->name(), QString( "kroller.png" ) );
43
 
    QCOMPARE( embfile->description(), QString("/home/bradh/coding/svn-vers/KDE/kdeartwork/wallpapers/kroller.png") );
 
43
    QCOMPARE( embfile->description(), QString() );
44
44
    QCOMPARE( embfile->createDate(), QDateTime( QDate(), QTime() ) );
45
45
    QCOMPARE( embfile->modDate(), QDateTime( QDate(), QTime() ) );
46
46
    QCOMPARE( embfile->mimeType(), QString() );
54
54
 
55
55
    Poppler::EmbeddedFile *embfile2 = fileList.at(1);
56
56
    QCOMPARE( embfile2->name(), QString("gnome-64.gif") );
57
 
    QCOMPARE( embfile2->description(), QString("/usr/share/gnome-about/gnome-64.gif") );
 
57
    QCOMPARE( embfile2->description(), QString() );
58
58
    QCOMPARE( embfile2->modDate(), QDateTime( QDate(), QTime() ) );
59
59
    QCOMPARE( embfile2->createDate(), QDateTime( QDate(), QTime() ) );
60
60
    QCOMPARE( embfile2->mimeType(), QString() );
84
84
 
85
85
    Poppler::EmbeddedFile *embfile1 = fileList.at(0);
86
86
    QCOMPARE( embfile1->name(), QString("Acro7 thoughts") );
87
 
    QCOMPARE( embfile1->description(), QString("Acro7 Thoughts") );
 
87
    QCOMPARE( embfile1->description(), QString() );
88
88
    QCOMPARE( embfile1->createDate(), QDateTime( QDate( 2003, 8, 4 ), QTime( 13, 54, 54), Qt::UTC ) );
89
89
    QCOMPARE( embfile1->modDate(), QDateTime( QDate( 2003, 8, 4 ), QTime( 14, 15, 27), Qt::UTC ) );
90
90
    QCOMPARE( embfile1->mimeType(), QString("text/xml") );
91
91
 
92
92
    Poppler::EmbeddedFile *embfile2 = fileList.at(1);
93
93
    QCOMPARE( embfile2->name(), QString("acro transitions 1.xls") );
94
 
    QCOMPARE( embfile2->description(), QString("AcroTransitions") );
 
94
    QCOMPARE( embfile2->description(), QString() );
95
95
    QCOMPARE( embfile2->createDate(), QDateTime( QDate( 2003, 7, 18 ), QTime( 21, 7, 16), Qt::UTC ) );
96
96
    QCOMPARE( embfile2->modDate(), QDateTime( QDate( 2003, 7, 22 ), QTime( 13, 4, 40), Qt::UTC ) );
97
97
    QCOMPARE( embfile2->mimeType(), QString("application/excel") );
98
98
 
99
99
    Poppler::EmbeddedFile *embfile3 = fileList.at(2);
100
100
    QCOMPARE( embfile3->name(), QString("apago_pdfe_wide.gif") );
101
 
    QCOMPARE( embfile3->description(), QString("PDFE Animation") );
 
101
    QCOMPARE( embfile3->description(), QString() );
102
102
    QCOMPARE( embfile3->createDate(), QDateTime( QDate( 2003, 1, 31 ), QTime( 15, 54, 29), Qt::UTC ) );
103
103
    QCOMPARE( embfile3->modDate(), QDateTime( QDate( 2003, 1, 31 ), QTime( 15, 52, 58), Qt::UTC ) );
104
104
    QCOMPARE( embfile3->mimeType(), QString() );
121
121
 
122
122
    Poppler::EmbeddedFile *embfile = fileList.at(0);
123
123
    QCOMPARE( embfile->name(), QString( "ADEX1.xpdf.pgp" ) );
124
 
    QCOMPARE( embfile->description(), QString("encrypted version of document") );
 
124
    QCOMPARE( embfile->description(), QString() );
125
125
    QCOMPARE( embfile->createDate(), QDateTime( QDate( 2004, 3, 29 ), QTime( 19, 37, 16), Qt::UTC ) );
126
126
    QCOMPARE( embfile->modDate(), QDateTime( QDate( 2004, 3, 29 ), QTime( 19, 37, 16), Qt::UTC ) );
127
127
    QCOMPARE( embfile->mimeType(), QString() );