1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2009 - DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- JVM NOT MANDATORY -->
10 load("SCI/modules/atoms/macros/atoms_internals/lib");
12 // Load the 1st scenario : See scene1.test.atoms.scilab.org.txt
13 // =============================================================================
15 atomsRepositorySetOfl("http://scene1.test.atoms.scilab.org");
16 atomsGetTOOLBOXES(%T);
18 // -----------------------------------------------------------------------------
20 ref = [ "+" "U" "toolbox_4" "1.0" ;
21 "+" "" "toolbox_2" "1.0" ;
22 "+" "" "toolbox_1" "1.0" ];
24 if or(atomsInstallList("toolbox_4")<>ref) then pause, end
26 // -----------------------------------------------------------------------------
28 ref = [ "+" "U" "toolbox_3" "1.0" ;
29 "+" "" "toolbox_2" "2.0" ;
30 "+" "" "toolbox_1" "1.0" ];
32 if or(atomsInstallList("toolbox_3")<>ref) then pause, end
34 // -----------------------------------------------------------------------------
36 ref = [ "+" "U" "toolbox_6" "1.0" ;
37 "+" "" "toolbox_2" "2.0" ;
38 "+" "" "toolbox_1" "1.0" ];
40 if or(atomsInstallList("toolbox_6")<>ref) then pause, end
44 // Load the 2nd scenario : See scene1.test.atoms.scilab.org.txt
45 // =============================================================================
47 atomsRepositorySetOfl("http://scene2.test.atoms.scilab.org");
48 atomsGetTOOLBOXES(%T);
50 // -----------------------------------------------------------------------------
52 ref = [ "+" "U" "toolbox_4" "1.1" ;
53 "+" "" "toolbox_2" "1.0" ;
54 "+" "" "toolbox_1" "1.0" ];
56 if or(atomsInstallList("toolbox_4")<>ref) then pause, end
58 // -----------------------------------------------------------------------------
60 ref = [ "+" "U" "toolbox_3" "1.0" ;
61 "+" "" "toolbox_2" "2.1" ;
62 "+" "" "toolbox_1" "1.0" ];
64 if or(atomsInstallList("toolbox_3")<>ref) then pause, end
66 // -----------------------------------------------------------------------------
68 ref = [ "+" "U" "toolbox_6" "1.0" ;
69 "+" "" "toolbox_2" "2.1" ;
70 "+" "" "toolbox_1" "1.0" ];
72 if or(atomsInstallList("toolbox_6")<>ref) then pause, end
76 // Restore Original values
77 // =============================================================================
78 atomsRepositorySetOfl("http://atoms.scilab.org");
79 atomsGetTOOLBOXES(%T);