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

Divided the pageZoom function from the MainPter? test to ZoomInAndOut?, ZoomWidth? and ZoomFit?, because I'm planning to make ZoomToWith? and ZoomToHeigh? toggle action that deserved separate test cases.

Also added the ZoomToFit? and ZoomToWidth? options to the configuration class. Also the test case was added.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/MainPterTest.h

    r97 r98  
    3737        CPPUNIT_TEST (pageNavigationEntry); 
    3838        CPPUNIT_TEST (pageRotate); 
    39         CPPUNIT_TEST (pageZoom); 
     39        CPPUNIT_TEST (pageZoomInAndOut); 
     40        CPPUNIT_TEST (pageZoomWidth); 
     41        CPPUNIT_TEST (pageZoomFit); 
    4042        CPPUNIT_TEST (reloadNormal); 
    4143        CPPUNIT_TEST (reloadEncrypted); 
     
    5961            void pageNavigationEntry (void); 
    6062            void pageRotate (void); 
    61             void pageZoom (void); 
     63            void pageZoomInAndOut (void); 
     64            void pageZoomWidth (void); 
     65            void pageZoomFit (void); 
    6266            void reloadNormal (void); 
    6367            void reloadEncrypted (void);