From f87da73fc8e6d24f3c1b4d14ab0ab40fcd7ff81f Mon Sep 17 00:00:00 2001 From: Antoine ELIAS Date: Fri, 1 Mar 2013 09:34:42 +0100 Subject: [PATCH] add missing ref file bug_10415 Change-Id: I044d7e37e3621284479ba035116c37cd8dc68a70 --- .../tests/nonreg_tests/bug_10415.dia.ref | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scilab/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref diff --git a/scilab/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref b/scilab/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref new file mode 100644 index 0000000..15b13a0 --- /dev/null +++ b/scilab/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 10415 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=10415 +// +// <-- Short Description --> +// The removal of an history session line does not remove +// all the children command lines +resethistory(); +// a session line will be added at the front of this history +addhistory("lineA"); +addhistory("lineB"); +addhistory("lineC"); +// we check the removal of current session line remove all history +removelinehistory(0); +h = gethistory(); +assert_checkequal(h, []); -- 1.7.9.5