Show
Ignore:
Timestamp:
04/10/06 11:11:30 (3 years ago)
Author:
jordi
Message:

The Document class now actually tries to open a PDFDoc document from Poppler and reports an error if it can't find the PDF file.

Also, now the test file has a member which is the document to test, since it will be the same for all test (even for the empty, because I don't load a file in the setUp() function).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DocumentTest.h

    r4 r6  
    2727        CPPUNIT_TEST_SUITE (DocumentTest); 
    2828        CPPUNIT_TEST (emptyDocument); 
     29        CPPUNIT_TEST (fileNotFound); 
    2930        CPPUNIT_TEST_SUITE_END (); 
    3031 
     
    3435 
    3536            void emptyDocument (void); 
     37            void fileNotFound (void); 
     38 
     39        private: 
     40            Document *m_Document; 
    3641    }; 
    3742}