Show
Ignore:
Timestamp:
06/12/06 16:40:59 (2 years ago)
Author:
jordi
Message:

The MainView? now has a separate widget for the current page number and the total page number, as requested in bug #37 closed in this revision.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/MainPterTest.cxx

    r212 r227  
    454454    m_MainPter->openFileActivated (); 
    455455    m_MainPter->waitForFileLoaded (); 
    456     // Check that sets the correct number of pages and the current page. 
    457     CPPUNIT_ASSERT_EQUAL (4, m_View->getTotalPages ()); 
     456    // Check that sets the correct current page. 
    458457    CPPUNIT_ASSERT_EQUAL (1, m_View->getCurrentPage ()); 
    459458    // Going to the next page should make all actions sensitive. 
     
    523522    m_MainPter->openFileActivated (); 
    524523    m_MainPter->waitForFileLoaded (); 
    525     // Check that sets the correct number of pages and the current page. 
    526     CPPUNIT_ASSERT_EQUAL (4, m_View->getTotalPages ()); 
     524    // Check that sets the correct current page. 
    527525    CPPUNIT_ASSERT_EQUAL (1, m_View->getCurrentPage ()); 
    528526