diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tree.fl | 6 | ||||
| -rw-r--r-- | test/unittest_core.cxx | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/test/tree.fl b/test/tree.fl index a48be0284..cb2c8803e 100644 --- a/test/tree.fl +++ b/test/tree.fl @@ -392,7 +392,7 @@ tree->clear_changed();} open tooltip {Test tree} xywh {15 22 320 539} box DOWN_BOX color 55 selection_color 15 class Fl_Tree } {} - Fl_Group {} {open selected + Fl_Group {} {open xywh {350 5 681 556} code0 {o->resizable(0);} } { @@ -780,7 +780,7 @@ Fl::visible_focus(onoff);} } } Fl_Group {} { - label {Test Operations} + label {Test Operations} open selected tooltip {These controls only affect the defaults for new items that are created. These test the Fl_Tree_Prefs methods.} xywh {350 435 330 125} box GTK_DOWN_BOX color 47 labelsize 12 } { Fl_Group showitem_box { @@ -847,7 +847,7 @@ tree->redraw();} callback {const char *filename = fl_file_chooser("Select a Preferences style Database", "Preferences(*.prefs)", 0L); if (filename) { tree->clear(); - Fl_Preferences prefs(filename, 0L, 0L); + Fl_Preferences prefs(filename, 0L, 0L, Fl_Preferences::C_LOCALE); tree->load(prefs); tree->redraw(); }} diff --git a/test/unittest_core.cxx b/test/unittest_core.cxx index 6091dd7b4..ad60d172c 100644 --- a/test/unittest_core.cxx +++ b/test/unittest_core.cxx @@ -278,7 +278,7 @@ TEST(fl_filename, relative) { r = fl_filename_relative("../foo.txt", base); EXPECT_STREQ(r.c_str(), "../foo.txt"); return true; - } +} TEST(fl_filename, absolute) { Fl_String base = "/var/tmp/somedir"; @@ -293,6 +293,7 @@ TEST(fl_filename, absolute) { return true; } + bool cb1a_ok = false, cb1b_ok = false, cb1c_ok = false; int cb1_alloc = 0; class MyString : public Fl_String { |
