mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
Removed test for 'view'.
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user