fix string test : 59/15559/4
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Fri, 14 Nov 2014 12:55:56 +0000 (13:55 +0100)
committerC├ędric DELAMARRE <cedric.delamarre@scilab-enterprises.com>
Wed, 19 Nov 2014 16:57:32 +0000 (17:57 +0100)
commitbf4e71bbcf6822fb0a61cbd446e839983d982395
tree298b6b882984a5d96346097d300b5797dedc63d4
parent1e29c4d962cf9a448664efbf8e7fb136c483b539
fix string test :

 - string(:)
 - string(1:$)
 - ascii("...") must return positive values
 - change tests on macr2tree in not fixed
 - length(sparse) -> return size(sparse, "*")

Change-Id: I6e4b30f5b4ac98658130d01ee0bd16bc47bb08f6
31 files changed:
scilab/modules/ast/src/cpp/ast/printvisitor.cpp
scilab/modules/ast/src/cpp/types/implicitlist.cpp
scilab/modules/ast/src/cpp/types/tostring_common.cpp
scilab/modules/localization/includes/charEncoding.h
scilab/modules/localization/src/c/charEncoding.c
scilab/modules/string/sci_gateway/cpp/sci_ascii.cpp
scilab/modules/string/sci_gateway/cpp/sci_strindex.cpp
scilab/modules/string/sci_gateway/cpp/sci_string.cpp
scilab/modules/string/tests/nonreg_tests/bug_10641.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_10641.tst
scilab/modules/string/tests/nonreg_tests/bug_1305.tst
scilab/modules/string/tests/nonreg_tests/bug_3410.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_3410.tst
scilab/modules/string/tests/nonreg_tests/bug_3543.tst
scilab/modules/string/tests/nonreg_tests/bug_4141.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_4141.tst
scilab/modules/string/tests/nonreg_tests/bug_4727.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_4727.tst
scilab/modules/string/tests/nonreg_tests/bug_4728.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_4728.tst
scilab/modules/string/tests/nonreg_tests/bug_7163.tst
scilab/modules/string/tests/nonreg_tests/bug_7205.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_7205.tst
scilab/modules/string/tests/nonreg_tests/bug_7249.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_7249.tst
scilab/modules/string/tests/nonreg_tests/bug_7282.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_7282.tst
scilab/modules/string/tests/nonreg_tests/bug_8528.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_8528.tst
scilab/modules/string/tests/nonreg_tests/bug_9838.dia.ref
scilab/modules/string/tests/nonreg_tests/bug_9838.tst