| | 50 | |
| | 51 | /// |
| | 52 | /// @brief Tests the initial status of the main presenter. |
| | 53 | /// |
| | 54 | /// Initially the presenter hasn't loeaded a document, yet, so |
| | 55 | /// the main window's title is 'PDF Viewer', the page selection |
| | 56 | /// and zoom actions are unsensitived and the documentView has |
| | 57 | /// no image yet. |
| | 58 | /// |
| | 59 | void |
| | 60 | MainPterTest::initialStatus () |
| | 61 | { |
| | 62 | /* CPPUNIT_ASSERT ( m_View->isShown () ); |
| | 63 | CPPUNIT_ASSERT_EQUAL (0, |
| | 64 | g_ascii_strcasecmp ("PDF Viewer", m_View->getTitle ())); |
| | 65 | CPPUNIT_ASSERT (!m_View->isSensitiveGoToFirstPage ()); |
| | 66 | CPPUNIT_ASSERT (!m_View->isSensitiveGoToLastPage ()); |
| | 67 | CPPUNIT_ASSERT (!m_View->isSensitiveGoToNextPage ()); |
| | 68 | CPPUNIT_ASSERT (!m_View->isSensitiveGoToPage ()); |
| | 69 | CPPUNIT_ASSERT (!m_View->isSensitiveGoToPreviousPage ()); |
| | 70 | CPPUNIT_ASSERT (!m_View->isSensitiveZoomIn ()); |
| | 71 | CPPUNIT_ASSERT (!m_View->isSensitiveZoomOut ()); |
| | 72 | CPPUNIT_ASSERT (!m_View->isSensitiveZoomFit ()); |
| | 73 | CPPUNIT_ASSERT (!m_View->isSensitiveZoomWidth ()); |
| | 74 | CPPUNIT_ASSERT (!m_View->hasImagePageView ()); */ |
| | 75 | } |