+ // Disable text labels
+ myBathPrs->TextLabels( false );
+ vp->fitAll();
+ qApp->processEvents();
+ TestViewer::setKey( "bathy_prs" );
+ CPPUNIT_ASSERT_IMAGES;
+
+ // Special case: flag=false + non-empty selection
+ select( x1, y1, x2, y2 );
+ myBathPrs->TextLabels( false );
+ vp->fitAll();
+ qApp->processEvents();
+ TestViewer::setKey( "bathy_prs" );
+ CPPUNIT_ASSERT_IMAGES;
+
+