From: Matthias Clasen Date: Sat, 17 May 2008 05:52:36 +0000 (+0000) Subject: Bug 528667 – Typos in testing module documentation X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ce40942306c4b54ec4013b6d9ba6c458dab02e15;p=dana%2Fcg-glib.git Bug 528667 – Typos in testing module documentation * glib/gtestutils.c: Fix typos in the documentation. svn path=/trunk/; revision=6899 --- diff --git a/ChangeLog b/ChangeLog index a9d739f0..09cee8c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-17 Matthias Clasen + + Bug 528667 – Typos in testing module documentation + + * glib/gtestutils.c: Fix typos in the documentation. + 2008-05-17 Tor Lillqvist * glib/giowin32.c: Make debugging printout more compact and add diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 13f670dd..783856e0 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -484,8 +484,8 @@ test_run_seed (const gchar *rseed) /** * g_test_rand_int: * - * Get a reproducable random integer number. - * The random numbers generate by the g_test_rand_*() family of functions + * Get a reproducible random integer number. + * The random numbers generated by the g_test_rand_*() family of functions * change with every new test program start, unless the --seed option is * given when starting test programs. * For individual test cases however, the random number generator is @@ -507,7 +507,7 @@ g_test_rand_int (void) * @begin: the minimum value returned by this function * @end: the smallest value not to be returned by this function * - * Get a reproducable random integer number out of a specified range, + * Get a reproducible random integer number out of a specified range, * see g_test_rand_int() for details on test case random numbers. * * Returns: a number with @begin <= number < @end. @@ -524,7 +524,7 @@ g_test_rand_int_range (gint32 begin, /** * g_test_rand_double: * - * Get a reproducable random floating point number, + * Get a reproducible random floating point number, * see g_test_rand_int() for details on test case random numbers. * * Returns: a random number from the seeded random number generator. @@ -542,7 +542,7 @@ g_test_rand_double (void) * @range_start: the minimum value returned by this function * @range_end: the minimum value not returned by this function * - * Get a reproducable random floating pointer number out of a specified range, + * Get a reproducible random floating pointer number out of a specified range, * see g_test_rand_int() for details on test case random numbers. * * Returns: a number with @range_start <= number < @range_end. @@ -874,13 +874,13 @@ g_test_add_vtable (const char *testpath, /** * g_test_add_func: - * @testpath: Slash seperated test case path name for the test. + * @testpath: Slash-separated test case path name for the test. * @test_func: The test function to invoke for this test. * * Create a new test case, similar to g_test_create_case(). However * the test is assumed to use no fixture, and test suites are automatically * created on the fly and added to the root fixture, based on the - * slash seperated portions of @testpath. + * slash-separated portions of @testpath. * * Since: 2.16 */ @@ -896,14 +896,14 @@ g_test_add_func (const char *testpath, /** * g_test_add_data_func: - * @testpath: Slash separated test case path name for the test. + * @testpath: Slash-separated test case path name for the test. * @test_data: Test data argument for the test function. * @test_func: The test function to invoke for this test. * * Create a new test case, similar to g_test_create_case(). However * the test is assumed to use no fixture, and test suites are automatically * created on the fly and added to the root fixture, based on the - * slash seperated portions of @testpath. The @test_data argument + * slash-separated portions of @testpath. The @test_data argument * will be passed as first argument to @test_func. * * Since: 2.16 @@ -1614,7 +1614,7 @@ g_test_trap_fork (guint64 usec_timeout, /** * g_test_trap_has_passed: * - * Check the reuslt of the last g_test_trap_fork() call. + * Check the result of the last g_test_trap_fork() call. * * Returns: %TRUE if the last forked child terminated successfully. * @@ -1629,7 +1629,7 @@ g_test_trap_has_passed (void) /** * g_test_trap_reached_timeout: * - * Check the reuslt of the last g_test_trap_fork() call. + * Check the result of the last g_test_trap_fork() call. * * Returns: %TRUE if the last forked child got killed due to a fork timeout. * @@ -1891,7 +1891,7 @@ g_test_log_msg_free (GTestLogMsg *tmsg) * * Hook up a new test case at @testpath, similar to g_test_add_func(). * A fixture data structure with setup and teardown function may be provided - * though, simmilar to g_test_create_case(). + * though, similar to g_test_create_case(). * g_test_add() is implemented as a macro, so that the fsetup(), ftest() and * fteardown() callbacks can expect a @Fixture pointer as first argument in * a type safe manner.