Show
Ignore:
Timestamp:
04/14/06 13:42:25 (3 years ago)
Author:
jordi
Message:

The main presenter now sets the sensitiveness of a "Reload" action, still to implement, thought.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/MainPterTest.cxx

    r58 r62  
    6969    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); 
    7070    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     71    CPPUNIT_ASSERT (!m_View->isSensitiveReload ()); 
    7172    CPPUNIT_ASSERT (!m_View->isSensitiveRotateLeft ()); 
    7273    CPPUNIT_ASSERT (!m_View->isSensitiveRotateRight ()); 
     
    9899    CPPUNIT_ASSERT (m_View->isSensitiveGoToPage ()); 
    99100    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     101    CPPUNIT_ASSERT (m_View->isSensitiveReload ()); 
    100102    CPPUNIT_ASSERT (m_View->isSensitiveRotateLeft ()); 
    101103    CPPUNIT_ASSERT (m_View->isSensitiveRotateRight ()); 
     
    116118    CPPUNIT_ASSERT (m_View->isSensitiveGoToPage ()); 
    117119    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     120    CPPUNIT_ASSERT (m_View->isSensitiveReload ()); 
    118121    CPPUNIT_ASSERT (m_View->isSensitiveRotateLeft ()); 
    119122    CPPUNIT_ASSERT (m_View->isSensitiveRotateRight ()); 
     
    143146    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); 
    144147    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     148    CPPUNIT_ASSERT (!m_View->isSensitiveReload ()); 
    145149    CPPUNIT_ASSERT (!m_View->isSensitiveRotateLeft ()); 
    146150    CPPUNIT_ASSERT (!m_View->isSensitiveRotateRight ()); 
     
    173177    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); 
    174178    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     179    CPPUNIT_ASSERT (!m_View->isSensitiveReload ()); 
    175180    CPPUNIT_ASSERT (!m_View->isSensitiveRotateLeft ()); 
    176181    CPPUNIT_ASSERT (!m_View->isSensitiveRotateRight ()); 
     
    205210    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); 
    206211    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     212    CPPUNIT_ASSERT (!m_View->isSensitiveReload ()); 
    207213    CPPUNIT_ASSERT (!m_View->isSensitiveRotateLeft ()); 
    208214    CPPUNIT_ASSERT (!m_View->isSensitiveRotateRight ()); 
     
    237243    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); 
    238244    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     245    CPPUNIT_ASSERT (!m_View->isSensitiveReload ()); 
    239246    CPPUNIT_ASSERT (!m_View->isSensitiveRotateLeft ()); 
    240247    CPPUNIT_ASSERT (!m_View->isSensitiveRotateRight ()); 
     
    269276    CPPUNIT_ASSERT (m_View->isSensitiveGoToPage ()); 
    270277    CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); 
     278    CPPUNIT_ASSERT (m_View->isSensitiveReload ()); 
    271279    CPPUNIT_ASSERT (m_View->isSensitiveRotateLeft ()); 
    272280    CPPUNIT_ASSERT (m_View->isSensitiveRotateRight ());