Add simple font tests for the drawing unit test.
Check that DrawText() results in the expected output. Currently the tests are disabled for non-Windows systems because of the problem with the reference file paths there. See #16261. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,7 +126,8 @@ TEST_DRAWING_OBJECTS = \
|
||||
$(OBJS)\test_drawing_test.o \
|
||||
$(OBJS)\test_drawing_drawing.o \
|
||||
$(OBJS)\test_drawing_plugindriver.o \
|
||||
$(OBJS)\test_drawing_basictest.o
|
||||
$(OBJS)\test_drawing_basictest.o \
|
||||
$(OBJS)\test_drawing_fonttest.o
|
||||
TEST_DRAWINGPLUGIN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
|
||||
$(__THREADSFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ \
|
||||
$(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
|
||||
@@ -774,6 +775,9 @@ $(OBJS)\test_drawing_plugindriver.o: ./drawing/plugindriver.cpp
|
||||
$(OBJS)\test_drawing_basictest.o: ./drawing/basictest.cpp
|
||||
$(CXX) -c -o $@ $(TEST_DRAWING_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\test_drawing_fonttest.o: ./drawing/fonttest.cpp
|
||||
$(CXX) -c -o $@ $(TEST_DRAWING_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\test_drawingplugin_pluginsample.o: ./drawing/pluginsample.cpp
|
||||
$(CXX) -c -o $@ $(TEST_DRAWINGPLUGIN_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
|
Reference in New Issue
Block a user