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

At last, I have the first presenter's test. At the previous commit I forgot to add the MainPter?.cxx and header filers. Are now included in this commit.

The first check just test that the initial state of the main window is what we expect (i.e., no document yet => all unsensitived).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbDocument.h

    r21 r23  
    2121namespace ePDFView 
    2222{ 
    23     class DumbDocument 
     23    class DumbDocument: public IDocument 
    2424    { 
     25        public: 
     26            DumbDocument (); 
     27            ~DumbDocument (); 
     28 
     29            // Interface methods. 
     30            gboolean isLoaded (void); 
     31            gboolean loadFile (const gchar *filename, const gchar *password, 
     32                               GError **error); 
     33            void getPageSize (gdouble *width, gdouble *height); 
     34            DocumentPage *renderPage (void); 
    2535    }; 
    2636}