[gnome-games] tests: Remove test that doesn't make sense
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] tests: Remove test that doesn't make sense
- Date: Sun, 12 Jul 2009 19:21:42 +0000 (UTC)
commit 6f0bf967e753a074821470e4739d0cfdf34bfbdf
Author: Christian Persch <chpe gnome org>
Date: Sun Jul 12 21:18:01 2009 +0200
tests: Remove test that doesn't make sense
This test doesn't make sense with the new GamesClock API, so remove it.
tests/libgames-support/test-libgames-support.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/tests/libgames-support/test-libgames-support.c b/tests/libgames-support/test-libgames-support.c
index 3b08498..6507e87 100644
--- a/tests/libgames-support/test-libgames-support.c
+++ b/tests/libgames-support/test-libgames-support.c
@@ -44,28 +44,6 @@ START_TEST (test_games_clock_new)
END_TEST
-/* TESTCASE 2: Setting and getting time with games-clock.c */
-START_TEST (test_games_clock_set)
-{
- GtkWidget *clock;
- time_t end;
-
- clock = games_clock_new ();
- fail_if (!GTK_IS_WIDGET (clock),
- "games_clock_new() failed.");
-
- games_clock_set_seconds (GAMES_CLOCK (clock), 10);
- games_clock_add_seconds (GAMES_CLOCK (clock), 10);
- end = games_clock_get_seconds (GAMES_CLOCK (clock));
-
- fail_unless (end == 20,
- "Expected current time to be 20, "
- "but the games-clock returned %d instead", end);
-
-}
-END_TEST
-
-
/* Create test suite for libgames-support */
static Suite *
libgames_support_suite (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]