Fix test after some entries removal in SCI/etc/classpath.xml 03/8803/1
Vincent COUVERT [Fri, 24 Aug 2012 14:36:40 +0000 (16:36 +0200)]
Change-Id: I4f5d6720702d2ee31fe4afcd076e7bb6f7a7b6ee

scilab/modules/xml/tests/unit_tests/xmlXPath.dia.ref
scilab/modules/xml/tests/unit_tests/xmlXPath.tst

index 6ca9985..a6e55d0 100644 (file)
@@ -46,9 +46,9 @@ assert_checktrue(length(jarPath(1).attributes.on)>0); // Should be Console
 // if the order of classpath.xml does not change
 assert_checkequal(grep(jarPath(1).parent.attributes.value,".jar"),1);
 assert_checkequal(jarPath(1).parent.attributes.load,"onUse");
-jarPath=xmlXPath(xmlClasspath, "//classpaths/path[@load!=''onUse'']");
+jarPath=xmlXPath(xmlClasspath, "//classpaths/path[@load=''onUse'']");
 assert_checktrue(length(jarPath(1).attributes.value)>0);
-assert_checkequal(jarPath(1).attributes.load,"startup");
+assert_checkequal(jarPath(1).attributes.load,"onUse");
 assert_checkequal(jarPath(1).parent.name,"classpaths"); // it is the root dir
 xmlDelete(xmlClasspath);
 xmlFile=xmlRead(SCI+"/etc/modules.xml");
index 2fed105..e4670c3 100644 (file)
@@ -56,9 +56,9 @@ assert_checktrue(length(jarPath(1).attributes.on)>0); // Should be Console
 assert_checkequal(grep(jarPath(1).parent.attributes.value,".jar"),1);
 assert_checkequal(jarPath(1).parent.attributes.load,"onUse");
 
-jarPath=xmlXPath(xmlClasspath, "//classpaths/path[@load!=''onUse'']");
+jarPath=xmlXPath(xmlClasspath, "//classpaths/path[@load=''onUse'']");
 assert_checktrue(length(jarPath(1).attributes.value)>0);
-assert_checkequal(jarPath(1).attributes.load,"startup");
+assert_checkequal(jarPath(1).attributes.load,"onUse");
 assert_checkequal(jarPath(1).parent.name,"classpaths"); // it is the root dir