[libsoup/hsts: 89/101] Rename case-insensitive test to case-insensitive-directives
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/hsts: 89/101] Rename case-insensitive test to case-insensitive-directives
- Date: Thu, 20 Sep 2018 14:26:56 +0000 (UTC)
commit a396db7a1733176578d482172c2e8ea0bdc7b62c
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Aug 30 15:26:18 2018 +0300
Rename case-insensitive test to case-insensitive-directives
tests/hsts-test.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index a54c6137..1e5f65fc 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -86,7 +86,7 @@ server_callback (SoupServer *server, SoupMessage *msg,
soup_message_headers_append (msg->response_headers,
"Strict-Transport-Security",
"max-age=3600; includeDomains; includeDomains");
- } else if (strcmp (path, "/case-insensitive") == 0) {
+ } else if (strcmp (path, "/case-insensitive-directives") == 0) {
soup_message_headers_append (msg->response_headers,
"Strict-Transport-Security",
"MAX-AGE=3600; includesubdomains");
@@ -332,10 +332,10 @@ do_hsts_extra_values_test (void)
}
static void
-do_hsts_case_insensitive_test (void)
+do_hsts_case_insensitive_directives_test (void)
{
SoupSession *session = hsts_session_new (NULL);
- session_get_uri (session, "https://localhost/case-insensitive", SOUP_STATUS_OK);
+ session_get_uri (session, "https://localhost/case-insensitive-directives", SOUP_STATUS_OK);
session_get_uri (session, "http://localhost", SOUP_STATUS_OK);
soup_test_session_abort_unref (session);
}
@@ -419,7 +419,7 @@ main (int argc, char **argv)
g_test_add_func ("/hsts/missing-values", do_hsts_missing_values_test);
g_test_add_func ("/hsts/invalid-values", do_hsts_invalid_values_test);
g_test_add_func ("/hsts/extra-values", do_hsts_extra_values_test);
- g_test_add_func ("/hsts/case-insensitive", do_hsts_case_insensitive_test);
+ g_test_add_func ("/hsts/case-insensitive-directives", do_hsts_case_insensitive_directives_test);
g_test_add_func ("/hsts/optional-quotations", do_hsts_optional_quotations_test);
g_test_add_func ("/hsts/ip-address", do_hsts_ip_address_test);
g_test_add_func ("/hsts/utf8-address", do_hsts_utf8_address_test);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]