# HG changeset patch # User Rik # Date 1375302661 25200 # Node ID bd50e06605453a671df31e2f7b85bddbd24a0819 # Parent c97a26408ee0caee4359b99fb7467d911dadb369 test: Add missing semicolons to suppress output in some plot %!tests. * scripts/plot/allchild.m, scripts/plot/findall.m, scripts/plot/findobj.m, scripts/plot/legend.m, scripts/plot/uimenu.m: Add missing semicolons to suppress output in some plot %!tests. diff --git a/scripts/plot/allchild.m b/scripts/plot/allchild.m --- a/scripts/plot/allchild.m +++ b/scripts/plot/allchild.m @@ -45,7 +45,7 @@ %!testif HAVE_FLTK %! toolkit = graphics_toolkit ("fltk"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! l = line; %! assert (get (allchild (hf),"type"),{"axes"; "uimenu"; "uimenu"; "uimenu"}); diff --git a/scripts/plot/findall.m b/scripts/plot/findall.m --- a/scripts/plot/findall.m +++ b/scripts/plot/findall.m @@ -46,7 +46,7 @@ %!testif HAVE_FLTK %! toolkit = graphics_toolkit ("fltk"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! h = findall (hf); %! all_handles(1:13,1) = {"uimenu"}; diff --git a/scripts/plot/findobj.m b/scripts/plot/findobj.m --- a/scripts/plot/findobj.m +++ b/scripts/plot/findobj.m @@ -317,7 +317,7 @@ %!test %! toolkit = graphics_toolkit ("gnuplot"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! h1 = subplot (2, 2, 1); %! h2 = subplot (2, 2, 2); @@ -334,7 +334,7 @@ %!test %! toolkit = graphics_toolkit ("gnuplot"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! h1 = subplot (2, 2, 1); %! set (h1, 'tag', '1') diff --git a/scripts/plot/legend.m b/scripts/plot/legend.m --- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -1548,7 +1548,7 @@ %!test %! toolkit = graphics_toolkit ("gnuplot"); -%! h = figure ("visible", "off") +%! h = figure ("visible", "off"); %! unwind_protect %! position = get (h, "position"); %! plot (rand (3)); diff --git a/scripts/plot/uimenu.m b/scripts/plot/uimenu.m --- a/scripts/plot/uimenu.m +++ b/scripts/plot/uimenu.m @@ -102,7 +102,7 @@ %!testif HAVE_FLTK %! toolkit = graphics_toolkit ("fltk"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! ui = uimenu ("label", "mylabel"); %! assert (findobj (hf, "type", "uimenu"), ui); @@ -119,7 +119,7 @@ %% check for top level menus file, edit, and help %!testif HAVE_FLTK %! toolkit = graphics_toolkit ("fltk"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! uif = findall (hf, "label", "&file"); %! assert (ishghandle (uif)); @@ -134,7 +134,7 @@ %!testif HAVE_FLTK %! toolkit = graphics_toolkit ("fltk"); -%! hf = figure ("visible", "off") +%! hf = figure ("visible", "off"); %! unwind_protect %! uie = findall (hf, "label", "&edit"); %! myui = uimenu (uie, "label", "mylabel");