octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test failures on uimenu


From: marco atzeri
Subject: test failures on uimenu
Date: Fri, 25 Nov 2011 17:28:07 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

Are these type of failures expected or it is just a cygwin issue ?

$ hg tip
changeset:   13930:fe088cef3503
tag:         tip
user:        Rik <address@hidden>
date:        Wed Nov 23 08:44:29 2011 -0800
summary:     doc: Add missing @group/@end group to orderfields docstring



>>>>> processing /pub/hg/octave/scripts/plot/allchild.m
  ***** test
 hf = figure ("visible", "off");
 unwind_protect
   l = line;
   assert(get(allchild(hf),'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'})
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
assert (get (allchild (hf), 'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'}) expected
{
  [1,1] = axes
  [2,1] = uimenu
  [3,1] = uimenu
  [4,1] = uimenu
}
but got
axes



>>>>> processing /pub/hg/octave/scripts/plot/findall.m
  ***** test
 hf = figure ("visible", "off");
 unwind_protect
   h = findall (hf);
all_handles = {"uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "uimenu"; "figure"};
   assert (get (h, 'type'), all_handles)
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
assert (get (h, 'type'),all_handles) expected
{
  [1,1] = uimenu
  [2,1] = uimenu
  [3,1] = uimenu
  [4,1] = uimenu
  [5,1] = uimenu
  [6,1] = uimenu
  [7,1] = uimenu
  [8,1] = uimenu
  [9,1] = uimenu
  [10,1] = uimenu
  [11,1] = uimenu
  [12,1] = uimenu
  [13,1] = uimenu
  [14,1] = figure
}
but got
figure


>>>>> processing /pub/hg/octave/scripts/plot/uimenu.m
  ***** test
 hf = figure ("visible", "off");
 unwind_protect
   uie = findall (hf, "label", "&edit");
   myui = uimenu (uie, "label", "mylabel");
   assert (ancestor (myui, "uimenu", "toplevel"), uie)
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
uimenu: invalid parent handle.


Regards
Marco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]