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

@@ -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) $<