aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2009-07-16 18:01:46 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2009-07-16 18:01:46 -0600
commit922379f5cf1ad948c3c9628853eb8396e1a4dae6 (patch)
treed79efe2d3670d7bd4baab8a3a6e51707745dafb7 /tests
parent87319b49b48fc54cbca58f830b5e7f61b79e6ff7 (diff)
remove out-of-date test-1.c
Diffstat (limited to 'tests')
-rw-r--r--tests/test-1.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/test-1.c b/tests/test-1.c
deleted file mode 100644
index 3a94c9b..0000000
--- a/tests/test-1.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- c-basic-offset: 4; -*- */
-#define _POSIX_SOURCE
-
-#include <gtk/gtk.h>
-#include <gdk/gdkx.h>
-#include <gdk/gdkkeysyms.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/utsname.h>
-#include <sys/time.h>
-#include <webkit/webkit.h>
-#include <libsoup/soup.h>
-#include <JavaScriptCore/JavaScript.h>
-
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <signal.h>
-
-#include <uzbl.h>
-#include <config.h>
-
-Uzbl uzbl;
-
-static void
-test_URI (void) {
- setup_scanner();
- uzbl.state.uri = g_strdup("http://www.uzbl.org");
- g_assert_cmpstr(expand_template("URI", FALSE), ==, uzbl.state.uri);
- g_free(uzbl.state.uri);
-}
-
-int
-main (int argc, char *argv[]) {
- g_type_init();
- g_test_init(&argc, &argv, NULL);
-
- g_test_add_func("/test-1/URI", test_URI);
-
- return g_test_run();
-}
-
-/* vi: set et ts=4: */