xset : test about input argument added. Obsolete properties removed.
[scilab.git] / scilab / modules / graphics / tests / unit_tests / xset_xget.dia.ref
index 1070fd0..56db6e2 100644 (file)
@@ -124,3 +124,53 @@ assert_checkequal(xget("wdim"), [1000,500]);
 xset("wdim",[1000,500]) // 500 is ignored here
 wdim=xget("wdim");
 assert_checkequal(wdim(1), 1000);
+ierr = execstr("xset(""colormap"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""mark size"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""mark"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""font size"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""line style"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""font size"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""fpf"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""auto clear"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""dashes"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""hidden3d"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""figure"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""window"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""thickness"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""wdim"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""wpdim"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""wpos"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""viewport"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""background"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""color"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""foreground"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""pattern"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""line mode"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""pixmap"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""wresize"");","errcatch");
+assert_checkequal(ierr, 999);
+ierr = execstr("xset(""default"", ""test"");","errcatch");
+assert_checkequal(ierr, 999);