Changeset 212 for trunk/tests/MainPterTest.cxx
- Timestamp:
- 06/10/06 11:43:58 (2 years ago)
- Files:
-
- 1 modified
-
trunk/tests/MainPterTest.cxx (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/MainPterTest.cxx
r210 r212 93 93 CPPUNIT_ASSERT (m_View->isShownToolbar ()); 94 94 CPPUNIT_ASSERT (m_View->isShownStatusbar ()); 95 #if defined (HAVE_CUPS) 96 CPPUNIT_ASSERT (!m_View->isSensitivePrint ()); 97 #endif // HAVE_CUPS 95 98 } 96 99 … … 127 130 CPPUNIT_ASSERT (m_View->isSensitiveZoomWidth ()); 128 131 CPPUNIT_ASSERT (!m_View->isShownIndex ()); 132 #if defined (HAVE_CUPS) 133 CPPUNIT_ASSERT (m_View->isSensitivePrint ()); 134 #endif // HAVE_CUPS 129 135 130 136 // Now try a document with a title. … … 149 155 CPPUNIT_ASSERT (m_View->isSensitiveZoomWidth ()); 150 156 CPPUNIT_ASSERT (!m_View->isShownIndex ()); 157 #if defined (HAVE_CUPS) 158 CPPUNIT_ASSERT (m_View->isSensitivePrint ()); 159 #endif // HAVE_CUPS 151 160 } 152 161 … … 179 188 CPPUNIT_ASSERT (!m_View->isSensitiveZoomWidth ()); 180 189 CPPUNIT_ASSERT (!m_View->shownError ()); 190 #if defined (HAVE_CUPS) 191 CPPUNIT_ASSERT (!m_View->isSensitivePrint ()); 192 #endif // HAVE_CUPS 181 193 } 182 194 … … 213 225 CPPUNIT_ASSERT (!m_View->isSensitiveZoomWidth ()); 214 226 CPPUNIT_ASSERT (m_View->shownError ()); 227 #if defined (HAVE_CUPS) 228 CPPUNIT_ASSERT (!m_View->isSensitivePrint ()); 229 #endif // HAVE_CUPS 215 230 } 216 231 … … 248 263 CPPUNIT_ASSERT (!m_View->isSensitiveZoomWidth ()); 249 264 CPPUNIT_ASSERT (!m_View->shownError ()); 265 #if defined (HAVE_CUPS) 266 CPPUNIT_ASSERT (!m_View->isSensitivePrint ()); 267 #endif // HAVE_CUPS 250 268 } 251 269 … … 284 302 CPPUNIT_ASSERT (m_View->shownError ()); 285 303 CPPUNIT_ASSERT_EQUAL (3, m_View->countTimesShownPasswordPrompt ()); 304 #if defined (HAVE_CUPS) 305 CPPUNIT_ASSERT (!m_View->isSensitivePrint ()); 306 #endif // HAVE_CUPS 286 307 } 287 308 … … 319 340 CPPUNIT_ASSERT (!m_View->shownError ()); 320 341 CPPUNIT_ASSERT_EQUAL (1, m_View->countTimesShownPasswordPrompt ()); 342 #if defined (HAVE_CUPS) 343 CPPUNIT_ASSERT (m_View->isSensitivePrint ()); 344 #endif // HAVE_CUPS 321 345 } 322 346
