Add a simple unit test for wxHtmlPrintout pagination logic
Verify that the number of pages to be printed is as expected.
This commit is contained in:
@@ -229,6 +229,7 @@ TEST_GUI_OBJECTS = \
|
||||
$(OBJS)\test_gui_rawbmp.obj \
|
||||
$(OBJS)\test_gui_htmlparser.obj \
|
||||
$(OBJS)\test_gui_htmlwindow.obj \
|
||||
$(OBJS)\test_gui_htmprint.obj \
|
||||
$(OBJS)\test_gui_accelentry.obj \
|
||||
$(OBJS)\test_gui_menu.obj \
|
||||
$(OBJS)\test_gui_guifuncs.obj \
|
||||
@@ -1050,6 +1051,9 @@ $(OBJS)\test_gui_htmlparser.obj: .\html\htmlparser.cpp
|
||||
$(OBJS)\test_gui_htmlwindow.obj: .\html\htmlwindow.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\html\htmlwindow.cpp
|
||||
|
||||
$(OBJS)\test_gui_htmprint.obj: .\html\htmprint.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\html\htmprint.cpp
|
||||
|
||||
$(OBJS)\test_gui_accelentry.obj: .\menu\accelentry.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\menu\accelentry.cpp
|
||||
|
||||
|
Reference in New Issue
Block a user