changeset 17125:bd50e0660545

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.
author Rik <rik@octave.org>
date Wed, 31 Jul 2013 13:31:01 -0700
parents c97a26408ee0
children a639221f9863
files scripts/plot/allchild.m scripts/plot/findall.m scripts/plot/findobj.m scripts/plot/legend.m scripts/plot/uimenu.m
diffstat 5 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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"});
--- 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"};
--- 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')
--- 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));
--- 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");