]> granicus.if.org Git - imagemagick/commitdiff
Removed test for 'view'.
authordirk <dirk@git.imagemagick.org>
Sun, 10 Jan 2016 09:02:00 +0000 (10:02 +0100)
committerdirk <dirk@git.imagemagick.org>
Sun, 10 Jan 2016 09:02:22 +0000 (10:02 +0100)
Magick++/tests/attributes.cpp

index 67ba3202a5029f3ba610635fa7cd5e8fcfc6326d..11f70ba692c7b9d591c0a94779b403aaff7f55c9 100644 (file)
@@ -1373,32 +1373,6 @@ int main( int /*argc*/, char ** argv)
              << ", verbose is not false as expected" << endl;
       }
 
-    //
-    // view
-    //
-    if ( image.view().length() != 0 )
-      {
-       ++failures;
-       cout << "Line: " << __LINE__
-             << ", view default is not empty string as expected" << endl;
-      }
-    
-    image.view("How now brown cow?");
-    if ( image.view() != "How now brown cow?" )
-      {
-       ++failures;
-       cout << "Line: " << __LINE__
-             << ", view set/get failed" << endl;
-      }
-
-    image.view( string() );
-    if ( image.view().length() != 0 )
-      {
-       ++failures;
-       cout << "Line: " << __LINE__
-             << ", view failed to unset" << endl;
-      }
-
     //
     // x11Display
     //