annotate test/bug-55322.tst @ 31214:19bd1953fc1d stable

GitHub-CI: Remove ubuntu-18.04 runners from build matrix. * .github/workflow/make.yaml (ubuntu): GitHub-hosted runners for ubuntu-18.04 are being deprecated. Remove them from build matrix. See also: https://github.com/actions/runner-images/issues/6002
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 30 Aug 2022 11:16:27 +0200
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/>.
26319
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
7 ##
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
8 ## This file is part of Octave.
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
9 ##
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
13 ## (at your option) any later version.
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
14 ##
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
18 ## GNU General Public License for more details.
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
19 ##
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
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 ########################################################################
26319
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
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 <*55322>
26319
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
27 %! hf = figure ("visible", "off");
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
28 %! unwind_protect
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
29 %! hax = axes ("parent", hf);
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
30 %! hg = hggroup ();
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
31 %! hl = line (hax, [0, 1], [1, 1], "parent", hax, "parent", hg);
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
32 %! assert (get (hax, "children"), hg);
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
33 %! assert (get (hg, "children"), hl);
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
34 %! unwind_protect_cleanup
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
35 %! close (hf);
4764e9c0face Stop creating orphaned graphic handles if two "parent" properties given (bug #55322).
Rik <rik@octave.org>
parents:
diff changeset
36 %! end_unwind_protect