Remove bogus test from HildonControlbar
authorClaudio Saavedra <csaavedra@igalia.com>
Wed, 13 May 2009 19:52:32 +0000 (22:52 +0300)
committerClaudio Saavedra <csaavedra@igalia.com>
Mon, 8 Jun 2009 14:43:31 +0000 (17:43 +0300)
* tests/TEST-CASES.txt: Remove other bogus test.
* tests/check-hildon-controlbar.c: (test_set_value_invalid):
Remove bogus test that was setting/retrieving a valid value.

ChangeLog
tests/TEST-CASES.txt
tests/check-hildon-controlbar.c

index b0a4390..0c049df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * tests/TEST-CASES.txt: Remove other bogus test.
+       * tests/check-hildon-controlbar.c: (test_set_value_invalid):
+       Remove bogus test that was setting/retrieving a valid value.
+
 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
 
        * tests/TEST-CASES.txt: Remove bogus tests.
        Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
        in a scenario)
 
-2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
-
-       * tests/TEST-CASES.txt: Remove other bogus test.
-       * tests/check-hildon-controlbar.c: (test_set_value_invalid):
-       Remove bogus test that was setting/retrieving a valid value.
-
 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
 
        * src/hildon-animation-actor.c,
index 8dd2baf..bef4482 100644 (file)
@@ -1070,7 +1070,6 @@ the list of tests (Section 2). Use the following example as a template:
              d) Set a value of G_MININT in the range [2,1000].
              e) Set a value of 1001 in the range [2,1000].
              f) Set a value of G_MAXINT in the range [2,1000].
-             g) Set a value of G_MAXINT in the range [2,G_MAXINT].
 
    - hildon_controlbar_set_max: [TODO] 
    - hildon_controlbar_get_max: [TODO] 
index e0be7f9..96e3b2d 100644 (file)
@@ -377,15 +377,6 @@ START_TEST (test_set_value_invalid)
   fail_if (value != max_value,
            "hildon-controlbar: The returned value is %d and should be %d",
            value, max_value);
-
-  /* Test 7: Set a value of G_MAXINT in the range [2,G_MAXINT] */
-  init_value=G_MAXINT;
-  hildon_controlbar_set_range(controlbar,2,G_MAXINT);
-  hildon_controlbar_set_value(controlbar,init_value);
-  value=hildon_controlbar_get_value(controlbar);
-  fail_if (value != G_MAXINT-1,
-           "hildon-controlbar: The returned value is %d and should be %d",
-           value, G_MAXINT-1);
 }
 END_TEST