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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user