Fix tests after https://codereview.scilab.org/#/c/13965/ (default foreground value... 85/13985/2
Vincent COUVERT [Wed, 12 Mar 2014 08:12:01 +0000 (09:12 +0100)]
To test: test_run("gui", ["checkbox", "edit", "frame", "image", "listbox", "popupmenu", "pushbutton", "radiobutton", "slider", "tab", "table", "text"])

Change-Id: I91f730d8ffdd29cc14f4977a9b37f2d60846a5e2

scilab/modules/gui/tests/unit_tests/uicontrol_generic_test.sci

index 4c28b41..b85c4ad 100644 (file)
@@ -171,7 +171,7 @@ function ierr = uicontrol_generic_test(uicontrol_style)
 
     // --- ForegroundColor ---
     // Default value
-    assert_checkequal(get(h, "foregroundcolor"), [0 0 0]);
+    assert_checkequal(get(h, "foregroundcolor"), [-1 -1 -1]); // Set by Look&Feel
     // Vector of 'integer' values
     set(h, "foregroundcolor", [1 0 1]);
     assert_checkequal(get(h, "foregroundcolor"), [1 0 1]);