Changeset 24ab58b3 in mainline for uspace/srv/net/netstart/self_test.c


Ignore:
Timestamp:
2010-04-06T11:41:48Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14f1db0
Parents:
4dd8529
Message:

more compact network startup messages (usually one line instead of multiple lines)
pass module name as an argument to nil_message() and friends
deeper cstyle changes (replace forward prototypes with proper extern declarations and static functions, change doxygen comments, stick more closely to the 80-column rule, no argument names in header files, spacing, comments, etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netstart/self_test.c

    r4dd8529 r24ab58b3  
    4949#include "self_test.h"
    5050
    51 /** Test the function, compare the result and remember if the result differs.
    52  *
    53  *  @param[in] name          The test name.
    54  *  @param[in] function_call The function to be called and checked.
    55  *  @param[in] result        The expected result.
     51/** Test the statement, compare the result and evaluate.
     52 *
     53 * @param[in] statement The statement to test.
     54 * @param[in] result    The expected result.
    5655 *
    5756 */
     
    8584INT_MAP_IMPLEMENT(int_map, int);
    8685
     86/** Self-test start function.
     87 *
     88 * Run all self-tests.
     89 *
     90 * @returns EOK on success.
     91 * @returns The first error occurred.
     92 *
     93 */
    8794int self_test(void)
    8895{
Note: See TracChangeset for help on using the changeset viewer.