[gui] fix bug_13084 test 57/19557/2
Adeline CARNIS [Tue, 28 Nov 2017 15:49:57 +0000 (16:49 +0100)]
Change-Id: I522936a077ce6ec7434c0147992825ac061e3274

scilab/modules/gui/tests/nonreg_tests/bug_13084.dia.ref
scilab/modules/gui/tests/nonreg_tests/bug_13084.tst

index 50b56a4..42155d8 100644 (file)
 // http://bugzilla.scilab.org/13084
 //
 // <-- Short Description -->
-// ATOMS GUI is not showing any list module.
+// Interp_mode could not be set on all datatips of the same polyline
 x=-5.001:0.1:5;
 y=sin(x)./x;
 plot2d(x,y);
 e=gce();
 e=e.children(1);
 b=%f
- b  =
-  F  
+ b  = 
+  F
 for i=1:10:100
-  d=datatipCreate(e,i);
-  datatipSetInterp(d,b);
-  b=~b;
+    d=datatipCreate(e,i);
+    datatipSetInterp(d,b);
+    b=~b;
 end
 d=e.datatips;
-assert_checkequal(d.interp_mode, ["on" "off" "on" "off" "on" "off" "on" "off" "on" "off"]);
+assert_checkequal(d.interp_mode, ["on" "off" "on" "off" "on" "off" "on" "off" "on" "off"]');
 datatipSetInterp(e,%t);
-assert_checkequal(d.interp_mode, ["on" "on" "on" "on" "on" "on" "on" "on" "on" "on"]);
+assert_checkequal(d.interp_mode, ["on" "on" "on" "on" "on" "on" "on" "on" "on" "on"]');
 datatipSetInterp(e,%f);
-assert_checkequal(d.interp_mode, ["off" "off" "off" "off" "off" "off" "off" "off" "off" "off"]);
+assert_checkequal(d.interp_mode, ["off" "off" "off" "off" "off" "off" "off" "off" "off" "off"]');
index fc63eba..0805b5f 100644 (file)
@@ -29,8 +29,8 @@ for i=1:10:100
 end
 
 d=e.datatips;
-assert_checkequal(d.interp_mode, ["on" "off" "on" "off" "on" "off" "on" "off" "on" "off"]);
+assert_checkequal(d.interp_mode, ["on" "off" "on" "off" "on" "off" "on" "off" "on" "off"]');
 datatipSetInterp(e,%t);
-assert_checkequal(d.interp_mode, ["on" "on" "on" "on" "on" "on" "on" "on" "on" "on"]);
+assert_checkequal(d.interp_mode, ["on" "on" "on" "on" "on" "on" "on" "on" "on" "on"]');
 datatipSetInterp(e,%f);
-assert_checkequal(d.interp_mode, ["off" "off" "off" "off" "off" "off" "off" "off" "off" "off"]);
\ No newline at end of file
+assert_checkequal(d.interp_mode, ["off" "off" "off" "off" "off" "off" "off" "off" "off" "off"]');
\ No newline at end of file