Show
Ignore:
Timestamp:
04/11/06 08:14:31 (3 years ago)
Author:
jordi
Message:

I added the dumb document and main view for testing.

I had to create a Document Interface (IDocument) to handle the dumb document for tests. I moved the Document.{cxx,h} files to PDFDocument.{cxx,h}. The rotation, page change and scaling functions remains in IDocument, as well as the error functions and enumerations. The PDF specific portions of the document has been kept in the PDFDocument class.

The test name is also updated to PDFDocumentTest, and all tests runs OK.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/MainPterTest.h

    r20 r21  
    2626    { 
    2727        CPPUNIT_TEST_SUITE (MainPterTest); 
     28        CPPUNIT_TEST (initialStatus); 
    2829        CPPUNIT_TEST_SUITE_END(); 
    2930 
     
    3132            void setUp (void); 
    3233            void tearDown (void); 
     34 
     35            void initialStatus (void); 
     36 
     37        private: 
     38/*            DumbMainView *m_View; 
     39            DumbDocument *m_Document; 
     40            MainPter *m_MainPter;            */ 
    3341    }; 
    3442}