Add unit test for wxWebRequest

The environment variable WX_TEST_WEBREQUEST_URL has to
be set to https://httpbin.org or a local instance of it
to be run.
This commit is contained in:
Tobias Taschner
2018-10-24 23:55:27 +02:00
parent 701f697fa4
commit 6db3f5f115
10 changed files with 158 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ TEST_OBJECTS = \
$(OBJS)\test_typeinfotest.obj \
$(OBJS)\test_ipc.obj \
$(OBJS)\test_socket.obj \
$(OBJS)\test_webrequest.obj \
$(OBJS)\test_regextest.obj \
$(OBJS)\test_wxregextest.obj \
$(OBJS)\test_scopeguardtest.obj \
@@ -673,6 +674,9 @@ $(OBJS)\test_ipc.obj: .\net\ipc.cpp
$(OBJS)\test_socket.obj: .\net\socket.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\net\socket.cpp
$(OBJS)\test_webrequest.obj: .\net\webrequest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\net\webrequest.cpp
$(OBJS)\test_regextest.obj: .\regex\regextest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp