diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-17 13:16:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-17 13:16:57 +0100 |
| commit | 08f6741d7b0115787309c9ee4800ecbe317c3c07 (patch) | |
| tree | 9663fa697c71f5935b66acbb504edc2e48a64c11 /test/unittest_about.cxx | |
| parent | 07041ea06e5516c6dc1b1421bfdb1f58678c56fd (diff) | |
Make unittest conform to CMP (#597)
Update unittest README
Diffstat (limited to 'test/unittest_about.cxx')
| -rw-r--r-- | test/unittest_about.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unittest_about.cxx b/test/unittest_about.cxx index 4555643e4..5a6b6e4ea 100644 --- a/test/unittest_about.cxx +++ b/test/unittest_about.cxx @@ -21,12 +21,12 @@ // //------- Introduction to FLTK drawing test ------- // -class About : public Fl_Help_View { +class Ut_About_View : public Fl_Help_View { public: static Fl_Widget *create() { - return new About(TESTAREA_X, TESTAREA_Y, TESTAREA_W, TESTAREA_H); + return new Ut_About_View(UT_TESTAREA_X, UT_TESTAREA_Y, UT_TESTAREA_W, UT_TESTAREA_H); } - About(int x, int y, int w, int h) : Fl_Help_View(x, y, w, h) { + Ut_About_View(int x, int y, int w, int h) : Fl_Help_View(x, y, w, h) { value( "<htmL><body><h2>About Unit Testing...</h2>\n" "The Unit Testing application can be used to verify correct graphics rendering " @@ -53,4 +53,4 @@ public: } }; -UnitTest about(kTestAbout, "About...", About::create); +UnitTest about(UT_TEST_ABOUT, "About...", Ut_About_View::create); |
