annotate test/bug-55308.tst @ 30920:47cbc69e66cd

eliminate direct access to call stack from evaluator The call stack is an internal implementation detail of the evaluator. Direct access to it outside of the evlauator should not be needed. * pt-eval.h (tree_evaluator::get_call_stack): Delete.
author John W. Eaton <jwe@octave.org>
date Fri, 08 Apr 2022 15:19:22 -0400
parents 796f54d4ddbf
children 597f3ee61a48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
1 ########################################################################
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
2 ##
30564
796f54d4ddbf update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 30110
diff changeset
3 ## Copyright (C) 2018-2022 The Octave Project Developers
27918
b442ec6dda5c use centralized file for copyright info for individual contributors
John W. Eaton <jwe@octave.org>
parents: 26473
diff changeset
4 ##
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
5 ## See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 ## distribution or <https://octave.org/copyright/>.
26311
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
7 ##
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
8 ## This file is part of Octave.
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
9 ##
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
13 ## (at your option) any later version.
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
14 ##
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
18 ## GNU General Public License for more details.
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
19 ##
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
22 ## <https://www.gnu.org/licenses/>.
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 ##
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 ########################################################################
26311
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
25
30110
9080316864bf update bug status in test suite
John W. Eaton <jwe@octave.org>
parents: 30109
diff changeset
26 %!test <*55308>
26311
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
27 %! hf = figure ("visible", "off");
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
28 %! unwind_protect
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
29 %! hg = hggroup ();
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
30 %! axis ([-2, 2, -2, 2]);
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
31 %! hl = line ([0;1], [0;0], "color", "r");
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
32 %! set (hl, "parent", hg);
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
33 %! unwind_protect_cleanup
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
34 %! close (hf);
3592ad04b0c6 Fix unexpected "xlim" error when re-parenting hggroup (bug #55308).
Rik <rik@octave.org>
parents:
diff changeset
35 %! end_unwind_protect