X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fatoms%2Ftests%2Funit_tests%2FatomsRepositoryAdd.dia.ref;h=76da92190642940180cae3803b0aab7e57abbbad;hp=273b01e6be431656566a42731480e575ba87f148;hb=0f487026ecb146b2bd4b316bd4cb93ed889748ac;hpb=9a1dedb4c4354ff984a75ba4918b96e3b8b43751 diff --git a/scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.dia.ref b/scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.dia.ref index 273b01e..76da921 100644 --- a/scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.dia.ref +++ b/scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.dia.ref @@ -4,27 +4,34 @@ // // This file is distributed under the same license as the Scilab package. // ============================================================================= -// <-- JVM NOT MANDATORY --> +// <-- ENGLISH IMPOSED --> +// <-- CLI SHELL MODE --> if isempty([ atomsRepositoryList("user") ; atomsRepositoryList("allusers")]) then - - rep1 = "http://scene1.test.atoms.scilab.org"; - rep2 = "http://scene2.test.atoms.scilab.org"; - - if atomsRepositoryAdd(rep1,"user") <> 1 then bugmes();quit;end - if atomsRepositoryAdd(rep2,"allusers") <> 1 then bugmes();quit;end - - if or(atomsRepositoryList("user") <> [rep1,"user"]) then bugmes();quit;end - if or(atomsRepositoryList("allusers") <> [rep2,"allusers"]) then bugmes();quit;end - - if find( atomsRepositoryList("all") == [rep1]) == [] then bugmes();quit;end - if find( atomsRepositoryList("all") == [rep2]) == [] then bugmes();quit;end - - if atomsRepositoryDel(rep1,"user") <> 1 then bugmes();quit;end - if atomsRepositoryDel(rep2,"allusers") <> 1 then bugmes();quit;end - - if atomsRepositoryAdd( [rep1;rep2],"user") <> 2 then bugmes();quit;end - if or(atomsRepositoryList("user") <> [rep1 "user";rep2 "user"]) then bugmes();quit;end - if or(atomsRepositoryList("allusers") <> []) then bugmes();quit;end - if atomsRepositoryDel([rep1;rep2],"user") <> 2 then bugmes();quit;end - + rep1 = "http://scene10.6.0.test.atoms.scilab.org"; + rep2 = "http://scene11.6.0.test.atoms.scilab.org"; + if atomsRepositoryAdd(rep1,"user") <> 1 then bugmes();quit;end + if atomsRepositoryAdd(rep2,"allusers") <> 1 then bugmes();quit;end + if or(atomsRepositoryList("user") <> [rep1,"user"]) then bugmes();quit;end + if or(atomsRepositoryList("allusers") <> [rep2,"allusers"]) then bugmes();quit;end + if find( atomsRepositoryList("all") == [rep1]) == [] then bugmes();quit;end + if find( atomsRepositoryList("all") == [rep2]) == [] then bugmes();quit;end + if atomsRepositoryDel(rep1,"user") <> 1 then bugmes();quit;end + if atomsRepositoryDel(rep2,"allusers") <> 1 then bugmes();quit;end + if atomsRepositoryAdd( [rep1;rep2],"user") <> 2 then bugmes();quit;end + if or(atomsRepositoryList("user") <> [rep1 "user";rep2 "user"]) then bugmes();quit;end + if or(atomsRepositoryList("allusers") <> []) then bugmes();quit;end + if atomsRepositoryDel([rep1;rep2],"user") <> 2 then bugmes();quit;end + if ~isempty([ atomsRepositoryList("user") ; atomsRepositoryList("allusers")]) then bugmes();quit;end end +Scanning repository http://atoms.scilab.org/6.0 ... Done +Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done +Scanning repository http://atoms.scilab.org/6.0 ... Done +Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done +Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done +Scanning repository http://atoms.scilab.org/6.0 ... Done +Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done +Scanning repository http://atoms.scilab.org/6.0 ... Done +Scanning repository http://atoms.scilab.org/6.0 ... Done +Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done +Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done +Scanning repository http://atoms.scilab.org/6.0 ... Done