You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/gnet/files/gnet-2.0.8-test-existing-do...

33 lines
1000 B

From 1825f69b1a149cd3f2daa5f6c3333a32f0470f0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim.muller@collabora.co.uk>
Date: Sat, 16 Oct 2010 23:10:15 +0100
Subject: tests: update GConnHttp unit test to not use inactive domains
www.gnetlibrary.org has been abandoned.
diff --git a/tests/check/gnet/gnetconnhttp.c b/tests/check/gnet/gnetconnhttp.c
index b1cecce..4316f74 100644
--- a/tests/check/gnet/gnetconnhttp.c
+++ b/tests/check/gnet/gnetconnhttp.c
@@ -487,7 +487,7 @@ GNET_END_TEST;
GNET_START_TEST (test_gnet_http_get)
{
- const gchar *urls[] = {"http://www.gnetlibrary.org/src/",
+ const gchar *urls[] = {"http://www.gnome.org/",
"http://www.heise.de" };
guint i;
@@ -514,7 +514,7 @@ GNET_END_TEST;
GNET_START_TEST (test_get_binary)
{
- gchar *uris[] = { "http://www.gnetlibrary.org/gnet.png" };
+ gchar *uris[] = { "http://www.gnome.org/img/logo/foot-16.png" };
guint i;
for (i = 0; i < G_N_ELEMENTS (uris); ++i) {
--
cgit v0.10.1