1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2012 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- TEST WITH ATOMS -->
9 // <-- JVM NOT MANDATORY -->
11 // <-- Non-regression test for bug 10933 -->
13 // <-- Bugzilla URL -->
14 // http://bugzilla.scilab.org/show_bug.cgi?id=10933
16 // <-- Short Description -->
17 // atomsGetConfig did not check value of input argument
19 msgerr = msprintf(gettext("%s: Wrong value for input argument #%d.\n"),"atomsGetConfig", 1);
20 assert_checkerror("atomsGetConfig(''blabla'')", msgerr);
22 atomsGetConfig("useProxy");
23 atomsGetConfig("proxyHost");
24 atomsGetConfig("proxyPort");
25 atomsGetConfig("proxyUser");
26 atomsGetConfig("proxyPassword");
27 atomsGetConfig("offline");
28 atomsGetConfig("autoload");
29 atomsGetConfig("autoloadAddAfterInstall");
30 atomsGetConfig("verbose");
31 atomsGetConfig("downloadTool");
32 atomsGetConfig("downloadTimeout");