move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user.

Leave in the console sample only a barebone console application (i.e. a real example).

Closes #11960

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2010-06-21 21:03:47 +00:00
parent 10dee2ae3f
commit 81ec0e15af
13 changed files with 985 additions and 876 deletions

View File

@@ -63,6 +63,8 @@ TEST_OBJECTS = \
$(OBJS)\test_formatconvertertest.obj \
$(OBJS)\test_fswatchertest.obj \
$(OBJS)\test_hashes.obj \
$(OBJS)\test_output.obj \
$(OBJS)\test_input.obj \
$(OBJS)\test_intltest.obj \
$(OBJS)\test_lists.obj \
$(OBJS)\test_logtest.obj \
@@ -483,6 +485,12 @@ $(OBJS)\test_fswatchertest.obj: .\fswatcher\fswatchertest.cpp
$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp
$(OBJS)\test_output.obj: .\interactive\output.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\output.cpp
$(OBJS)\test_input.obj: .\interactive\input.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\input.cpp
$(OBJS)\test_intltest.obj: .\intl\intltest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp