Mercurial > octave
changeset 26971:f75882347af3
update bug status in tests
* test/bug-45351/bug-45351.tst, test/fcn-handle/object-method.tst,
test/fcn-handle/package-function.tst,
test/fcn-handle/static-method.tst:
Update status of fixed bugs in tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Mar 2019 19:20:09 +0000 |
parents | 340d44f2f942 |
children | d164e70efbf6 |
files | test/bug-45351/bug-45351.tst test/fcn-handle/object-method.tst test/fcn-handle/package-function.tst test/fcn-handle/static-method.tst |
diffstat | 4 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/test/bug-45351/bug-45351.tst Mon Mar 25 18:28:24 2019 +0000 +++ b/test/bug-45351/bug-45351.tst Mon Mar 25 19:20:09 2019 +0000 @@ -1,12 +1,12 @@ %!shared obj, h1, h2, h3 %! obj = bug45351 (); %! [h1, h2, h3] = obj.get_handles (); -%!assert <45351> (obj.bar (1), 'bug45351.foo: 1') -%!assert <45351> (obj.bar (2), 'bug45351.foo: 2') -%!assert <45351> (obj.bar (3), 'bug45351.foo: 3') -%!assert <45351> (h1 (obj, 1), 'bug45351.foo: 1') -%!assert <45351> (h2 (obj, 2), 'bug45351.foo: 2') -%!assert <45351> (h3 (obj, 3), 'bug45351.foo: 3') +%!assert <*45351> (obj.bar (1), 'bug45351.foo: 1') +%!assert <*45351> (obj.bar (2), 'bug45351.foo: 2') +%!assert <*45351> (obj.bar (3), 'bug45351.foo: 3') +%!assert <*45351> (h1 (obj, 1), 'bug45351.foo: 1') +%!assert <*45351> (h2 (obj, 2), 'bug45351.foo: 2') +%!assert <*45351> (h3 (obj, 3), 'bug45351.foo: 3') %!error (obj.h1 (1)) %!error (obj.h2 (2)) %!error (obj.h3 (3))
--- a/test/fcn-handle/object-method.tst Mon Mar 25 18:28:24 2019 +0000 +++ b/test/fcn-handle/object-method.tst Mon Mar 25 19:20:09 2019 +0000 @@ -22,7 +22,7 @@ %! fhsm = @obj.smeth; %!endfunction -%!test <51709> +%!test <*51709> %! [fhm, fhsm] = foo (); %! %! out = fhm (42); @@ -32,7 +32,7 @@ %! assert (isobject (tmp{1})); %! assert (tmp{2}, 42); -%!test <51709> +%!test <*51709> %! [fhm, fhsm] = foo (); %! %! out = fhsm (42); @@ -41,7 +41,7 @@ %! assert (numel (tmp), 1); %! assert (tmp{1}, 42); -%!test <51709> +%!test <*51709> %! fhm = @obj.meth; %! %! obj = bug51709_c (); @@ -53,7 +53,7 @@ %! assert (isobject (tmp{1})); %! assert (tmp{2}, 42); -%!test <51709> +%!test <*51709> %! fhsm = @obj.smeth; %! %! obj = bug51709_c ();
--- a/test/fcn-handle/package-function.tst Mon Mar 25 18:28:24 2019 +0000 +++ b/test/fcn-handle/package-function.tst Mon Mar 25 19:20:09 2019 +0000 @@ -16,14 +16,14 @@ ## along with Octave; see the file COPYING. If not, see ## <https://www.gnu.org/licenses/>. -%!test <46659> +%!test <*46659> %! fh = @pkga.pkgb.f2; %! assert (fh (), "pkg f2"); -%!test <55975> +%!test <*55975> %! fh = @pkga.pkgb.f1; %! assert (fh (), "pkg f1"); ## Also test without function handle. -%!assert <55975> (pkga.pkgb.f1 (), "pkg f1"); +%!assert <*55975> (pkga.pkgb.f1 (), "pkg f1"); %!assert (pkga.pkgb.f2 (), "pkg f2");
--- a/test/fcn-handle/static-method.tst Mon Mar 25 18:28:24 2019 +0000 +++ b/test/fcn-handle/static-method.tst Mon Mar 25 19:20:09 2019 +0000 @@ -16,14 +16,14 @@ ## along with Octave; see the file COPYING. If not, see ## <https://www.gnu.org/licenses/>. -%!test <51709> +%!test <*51709> %! fh = @pkga.pkgb.bug51709_a.smeth; %! assert (fh (), "pkg bug51709_a"); -%!test <55975> +%!test <*55975> %! fh = @pkga.pkgb.bug51709_b.smeth; %! assert (fh (), "pkg bug51709_b"); ## Also test without function handle. -%!assert <55975> (pkga.pkgb.bug51709_a.smeth (), "pkg bug51709_a"); +%!assert <*55975> (pkga.pkgb.bug51709_a.smeth (), "pkg bug51709_a"); %!assert (pkga.pkgb.bug51709_b.smeth (), "pkg bug51709_b");