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:
@@ -74,6 +74,7 @@ TEST_OBJECTS = \
|
||||
$(OBJS)\test_typeinfotest.o \
|
||||
$(OBJS)\test_ipc.o \
|
||||
$(OBJS)\test_socket.o \
|
||||
$(OBJS)\test_webrequest.o \
|
||||
$(OBJS)\test_regextest.o \
|
||||
$(OBJS)\test_wxregextest.o \
|
||||
$(OBJS)\test_scopeguardtest.o \
|
||||
@@ -650,6 +651,9 @@ $(OBJS)\test_ipc.o: ./net/ipc.cpp
|
||||
$(OBJS)\test_socket.o: ./net/socket.cpp
|
||||
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\test_webrequest.o: ./net/webrequest.cpp
|
||||
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\test_regextest.o: ./regex/regextest.cpp
|
||||
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
|
Reference in New Issue
Block a user