Mercurial > hg > octave-avbm
annotate test/return.tst @ 16427:8ff9006cedc3
delete unused functions and signal for updating dbstop marker
* main-window.h, main-window.cc
(main_window::handle_update_dbstop_marker_request): Delete.
(main_window::construct): Delete signal connection from
_octave_qt_event_listener::update_dbstop_marker_signal to
main_window::handle_update_dbstop_marker_request.
* octave-qt-event-listener.h, octave-qt-event-listener.cc
(octave_qt_event_listener::update_dbstop_marker): Delete.
(octave_qt_event_listener::update_dbstop_marker_signal):
Delete signal.
* octave-event-listener (octave_event_listener::update_dbstop_marker):
Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Apr 2013 01:50:57 -0400 |
parents | b1283d4c06c2 |
children |
rev | line source |
---|---|
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
14131
diff
changeset
|
1 ## Copyright (C) 2006-2012 John W. Eaton |
7016 | 2 ## |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7 ## the Free Software Foundation; either version 3 of the License, or (at | |
8 ## your option) any later version. | |
9 ## | |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
16 ## along with Octave; see the file COPYING. If not, see | |
17 ## <http://www.gnu.org/licenses/>. | |
18 | |
5590 | 19 %% test/octave.test/return/return-1.m |
20 %!function y = f () | |
21 %! y = 1; | |
14131
c3309e1ec50d
test: Use Octave coding and spacing conventions for fixed test scripts
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
22 %! return; |
5590 | 23 %! y = 2; |
14131
c3309e1ec50d
test: Use Octave coding and spacing conventions for fixed test scripts
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
24 %!endfunction |
c3309e1ec50d
test: Use Octave coding and spacing conventions for fixed test scripts
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
25 %! |
16213
b1283d4c06c2
test: Use Octave coding standards for scripts in test/ directory.
Rik <rik@octave.org>
parents:
16030
diff
changeset
|
26 %!assert (f (), 1) |
5590 | 27 |
28 %% test/octave.test/return/return-2.m | |
29 %!test | |
30 %! return; | |
31 |