Fix test after: https://codereview.scilab.org/14574 54/14854/1
Vincent COUVERT [Fri, 11 Jul 2014 10:45:17 +0000 (12:45 +0200)]
Avoid display of axis properties.

test_run("graphics", ["bug_3753" "bug_4640" "bug_4964" "bug_6959"]);

Change-Id: I4ccf7d1e7030fccdc3fe8a57d8a796e442216685

scilab/modules/graphics/tests/nonreg_tests/bug_3753.dia.ref
scilab/modules/graphics/tests/nonreg_tests/bug_3753.tst
scilab/modules/graphics/tests/nonreg_tests/bug_4640.dia.ref
scilab/modules/graphics/tests/nonreg_tests/bug_4640.tst
scilab/modules/graphics/tests/nonreg_tests/bug_4964.dia.ref
scilab/modules/graphics/tests/nonreg_tests/bug_4964.tst
scilab/modules/graphics/tests/nonreg_tests/bug_6959.dia.ref
scilab/modules/graphics/tests/nonreg_tests/bug_6959.tst

index 7cc5195..79776eb 100644 (file)
@@ -15,6 +15,6 @@
 //
 SC=3.2;
 square(-SC,-SC,SC,SC)
-drawaxis(x=[SC,-SC,8],y=-SC,dir='d',tics='r',format_n="%1.1f")
+drawaxis(x=[SC,-SC,8],y=-SC,dir='d',tics='r',format_n="%1.1f");
 axis = gce();
 if (axis.tics_labels <> ["3.2"  "2.4"  "1.6"  "0.8"  "0.0"  "-0.8"  "-1.6"  "-2.4"  "-3.2"]) then bugmes();quit;end
index 1c732bc..e7788a9 100644 (file)
 //
 // <-- Short Description -->
 // Using draw axes in range mode ('r') produces labels are completely unreadable and show strange characters.
-// 
+//
 
 SC=3.2;
 square(-SC,-SC,SC,SC)
-drawaxis(x=[SC,-SC,8],y=-SC,dir='d',tics='r',format_n="%1.1f")
+drawaxis(x=[SC,-SC,8],y=-SC,dir="d",tics="r",format_n="%1.1f");
 
 axis = gce();
 if (axis.tics_labels <> ["3.2"  "2.4"  "1.6"  "0.8"  "0.0"  "-0.8"  "-1.6"  "-2.4"  "-3.2"]) then pause; end
index a391310..79fb188 100644 (file)
@@ -19,7 +19,7 @@ plot2d(0:1,0:1,rect=[0 0 1 1],nax=[1 6 1 6]);
 a = gca();
 p = a.x_ticks.locations;
 v0 = a.x_ticks.labels;
-drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0)
+drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0);
 e=gce();
 v1="$"+v0+"$";
 e.tics_labels=v1'; 
index 2ab5eb0..4633111 100644 (file)
@@ -19,8 +19,8 @@ plot2d(0:1,0:1,rect=[0 0 1 1],nax=[1 6 1 6]);
 a = gca();
 p = a.x_ticks.locations;
 v0 = a.x_ticks.labels;
-drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0)
+drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0);
 e=gce();
 v1="$"+v0+"$";
-e.tics_labels=v1'; 
+e.tics_labels=v1';
 
index 30db771..fcf6bc0 100644 (file)
@@ -14,7 +14,7 @@
 // <-- Short Description -->
 //   set or get 'format_n' property from an axes crash scilab.
 plot2d(1:10,1:10,1,strf="020")
-drawaxis(x=2:7,y=4,dir='u',tics='v')
+drawaxis(x=2:7,y=4,dir='u',tics='v');
 e=gce();
 assert_checkequal(e.format_n, "");
 // Check that the display does not crash
index 7484eb4..b2fe5a3 100644 (file)
@@ -17,7 +17,7 @@
 
 
 plot2d(1:10,1:10,1,strf="020")
-drawaxis(x=2:7,y=4,dir='u',tics='v')
+drawaxis(x=2:7,y=4,dir="u",tics="v");
 e=gce();
 assert_checkequal(e.format_n, "");
 // Check that the display does not crash
index dfd357b..c5cec72 100644 (file)
@@ -17,7 +17,7 @@ plot2d(0:1,0:1,rect=[0 0 1 1],nax=[1 6 1 6])
 a=gca();
 p=a.x_ticks.locations;
 v0=a.x_ticks.labels;
-drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0)
+drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0);
 e=gce();
 v1="$"+v0+"$";
 e.tics_labels=v1'; 
index b394a52..5e087b2 100644 (file)
@@ -20,8 +20,8 @@ plot2d(0:1,0:1,rect=[0 0 1 1],nax=[1 6 1 6])
 a=gca();
 p=a.x_ticks.locations;
 v0=a.x_ticks.labels;
-drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0)
+drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0);
 e=gce();
 v1="$"+v0+"$";
-e.tics_labels=v1'; 
+e.tics_labels=v1';