Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLNA-RUI
gupnp
Commits
13f9991b
Commit
13f9991b
authored
Aug 20, 2013
by
Jens Georg
Browse files
Remove inverted arguments range test
This was actually wrong. We're supposed to return the full document there.
parent
9c750cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/gtest/test-context.c
View file @
13f9991b
...
...
@@ -200,21 +200,6 @@ test_gupnp_context_http_ranged_requests (void)
g_object_unref
(
message
);
/* Try with inverted arguments */
message
=
soup_message_new
(
"GET"
,
uri
);
g_object_ref
(
message
);
soup_message_headers_set_range
(
message
->
request_headers
,
499
,
0
);
soup_session_queue_message
(
session
,
message
,
on_message_finished
,
loop
);
g_main_loop_run
(
loop
);
g_assert_cmpint
(
message
->
status_code
,
==
,
SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
);
g_object_unref
(
message
);
g_free
(
uri
);
g_object_unref
(
context
);
g_main_loop_unref
(
loop
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment