summaryrefslogtreecommitdiff
path: root/tests/ssl-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-03-15 14:19:45 -0400
committerDan Winship <danw@gnome.org>2014-03-15 20:00:56 -0400
commita1591e15bf2c4a690e79698cdd078f6ed01e48d3 (patch)
treee728a2de0e667473a038ec906af0bf8d67f4c9a3 /tests/ssl-test.c
parent8e2402651807403c6d42ecb75563f480405e8660 (diff)
downloadlibsoup-a1591e15bf2c4a690e79698cdd078f6ed01e48d3.tar.gz
tests: use g_test_bug() to annotate test cases
Diffstat (limited to 'tests/ssl-test.c')
-rw-r--r--tests/ssl-test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ssl-test.c b/tests/ssl-test.c
index b042d120..e6bbb615 100644
--- a/tests/ssl-test.c
+++ b/tests/ssl-test.c
@@ -20,6 +20,8 @@ do_properties_test_for_session (SoupSession *session, const char *uri)
g_assert_cmpuint (flags, ==, G_TLS_CERTIFICATE_UNKNOWN_CA);
} else
soup_test_assert (FALSE, "Response not https");
+
+ g_test_bug ("665182");
g_assert_false (soup_message_get_flags (msg) & SOUP_MESSAGE_CERTIFICATE_TRUSTED);
g_object_unref (msg);
@@ -110,7 +112,11 @@ do_strictness_test (gconstpointer data)
msg = soup_message_new ("GET", uri);
soup_session_send_message (session, msg);
soup_test_assert_message_status (msg, test->expected_status);
+
+ g_test_bug ("690176");
g_assert_true (soup_message_get_https_status (msg, NULL, &flags));
+
+ g_test_bug ("665182");
if (test->with_ca_list && SOUP_STATUS_IS_SUCCESSFUL (msg->status_code))
g_assert_true (soup_message_get_flags (msg) & SOUP_MESSAGE_CERTIFICATE_TRUSTED);
else
@@ -141,6 +147,8 @@ do_session_property_tests (void)
char *ca_file;
SoupSession *session;
+ g_test_bug ("673678");
+
SOUP_TEST_SKIP_IF_NO_TLS;
session = soup_session_async_new ();