bugGNU Octave - Bugs: bug #34943, Test fail in allchild.m (MinGW)

 
 

bug #34943: Test fail in allchild.m (MinGW)

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Wed 30 Nov 2011 05:09:20 AM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 05 Dec 2011 01:09:11 AM UTC, comment #3: 

I have confirmed the FAIL has been fixed.
Thanks!

Tatsuro MATSUOKA <tmacchant>
Fri 02 Dec 2011 10:53:31 PM UTC, comment #2: 
Rik <rik5>
Project Administrator
Wed 30 Nov 2011 09:46:20 PM UTC, comment #1: 

From the octave prompt

octave:1> test allchild
  ***** 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
octave:2> graphics_toolkit fltk
octave:3> test allchild
PASSES 1 out of 1 tests

Then origin of the error is graphics_toolkit is not fltk.

Tatsuro MATSUOKA <tmacchant>
Wed 30 Nov 2011 05:09:20 AM UTC, original submission:  

On the recent development source (changeset 13960:ef96344a6e58), the test for allchild.m

  scripts\plot\allchild.m ................................ PASS    0/1    FAIL 1

>>>> processing e:\usr\Tatsu\mingwhome\octaves\hg\octave-work\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

Any suggestions?

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-02 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5