summaryrefslogtreecommitdiff
path: root/src/transport/Makefile.am
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-07-01 03:13:16 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-07-01 03:13:16 +0000
commit5ab82d972d1b300af56a680950726b810133cd89 (patch)
tree72c2afde82d1003dc22cc24a19951a5d5a87380e /src/transport/Makefile.am
parent0e07f3b3f6df0f56bc5b23820977864828616845 (diff)
Add HTTP transport tests with XHR client emulation
These tests don't pass currently but I ran them against a hacked version of the HTTP server which never calls server_delete_session and they passed.
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r--src/transport/Makefile.am22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index f198b5a6b..8367fb1b1 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -30,13 +30,15 @@ if HAVE_LIBGNURL
HTTP_API_TEST = test_transport_api_http
HTTP_REVERSE_API_TEST = test_transport_api_http_reverse
HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
- HTTP_REL_TEST = test_transport_api_reliability_http
+ HTTP_REL_TEST = test_transport_api_reliability_http \
+ test_transport_api_reliability_http_xhr
HTTP_QUOTA_TEST = test_quota_compliance_http \
test_quota_compliance_http_asymmetric
HTTP_SWITCH = test_transport_address_switch_http
HTTPS_API_TEST = test_transport_api_https
HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
- HTTPS_REL_TEST = test_transport_api_reliability_https
+ HTTPS_REL_TEST = test_transport_api_reliability_https \
+ test_transport_api_reliability_https_xhr
HTTPS_QUOTA_TEST = test_quota_compliance_https \
test_quota_compliance_https_asymmetric
HTTPS_SWITCH = test_transport_address_switch_https
@@ -933,6 +935,14 @@ test_transport_api_reliability_http_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/transport/libgnunettransporttesting.la
+test_transport_api_reliability_http_xhr_SOURCES = \
+ test_transport_api_reliability.c
+test_transport_api_reliability_http_xhr_LDADD = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/hello/libgnunethello.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/transport/libgnunettransporttesting.la
+
test_quota_compliance_http_SOURCES = \
test_quota_compliance.c
test_quota_compliance_http_LDADD = \
@@ -991,6 +1001,14 @@ test_transport_api_reliability_https_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/transport/libgnunettransporttesting.la
+test_transport_api_reliability_https_xhr_SOURCES = \
+ test_transport_api_reliability.c
+test_transport_api_reliability_https_xhr_LDADD = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/hello/libgnunethello.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/transport/libgnunettransporttesting.la
+
test_transport_api_reliability_unix_SOURCES = \
test_transport_api_reliability.c
test_transport_api_reliability_unix_LDADD = \