Show
Ignore:
Timestamp:
06/10/06 09:02:37 (2 years ago)
Author:
jordi
Message:

Added test for checking the save a document functionality.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbDocument.h

    r205 r210  
    3232            gboolean loadFile (const gchar *filename, const gchar *password, 
    3333                               GError **error); 
    34             void getPageSizeForPage (gint pageNum, gdouble *width,  
     34            void getPageSizeForPage (gint pageNum, gdouble *width, 
    3535                                     gdouble *height); 
    3636            DocumentPage *renderPage (gint pageNum); 
    37             gboolean saveFile (const gchar *filename, GError **error); 
     37            gboolean saveFile (const gchar *fileName, GError **error); 
    3838 
    3939            // Test functions. 
     40            const gchar *getSavedFileName (void); 
    4041            void setOpenError (DocumentError error); 
    4142            void setOutline (DocumentOutline *outline); 
     
    4647            DocumentError m_OpenError; 
    4748            gchar *m_TestPassword; 
     49            gchar *m_SavedFileName; 
    4850    }; 
    4951}