All unit_tests now pass for ATOMS:
[scilab.git] / scilab / modules / atoms / tests / unit_tests / atomsIsLoaded.tst
index b4f513f..ea4aaff 100644 (file)
@@ -9,6 +9,7 @@
 // <-- CLI SHELL MODE -->
 
 
+
 load("SCI/modules/atoms/macros/atoms_internals/lib");
 
 // If previous test did not end properly, restore, else backup config file
@@ -23,37 +24,37 @@ atomsSetConfig("Verbose" ,"False");
 atomsRepositorySetOfl(mgetl(SCI+"/modules/atoms/tests/unit_tests/repositories.orig"));
 
 // Install toolbox N°2
-atomsInstall(["toolbox_2","2.1"],"user");
+atomsInstall(["toolbox_2V6","2.1"],"user");
 
 // Check installation
-if ~ atomsIsInstalled(["toolbox_1","2.0","user"]) then pause, end
-if ~ atomsIsInstalled(["toolbox_2","2.1","user"]) then pause, end
+if ~ atomsIsInstalled(["toolbox_1V6","2.0","user"]) then pause, end
+if ~ atomsIsInstalled(["toolbox_2V6","2.1","user"]) then pause, end
 
-atomsLoad(["toolbox_2","2.1","user"]);
+atomsLoad(["toolbox_2V6","2.1","user"]);
 
-if ~ atomsIsLoaded("toolbox_2")                  then pause, end
-if ~ atomsIsLoaded(["toolbox_2","2.1"])          then pause, end
-if ~ atomsIsLoaded(["toolbox_2","2.1","user"])   then pause, end
+if ~ atomsIsLoaded("toolbox_2V6")                  then pause, end
+if ~ atomsIsLoaded(["toolbox_2V6","2.1"])          then pause, end
+if ~ atomsIsLoaded(["toolbox_2V6","2.1","user"])   then pause, end
 
-if ~ atomsIsLoaded("toolbox_1")                  then pause, end
-if ~ atomsIsLoaded(["toolbox_1","2.0"])          then pause, end
-if ~ atomsIsLoaded(["toolbox_1","2.0","user"])   then pause, end
+if ~ atomsIsLoaded("toolbox_1V6")                  then pause, end
+if ~ atomsIsLoaded(["toolbox_1V6","2.0"])          then pause, end
+if ~ atomsIsLoaded(["toolbox_1V6","2.0","user"])   then pause, end
 
-if atomsIsLoaded(["toolbox_1","2.0","allusers"]) then pause, end
-if atomsIsLoaded(["toolbox_2","2.1","allusers"]) then pause, end
+if atomsIsLoaded(["toolbox_1V6","2.0","allusers"]) then pause, end
+if atomsIsLoaded(["toolbox_2V6","2.1","allusers"]) then pause, end
 
-A = [ "toolbox_1" "2.0" "user"     ; ..
-"toolbox_2" "2.1" "user"     ; ..
-"toolbox_2" ""    "user"     ; ..
-"toolbox_2" "2.1" ""         ; ..
-"toolbox_2" ""    ""         ; ..
-"toolbox_2" "2.1" "allusers" ];
+A = [ "toolbox_1V6" "2.0" "user"     ; ..
+"toolbox_2V6" "2.1" "user"     ; ..
+"toolbox_2V6" ""    "user"     ; ..
+"toolbox_2V6" "2.1" ""         ; ..
+"toolbox_2V6" ""    ""         ; ..
+"toolbox_2V6" "2.1" "allusers" ];
 
 if or(atomsIsLoaded(A) <> [%T ; %T ; %T ; %T ; %T ; %F]) then pause, end
 
 // Remove toolbox_2
 // =============================================================================
-atomsRemove("toolbox_2","user");
+atomsRemove("toolbox_2V6","user");
 
 // Restore original values
 // =============================================================================